WO2020140215A1 - 色度帧内预测方法和装置、及计算机存储介质 - Google Patents
色度帧内预测方法和装置、及计算机存储介质 Download PDFInfo
- Publication number
- WO2020140215A1 WO2020140215A1 PCT/CN2019/070148 CN2019070148W WO2020140215A1 WO 2020140215 A1 WO2020140215 A1 WO 2020140215A1 CN 2019070148 W CN2019070148 W CN 2019070148W WO 2020140215 A1 WO2020140215 A1 WO 2020140215A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mode
- chroma
- prediction
- decoder
- block
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 238000012545 processing Methods 0.000 claims description 32
- 230000015654 memory Effects 0.000 claims description 30
- 238000005457 optimization Methods 0.000 claims description 25
- 238000004891 communication Methods 0.000 claims description 8
- 230000009466 transformation Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 46
- 241000023320 Luma <angiosperm> Species 0.000 description 13
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 13
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 4
- 238000009795 derivation Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000013589 supplement Substances 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 238000012935 Averaging Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/107—Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
-
- 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/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/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/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/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/643—Hue control means, e.g. flesh tone control
Definitions
- Embodiments of the present application relate to intra prediction technology in the field of video coding, and in particular, to a chroma intra prediction method and device, and a computer storage medium.
- the luminance and chroma are independently divided into blocks for encoding, and one chroma block may correspond to multiple luma blocks.
- the existing Direct Mode (DM) can only reflect the local texture features of the central area of the current chroma block.
- a chroma block corresponds to multiple co-located luma blocks
- using a single DM directly for chroma prediction is Unreasonable, for example, when DM is in direct current (DC) mode or planar Planar mode, the current chroma block can be considered flat and smooth, however, if the corresponding multiple brightness is not flat, then only pass DM chroma intra prediction will greatly reduce the accuracy of intra prediction, thereby reducing the efficiency of codec.
- there are horizontal and vertical directions as the default options in the chroma prediction mode in this case, there are very few chroma blocks that conform to the horizontal and vertical prediction directions, which wastes the position of the alternative and is not conducive to improving the codec. effectiveness.
- Embodiments of the present application provide a chroma intra prediction method, a decoder, and a computer storage medium, which can effectively improve the accuracy of intra prediction, and at the same time improve the coding and decoding efficiency.
- An embodiment of the present application proposes an embodiment of the present application to propose a chroma intra prediction method.
- the method includes:
- a set of chroma prediction modes is obtained according to an optimized candidate mode; wherein the set of chroma prediction modes is used for chroma reconstruction of the current chroma block.
- the decoder includes: an acquisition section,
- the obtaining part is used to obtain the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; and if the DM is a DC DC mode or a planar Planar mode, according to the optimized alternative mode, Acquiring a set of chroma prediction modes; wherein the set of chroma prediction modes is used for chroma reconstruction of the current chroma block.
- An embodiment of the present application provides a decoder.
- the decoder includes a processor, a memory storing executable instructions of the processor, a communication interface, and a connector for connecting the processor, the memory, and the communication interface
- the processor implements the chroma intra prediction method as described above.
- An embodiment of the present application proposes a computer-readable storage medium on which a program is stored and applied to a decoder.
- the program is executed by a processor, the above-described chroma intra prediction method is implemented.
- Embodiments of the present application provide a chroma intra prediction method, a decoder, and a computer storage medium.
- the decoder obtains the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; if the DM is a DC mode Or the planar Planar mode, the chroma prediction mode set is obtained according to the optimized candidate mode; wherein, the chroma prediction mode set is used for chroma reconstruction of the current chroma block.
- the chroma prediction mode can be optimized using the alternative mode
- the collection is constructed, and then the current chroma block is reconstructed according to the chroma prediction mode set, which can solve the problem of low accuracy of chroma intra prediction when the DM is in DC mode or Planar mode, and then can Improve codec efficiency.
- Figure 1 is a schematic diagram of intra prediction
- Figure 2 is a schematic diagram of 67 intra prediction modes
- Figure 3 is a schematic diagram of the intra prediction method
- FIG. 1 Schematic diagram of vertical prediction
- Figure 5 is a schematic diagram of horizontal prediction
- FIG. 6 is a schematic diagram of a set of candidate patterns in a chroma frame
- FIG. 7 is a schematic diagram 1 of a chroma block and a luma block
- FIG. 8 is a schematic diagram 2 of a chroma block and a luma block
- Figure 9 is a schematic diagram of the video encoding process
- Figure 10 is a schematic diagram of the video decoding process
- FIG. 11 is a schematic flowchart of an implementation method of a chroma intra prediction method provided by an embodiment of the present application.
- Figure 12 is a schematic diagram 1 of establishing an optimized alternative mode
- Figure 13 is a schematic diagram 2 of establishing an optimized alternative mode
- Figure 14 is a schematic diagram 3 of establishing an optimized alternative mode
- Figure 15 is a schematic diagram 4 of establishing an optimized alternative mode
- Figure 16 is a schematic diagram 5 of establishing an optimized alternative mode
- FIG. 17 is a schematic diagram 1 of the composition structure of a decoder proposed by an embodiment of the present application.
- FIG. 18 is a second schematic diagram of the structure of the decoder according to an embodiment of the present application.
- the predicted value of the current processing block is constructed using the existing reconstructed image in space or time, and only the difference between the real value and the predicted value is transmitted to achieve the purpose of reducing the amount of transmitted data.
- intra prediction utilizes the spatial correlation within the picture or within the picture area.
- the intra prediction of the current processing block can be performed by pixels in adjacent processing blocks that have already been processed. For example, the previous row and the left column of the current processing block are used to construct the prediction value of the current processing block.
- Figure 1 shows intra prediction The schematic diagram, as shown in FIG. 1, uses pixels of adjacent processing blocks to predict each pixel of the current processing block.
- FIG. 2 is a schematic diagram of 67 kinds of intra prediction modes. As shown in FIG. 2, among the 67 kinds of intra prediction modes, specifically include 65 kinds of prediction directions whose index numbers are 2-66, and also include index numbers. Planar mode with 0 and DC mode with index 1.
- FIG. 3 is a schematic diagram of the intra prediction method. As shown in FIG. 3, when the prediction value of each pixel is constructed with the prediction direction index number 66, the labels are 0-16 The pixels of are the data on the previous line of the current processing block. Each pixel of the current processing block is filled with diagonally upper right pixels.
- the Planar mode is mainly used in areas where the image texture is relatively smooth and has a relatively gradual transition process.
- the prediction method is to use the pixel values of the reconstructed adjacent processing blocks corresponding to the current processing block as reference pixel values. Further linear interpolation and averaging calculation.
- the DC mode is mainly used for areas with flat images, smooth textures, and no too many gradients.
- the specific prediction method is based on the decoded last row reference pixels above the current processing block and the left side of the current processing block.
- the decoded rightmost column references pixels for prediction. It can be seen that in intra prediction, the Planar mode and the DC mode are relatively flat construction prediction block methods.
- the DC mode uses the average value of the reference pixels in the left column of the previous row to fill the entire chroma block.
- the Planar mode uses a gradient Way to fill the chroma block.
- a VER mode with a prediction direction index number of 50 that is, vertical prediction
- a HOR mode with a prediction direction index number of 18 that is, horizontal prediction
- Fig. 4 is a schematic diagram of vertical prediction
- Fig. 5 is a schematic diagram of horizontal prediction.
- the prediction direction is vertical prediction
- the vertical prediction can be performed based on the pixel values of the pixels corresponding to the vertical in the previous line
- the prediction direction For horizontal prediction you can perform horizontal prediction based on the pixel values of the pixels corresponding to the horizontal in the left column.
- the encoding end When performing luma intra-prediction, you can make predictions according to the 0-66 modes in Figure 2 above, and then select the prediction direction that has the smallest difference with the current processing block, that is, the best match, and construct the prediction value.
- the encoding end writes the difference value and the prediction direction into the code stream.
- the decoding end obtains the code stream and analyzes it. After obtaining the prediction direction index number, the luminance prediction value can be calculated and added to the difference signal analyzed by the code stream to obtain the luminance reconstruction value.
- the chroma intra-candidate mode set may include one or more chroma intra prediction modes, for example, linear model prediction (LM, Linear Model Prediction), the left linear model prediction LM_T mode, right The linear model on the side predicts the LM_L mode, DC mode, Planar mode, vertical VER mode, and horizontal HOR mode.
- LM Linear Model Prediction
- FIG. 6 is a schematic diagram of a set of candidate modes in a chroma frame. As shown in FIG. 6, different modes may be included in the set of candidate modes in a chroma frame. In the prior art, a color can be selected among different modes.
- Intra-frame prediction for example, DM can characterize the prediction mode of the corresponding luminance central block, and cross-component calculation model prediction (Cross-component Linear Model Prediction, CCLM) characterizes the use of (a*luminance value +b) to construct a prediction signal.
- a and b are both natural numbers, and when the DM is any one of the DC mode, Planar mode, VER mode, or HOR mode, the mode can be replaced with the angle mode with the prediction direction index number 66.
- FIG. 7 is a schematic diagram 1 of the chroma block and the luminance block
- FIG. 8 is a schematic diagram 2 of the chroma block and the luma block.
- the luma block in FIG. 8 corresponding to the chroma block in FIG. 7 includes five parts that are individually encoded (by different gray levels). Means).
- CR under DM can only reflect the local texture characteristics of chroma blocks, when a chroma block corresponds to multiple co-located luma blocks, it is unreasonable to use a single DM prediction directly.
- the prediction mode is selected as the DC mode or the Planar mode
- the current block needs to be considered to be flat, however, the current luminance block in FIG. 7 may not be flat.
- there are horizontal and vertical directions as the default options in the chroma prediction mode in this case, there are very few chroma blocks that conform to the horizontal and vertical prediction directions, which wastes the position of the alternative and is not conducive to improving the codec. effectiveness.
- the above-mentioned chroma intra prediction method can be applied to the intra prediction part in the video coding hybrid framework.
- VVC is used for illustrative purposes, but not for limitation.
- the above chroma intra prediction method can act simultaneously on the encoding end and the decoding end.
- FIG. 9 is a schematic diagram of a video encoding process. As shown in FIG. 9, video encoding may include multiple specific steps such as intra-frame estimation, intra-frame prediction, and motion compensation. Among them, the chroma intra-frame prediction method proposed in this application may be applied In the intra prediction section; FIG.
- the video decoding may include multiple specific steps such as filtering, intra prediction, and motion compensation.
- the chroma intra prediction method proposed in this application It can be applied to the intra prediction part.
- an embodiment of the present application provides a chroma intra prediction method.
- FIG. 11 is a schematic diagram of an implementation process of a chroma intra prediction method provided by an embodiment of the present application. As shown in FIG. In the embodiment of the application, the above-mentioned method for the decoder to perform chroma intra prediction may include the following steps:
- Step 101 Obtain the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block.
- the decoder may acquire the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block.
- the decoder may first receive the video bit stream, and then obtain the code stream data corresponding to the current encoding block from the received video bit stream.
- the decoder may also obtain the residual data corresponding to the current chroma block from the code stream data.
- the encoder when the encoder performs the luma intra prediction mode selection, the prediction may be performed separately according to multiple modes, for example, according to the 0-66 modes in FIG. 2 above. Prediction, and then select the best matching prediction direction to construct a prediction value.
- the encoder when the encoder performs chroma intra prediction mode selection, it does not predict all of the above 0-66 modes, but only extracts a part of the prediction direction for prediction and selection. Therefore, after acquiring the code stream data, the decoder can further construct a chroma intra-candidate set corresponding to the current chroma block from the code stream data, that is, a chroma prediction mode set corresponding to the previous chroma block.
- the chroma prediction mode set may include at least one chroma intra prediction mode.
- the above chroma prediction mode set may include DM, LM, LM_T, LM_L, DC, Planar, and other directions. Prediction mode and other modes.
- the current chromaticity block may be a square chromaticity block or a rectangular chromaticity block, which is not specifically limited in the embodiment of the present application.
- Step 102 If the DM is in the DC mode or the Planar mode, obtain a set of chroma prediction modes according to the optimized candidate mode; wherein, the chroma prediction mode set is used for chroma reconstruction of the current chroma block.
- the decoder may prepare according to the optimization Select a mode to obtain a set of chroma prediction modes.
- the foregoing chroma prediction mode set may be used to perform intra-chroma prediction on the current chroma block.
- the chroma prediction mode set is used for chroma prediction.
- the decoder can perform chroma prediction on the current chroma block through the chroma prediction mode set, so that Rebuild the chroma corresponding to the current chroma block.
- the decoder may determine whether the DM is in the DC mode or the Planar mode.
- the decoder determines that the DM is the DC mode or the Planar mode
- the above-mentioned encoder can add modes according to the optimized candidate mode, thereby obtaining a set of chroma prediction modes.
- the decoder may first read and analyze the DM, thereby determining whether the DM is the DC mode or the Planar mode .
- DM when the brightness center block is selected as DC mode or Planar mode, the brightness can be considered The block is flat.
- VVC supports separate luminance and chrominance blocks for encoding.
- One chroma block may correspond to multiple luma blocks, so DM can only reflect the local texture characteristics of the central area, that is, there is The possibility that the brightness block is not flat. That is to say, in the case where the DM is in the Planar mode or the DC mode, it is unreasonable to directly use a single DM for prediction, which will result in reduced accuracy.
- Table 1 is the initial state of the intra prediction direction design table.
- Table 1 when the DM is in the DC mode or the Planar mode, the initial state of the prediction direction is the DC mode Or Planar mode;
- Table 2 is the subsequent state of the intra prediction direction design table.
- Table 2 when the corresponding brightness center block is Planar mode or DC mode, if the entire brightness block adopts an intra prediction direction, it means that the current The block is likely to be flat. In order to ensure the efficiency of the flat block, another flat pattern will be filled in. Among them, since DM and CCLM are important coding tools, they need to be prioritized.
- the corresponding chroma block may cover multiple luma block areas, which contain directional texture information, and the directions of these texture information have different probability distributions.
- the mode can be replaced with the angle mode of the prediction direction index number 66.
- the prediction direction index number is The diagonal mode of 34, 66 and 2 and the direction mode near it can accurately predict the chroma block with a greater probability.
- DM can only reflect the local texture characteristics of the chroma block.
- a single DM is used directly to predict the slope corresponding to the index number 66 corresponding to the horizontal, vertical, and prediction directions. It is unreasonable to use diagonal mode as a supplement to construct a set of chroma prediction modes. Therefore, the decoder needs to optimize and construct the set of chroma prediction modes according to the optimized candidate mode.
- the oblique diagonal angle mode with prediction direction index numbers 34, 66, and 2 and the nearby directional modes can accurately predict the chroma block with a greater probability, so these prediction directions can be used
- the mode replaces the original horizontal and vertical prediction direction modes, etc. to further supplement the DM.
- the decoder may further obtain a set of chroma prediction modes for chroma prediction according to the optimized candidate mode.
- the decoder may preset at least one mode as an alternative mode, that is, the above-mentioned decoder is preset with an optimized alternative mode.
- the diagonal direction patterns with the prediction direction index numbers 34, 66, and 2 are more used for prediction in the small blocks of the luminance region corresponding to the current chromaticity. Therefore, the above optimization is prepared
- the mode with the prediction direction index numbers 34, 66, and 2 can be stored in the selected mode.
- the decoder is color matching according to the optimized candidate mode
- the decoder can adjust the mode with the prediction direction index number 2 clockwise and then use it as an optimization Select the mode, for example, adjust to the mode with the prediction direction index number 6.
- the decoder can also adjust the mode with the prediction direction index number 66 counterclockwise by an angle and then use it as an optimization candidate mode, for example, to the mode with the prediction direction index number 61.
- the decoder can also adjust the mode with the prediction direction index number 66 and the mode with the prediction direction index number 2 by an angle at the same time, and then use it as an optimization candidate mode.
- the selected modes may include modes with prediction direction index numbers 32, 64, and 4.
- the decoder acquires the chroma prediction mode set according to the optimized candidate mode, it can first add the mode with the prediction direction index number 32 to the chroma prediction mode set, and then add the prediction direction index numbers 64 and 4.
- One of the modes is added to the set of chroma prediction modes.
- the decoder when establishing the optimized alternative mode, may determine at least one diagonal diagonal angle mode as the optimized alternative mode; it may also determine at least one diagonal diagonal angle mode.
- the derived angle angle mode is determined as an optimized alternative mode, and at least one diagonal angle mode and at least one diagonal angle mode derived angle mode may also be determined as the optimized alternative mode.
- the above-mentioned decoder can first determine the derived angle angle, specifically, the above-mentioned decoder can first determine the index number M corresponding to DM, where M is an integer greater than 0; then the above-mentioned decoder can obtain the transformation parameter N, and finally according to M And N further determine the index number corresponding to the derived angle angle mode, so that the derived angle angle mode can be obtained; wherein, N is an integer greater than 0.
- the decoder when the decoder determines the index number corresponding to the derived angle angle pattern according to M and N, the decoder may perform addition operations on the M and the N, or may perform an addition operation on the M and the N Perform the subtraction operation to finally obtain the index number corresponding to the derived angle angle mode.
- N can take values of 3, 5, or 7, but is not limited to these values.
- the decoder can use the angle direction obtained by 1+5 or 1-5 as the index number corresponding to the angle angle mode. Since the prediction mode is generally not represented by negative numbers, a specific mapping method can be used to map the calculated value to the effective representation range. For example, the specific calculation formula may be (M+62-N)%64+2, and the result is 60.
- one of the modes of the prediction direction index numbers 66 and 2 can be selected as an alternative according to the effective prediction direction range, and the other sequence number is adjusted to correspond Angle as an alternative.
- the method for the decoder to perform chroma intra prediction may further include the following steps:
- Step 103 Perform decoding processing according to the chroma prediction mode set to perform chroma reconstruction on the current chroma block.
- the decoder can perform decoding processing according to the above chroma prediction mode set to perform chroma reconstruction on the current chroma block.
- the decoder may further decode the current chroma block through the chroma prediction mode set, so that the current chroma block can be reconstructed.
- the decoder since the decoder obtains the code stream data corresponding to the current encoding block from the received video bit stream and obtains the DM from the code stream data, the decoder It is also possible to obtain the residual data corresponding to the current chroma block from the above code stream data.
- the decoder after the decoder obtains the chroma prediction mode set according to the optimized candidate mode, and after obtaining the residual data corresponding to the current chroma block from the above-mentioned codestream data, it can be based on the chroma
- the prediction mode set performs chroma intra prediction decoding on the residual data, so that the current chroma block can be reconstructed.
- the decoder obtains the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; if the DM is a DC mode or a planar Planar mode, then Optimize the candidate mode to obtain a set of chroma prediction modes; where the set of chroma prediction modes is used for chroma reconstruction of the current chroma block.
- the chroma prediction mode can be optimized using the alternative mode
- the collection is constructed, and then the current chroma block is reconstructed according to the chroma prediction mode set, which can solve the problem of low accuracy of chroma intra prediction when the DM is in DC mode or Planar mode, and then can Improve codec efficiency.
- the decoder may consider that the set of chroma prediction modes needs to be obtained according to the optimized candidate mode, thereby improving the accuracy of decoding.
- the method for the decoder to obtain the set of chroma prediction modes according to the optimized candidate mode may specifically include the following steps:
- Step 201 Fill DM and LM into a set of chroma prediction modes.
- Step 202 Fill the chroma prediction mode set according to the optimized candidate mode.
- the decoder may first add DM and LM to the chroma prediction mode set respectively, so that the two modes in the chroma prediction mode set may be determined first. Then, the decoder can continue to fill the chroma prediction mode set according to the optimized candidate mode, and finally obtain the chroma prediction mode set.
- the decoder when the decoder adds DM and LM to the chroma prediction mode set, it specifically adds the prediction direction index number of the mode corresponding to DM and the prediction direction index of the mode corresponding to LM The number is added to the set of prediction modes. For example, if DM is the DC mode and the prediction direction index number of the mode corresponding to LM is 15, then the decoder can first add the prediction direction index numbers 1 and 15 to the chroma prediction mode set, and then follow the optimization alternative Mode fills the set of chroma prediction modes. Specifically, because the DM is in the DC mode, the decoder will add the prediction direction index number 0 of the Planar mode to the chroma prediction mode set during the process of filling the chroma prediction mode set according to the optimized candidate mode.
- the decoder when the decoder fills the chroma prediction mode set according to the optimized candidate mode, it may specifically include the following steps:
- Step 202a When the DM is in the DC mode, the Planar mode and the optimized candidate mode are filled into the chroma prediction mode set.
- the decoder does not need to modify and replace the Planar mode, so the Planar mode and the optimized alternative mode can be filled into the chroma prediction mode set When the number of allocated bits is the same, they can be in no particular order. .
- the decoder when the decoder adds the Planar mode and the optimized alternative mode to the chroma prediction mode set, it specifically adds the prediction direction index number corresponding to the Planar mode and other optimized alternative modes The corresponding prediction direction index number is added to the prediction mode set. For example, if the prediction direction index numbers of other optimization candidate modes are 32 and 61, the decoder may add the prediction direction index numbers 0, 132, and 61 to the chroma prediction mode set, respectively.
- Step 202b When the DM is the Planar mode, fill the DC mode and the optimized candidate mode into the chroma prediction mode set.
- the decoder does not need to modify and replace the DC mode, so the DC mode and the optimized candidate mode can be filled into the chroma prediction mode set When the number of allocated bits is the same, they can be in no particular order.
- the decoder when the decoder adds the DC mode and the optimized alternative mode to the chroma prediction mode set, it specifically adds the prediction direction index number corresponding to the DC mode and other optimized alternative modes The corresponding prediction direction index number is added to the prediction mode set. For example, if the other optimization candidate modes correspond to the prediction direction index numbers 2 and 60, the decoder may add the prediction direction index numbers 1, 2, and 60 to the chroma prediction mode set, respectively.
- the method for the decoder to add the optimized candidate mode to the chroma prediction mode set may include the following steps:
- Step 301 Determine the priority of optimizing at least one of the candidate modes.
- the decoder may first determine the priority of optimizing at least one of the candidate modes.
- the optimization candidate mode may be at least one mode.
- the prediction direction index numbers of the at least one mode are not the same.
- the decoder may determine the priority according to the actual use probability of at least one mode.
- Step 302 Add optimized candidate modes to the chroma prediction mode set in order of priority from high to low.
- the decoder may further add the optimized alternative modes to the chroma prediction mode set in order of priority from high to low in.
- the decoder may first add the optimized candidate mode with the highest priority, and then in the order of priority from high to low, Select the next optimized candidate mode to build a set of chroma prediction modes.
- the decoder when the decoder adds the optimization candidate mode to the chroma prediction mode set, it specifically adds the prediction direction index number corresponding to the optimization candidate mode to the prediction mode set.
- the decoder can construct the set of chroma prediction modes according to the preset optimized candidate mode, the accuracy of prediction can be improved.
- the decoder obtains the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; if the DM is a DC mode or a planar Planar mode, then According to the optimized candidate mode, a set of chroma prediction modes is obtained; wherein, the set of chroma prediction modes is used for chroma reconstruction of the current chroma block.
- the chroma prediction mode can be optimized using the alternative mode
- the collection is constructed, and then the current chroma block is reconstructed according to the chroma prediction mode set, which can solve the problem of low accuracy of chroma intra prediction when the DM is in DC mode or Planar mode, and then can Improve codec efficiency.
- the current chroma block includes a square chroma block and a non-square chroma block.
- the decoder can determine at least one diagonal diagonal angle mode as an optimized alternative mode, or it can determine the derived angle angle mode of at least one diagonal diagonal angle mode as an optimization
- the at least one diagonal diagonal angle mode and the derived angular angle mode of the at least one diagonal diagonal angle mode may also be determined as the optimized alternative mode. .
- the decoder may determine at least one diagonal diagonal mode as an optimized candidate mode. Specifically, if the current chroma block is a square chroma block, that is, the diagonal diagonal angle mode of the current chroma block is a mode with prediction direction index numbers 34, 66, and 2, and the prediction direction index numbers are 34, 66, and 2 The diagonal angle mode is more used for prediction.
- FIG. 12 is a schematic diagram 1 of establishing an optimized alternative mode. As shown in FIG.
- the decoder may first determine a prediction mode with a diagonal angle, that is, a mode with a prediction direction index number of 34 as the optimized alternative mode, and then Any one of the modes of another diagonal diagonal angle direction and prediction direction index numbers 66 and 2 is determined as the above-mentioned optimized candidate mode.
- the decoder may also determine the derived angle angle mode of the at least one diagonal diagonal angle mode as the optimized candidate mode. Specifically, if the current chroma block is a square chroma block, that is, the diagonal diagonal angle mode of the current chroma block is a mode with prediction direction index numbers 34, 66, and 2, except that the diagonal diagonal angle mode is more In addition to prediction, other derivation angles near the diagonal angle mode are also used for prediction.
- FIG. 13 is a second schematic diagram of establishing an optimized alternative mode. As shown in FIG.
- the decoder may first determine a prediction mode with a derivation angle, that is, a mode with a prediction direction index number of 32 as the optimized alternative mode, and then may Any one of the modes whose prediction direction index numbers are 66 and 2 is determined as the above-mentioned optimization candidate mode.
- the decoder may first determine at least one derived angle angle mode. Specifically, the decoder may first determine the index number M corresponding to DM, where M is an integer greater than 0; then the decoder may Obtain the transformation parameter N, and finally determine the index number corresponding to the derived angle angle mode according to M and N, so that the derived angle angle mode can be obtained; where N is an integer greater than 0.
- the decoder when the decoder determines the index number corresponding to the derived angle angle pattern according to M and N, the decoder may perform addition operations on the M and the N, or may perform an addition operation on the M and the N Perform the subtraction operation to finally obtain the index number corresponding to the derived angle angle mode.
- N can take the value of 3, 5 or 7.
- the decoder when the index number M corresponding to DM is 0 (that is, the DM is in the Planar mode), the decoder can use the angle direction obtained by 0+5 or 0-5 as the index number corresponding to the angle angle mode.
- the prediction mode is generally not represented by negative numbers
- a specific mapping method can be used to map the calculated value to the effective representation range.
- the specific calculation formula may be (M+62-N)%64+2, and the result is 60. That is, at this time, the derived angle angle mode can be obtained as the predicted direction angle 5 mode and the predicted direction angle 60 mode.
- FIG. 14 is a schematic diagram 3 for establishing an optimized alternative mode.
- the decoder adjusts the mode with the prediction direction index number 2 to the mode with the prediction direction index number 6.
- the decoder can also adjust the prediction direction index number 66 by an angle counterclockwise and use it as an optimization candidate mode.
- FIG. 15 is a schematic diagram 4 for establishing an optimization candidate mode. As shown in FIG.
- the decoder will predict The mode with direction index number 66 is adjusted to the mode with prediction direction index number 61. Further, the decoder can also simultaneously adjust the mode of the prediction direction index number 66 and the mode of the prediction direction index number 2 by one angle and then use it as an optimization candidate mode.
- FIG. 16 is a schematic diagram 5 of establishing an optimization candidate mode. As shown in FIG. 16, the decoder adjusts the mode whose prediction direction index number is 66 to the mode whose prediction direction index number is B, and adjusts the mode whose prediction direction index number is 2 to the mode whose prediction direction index number is A.
- the diagonal diagonal angle mode and the derivative angular angle mode can be freely combined, for example, if necessary
- the decoder when the decoder constructs the chroma prediction mode set according to the optimized candidate mode, it can add the prediction direction angle mode 6, 61, 66 to the chroma prediction mode set, or it can add the prediction direction angle mode 6, 61 , 34 is added to the chroma prediction mode set, and the prediction direction angle modes 6, 61, and 40 can also be added to the chroma prediction mode set, which is not specifically limited in the embodiments of the present application.
- one of the modes of the prediction direction index numbers 66 and 2 may be selected as an alternative according to its effective prediction direction range, and the other sequence number may be adjusted Angle as an alternative.
- the decoder obtains the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; if the DM is a DC mode or a planar Planar mode, it is prepared according to the optimization Select a mode to obtain a set of chroma prediction modes; where the set of chroma prediction modes is used for chroma reconstruction of the current chroma block.
- the chroma prediction mode can be optimized using the alternative mode
- the collection is constructed, and then the current chroma block is reconstructed according to the chroma prediction mode set, which can solve the problem of low accuracy of chroma intra prediction when the DM is in DC mode or Planar mode, and then can Improve codec efficiency.
- FIG. 17 is a schematic diagram 1 of the composition structure of the decoder proposed by the embodiment of the present application.
- the decoder 1 proposed by the embodiment of the present application may include acquisition Section 11, decoding section 12, establishment section 13, and reception section 14.
- the acquiring section 11 is configured to acquire the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; and if the DM is a DC DC mode or a planar Planar mode, then follow the optimized alternative mode To obtain a chroma prediction mode set; wherein the chroma prediction mode set is used for chroma reconstruction of the current chroma block.
- the obtaining section 11 is further configured to obtain the linear mode LM corresponding to the current chroma block from the code stream data before obtaining the chroma prediction mode set according to the optimized candidate mode .
- the obtaining section 11 is specifically configured to fill the DM and the LM into the chroma prediction mode set; and fill the chroma prediction according to the optimized candidate mode Pattern collection.
- the acquiring section 11 is further specifically configured to fill the Planar mode and the optimized candidate mode to the chroma prediction mode set when the DM is the DC mode Medium; and when the DM is the Planar mode, filling the DC mode and the optimized candidate mode into the chroma prediction mode set.
- the optimization candidate mode includes at least one mode; wherein, the prediction direction index numbers of the at least one mode are different.
- the establishing section 13 is configured to establish the optimized candidate mode before acquiring the chroma prediction mode set according to the optimized candidate mode.
- the establishing section 13 is specifically configured to determine at least one diagonal diagonal angle mode as the optimized candidate mode; or, derive the angle of the at least one diagonal diagonal angle mode
- the mode is determined to be the optimized candidate mode or, the at least one diagonal diagonal angle mode and the derived angular angle mode of the at least one diagonal diagonal angle mode are determined as the optimized candidate mode.
- the acquiring section 11 is further used to determine the index number M corresponding to the DM before establishing the optimization candidate mode; wherein, M is an integer greater than 0; and acquiring transformation Parameter N, and determine the index number corresponding to the derived angle angle mode according to the M and the N to obtain the derived angle angle mode; wherein, N is an integer greater than 0.
- the obtaining section 11 is specifically configured to perform an addition operation on the M and the N to obtain the index number corresponding to the derived angle angle mode; or, on the M and the N performs a subtraction operation to obtain the index number corresponding to the derived angle angle pattern.
- the N includes 3, 5, or 7.
- the current chroma block includes a square chroma block and a non-square chroma block.
- the receiving section 14 is configured to receive a video bitstream to obtain the code stream data before acquiring the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block .
- the decoding part 12 is configured to perform a decoding process according to the chroma prediction mode set after obtaining the chroma prediction mode set according to the optimized candidate mode, to process the current chroma block Perform chroma reconstruction.
- the acquiring section 11 is further used to perform decoding processing according to the chroma prediction mode set to perform chroma reconstruction on the current chroma block from the stream data Acquire residual data corresponding to the current chroma block.
- the decoding section 12 is specifically configured to perform chroma intra prediction decoding on the residual data based on the chroma prediction mode set to perform chroma on the current chroma block Degree reconstruction.
- the acquiring section 11 is further configured to, after receiving the video bitstream to acquire the code stream data, if in the prediction mode corresponding to the current chroma block obtained from the code stream data If the same prediction mode exists, the chroma prediction mode set is obtained according to the optimized candidate mode, so as to perform chroma reconstruction on the current chroma block.
- FIG. 18 is a second schematic diagram of the composition structure of the decoder proposed by the embodiment of the present application.
- the decoder 1 proposed by the embodiment of the present application may further include a processor 15 and a memory 16 storing executable instructions of the processor 15 , A communication interface 17, and a bus 18 for connecting the processor 15, the memory 16, and the communication interface 17.
- the processor 15 may be an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD ), programmable logic device (ProgRAMmable Logic Device, PLD), field programmable gate array (Field ProgRAMmable Gate Array, FPGA), central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor At least one. Understandably, for different devices, there may be other electronic devices for realizing the above-mentioned processor functions, which are not specifically limited in the embodiments of the present application.
- the device 1 may further include a memory 16, which may be connected to the processor 15, wherein the memory 16 is used to store executable program code, and the program code includes computer operation instructions.
- the memory 16 may include a high-speed RAM memory, or may also include Non-volatile memory, for example, at least two disk memories.
- the bus 18 is used to connect the communication interface 17, the processor 15, the memory 16, and the mutual communication between these devices.
- the memory 16 is used to store instructions and data.
- the above processor 15 is configured to acquire the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; if the DM is a DC mode or a plane In the Planar mode, a set of chroma prediction modes is obtained according to the optimized candidate mode; wherein the set of chroma prediction modes is used for chroma reconstruction of the current chroma block.
- the above-mentioned memory 16 may be a volatile first memory (volatile memory), such as a random access first memory (Random-Access Memory, RAM); or a non-volatile first memory (non-volatile memory) ), such as read-only memory (Read-Only Memory, ROM), flash first memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or the above types Of the first memory and provide instructions and data to the processor 15.
- volatile first memory such as a random access first memory (Random-Access Memory, RAM); or a non-volatile first memory (non-volatile memory) ), such as read-only memory (Read-Only Memory, ROM), flash first memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or the above types Of the first memory and provide instructions and data to the processor 15.
- volatile first memory such as a random access first memory
- each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or software function module.
- the integrated unit is implemented as a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of this embodiment is essentially or right Part of the existing technology or all or part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a storage medium and includes several instructions to make a computer device (which can be an individual) A computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the method of this embodiment.
- the foregoing storage media include various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
- program codes such as a USB flash drive, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
- the decoder obtains the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; if the DM is a DC mode or a planar Planar mode, the alternative mode is optimized To obtain a set of chroma prediction modes; where the set of chroma prediction modes is used for chroma reconstruction of the current chroma block.
- the chroma prediction mode can be optimized using the alternative mode
- the collection is constructed, and then the current chroma block is reconstructed according to the chroma prediction mode set, which can solve the problem of low accuracy of chroma intra prediction when the DM is in DC mode or Planar mode, and then can Improve codec efficiency.
- An embodiment of the present application provides a first computer-readable storage medium on which a program is stored, and when the program is executed by a processor, the chroma intra prediction method described above is implemented.
- the program instructions corresponding to a chroma intra prediction method in this embodiment may be stored on a storage medium such as an optical disc, a hard disk, or a USB flash drive.
- a storage medium such as an optical disc, a hard disk, or a USB flash drive.
- the chroma prediction mode set is obtained according to the optimized alternative mode
- the chroma prediction mode set is used for chroma reconstruction of the current chroma block.
- the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
- a computer usable storage media including but not limited to disk storage and optical storage, etc.
- each flow and/or block in the flow diagram and/or block diagram and a combination of the flow and/or block in the flow diagram and/or block diagram can be implemented by computer program instructions.
- These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device A device for realizing the functions specified in one block or multiple blocks of a block diagram or a block diagram of a block diagram.
- These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions
- the device implements the functions specified in the implementation flow diagram one flow or multiple flows and/or the block diagram one block or multiple blocks.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate computer-implemented processing, which is executed on the computer or other programmable device
- the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flow diagram.
- Embodiments of the present application provide a chroma intra prediction method, a decoder, and a computer storage medium.
- the decoder obtains the DM corresponding to the current chroma block from the code stream data corresponding to the current chroma block; if the DM is a DC mode Or the planar Planar mode, the chroma prediction mode set is obtained according to the optimized candidate mode; wherein, the chroma prediction mode set is used for chroma reconstruction of the current chroma block.
- the chroma prediction mode can be optimized using the alternative mode
- the collection is constructed, and then the current chroma block is reconstructed according to the chroma prediction mode set, which can solve the problem of low accuracy of chroma intra prediction when the DM is in DC mode or Planar mode, and then can Improve codec efficiency.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
Claims (29)
- 一种色度帧内预测方法,所述方法包括:从当前色度块对应的码流数据中获取所述当前色度块对应的直接模式DM;若所述DM为直流DC模式或者平面Planar模式,则按照优化备选模式,获取色度预测模式集合;其中,所述色度预测模式集合用于对所述当前色度块进行色度重建。
- 根据权利要求1所述的方法,其中,所述按照优化备选模式,获取色度预测模式集合之前,所述方法还包括:从所述码流数据中获取所述当前色度块对应的线性模式LM。
- 根据权利要求2所述的方法,其中,所述按照优化备选模式,获取色度预测模式集合,包括:将所述DM和所述LM填充至所述色度预测模式集合中;按照所述优化备选模式填充所述色度预测模式集合。
- 根据权利要求3所述的方法,其中,当所述DM为所述DC模式时,所述按照所述优化备选模式填充所述色度预测模式集合,包括:将所述Planar模式和所述优化备选模式填充至所述色度预测模式集合中。
- 根据权利要求3所述的方法,其中,当所述DM为所述Planar模式时,所述按照所述优化备选模式填充所述色度预测模式集合,包括:将所述DC模式和所述优化备选模式填充至所述色度预测模式集合中。
- 根据权利要求1所述的方法,其中,所述优化备选模式包括至少一个模式;其中,所述至少一个模式的预测方向索引号不相同。
- 根据权利要求1所述的方法,其中,所述按照优化备选模式,获取色度预测模式集合之前,所述方法还包括:建立所述优化备选模式。
- 根据权利要求7所述的方法,其中,所述建立所述优化备选模式,包括:将至少一个斜对角角度模式确定为所述优化备选模式;或者,将所述至少一个斜对角角度模式的衍生角角度模式确定为所述优化备选模式;或者,将所述至少一个斜对角角度模式和所述至少一个斜对角角度模式的衍生角角度模式确定为所述优化备选模式。
- 根据权利要求8所述的方法,其中,所述建立所述优化备选模式之前,所述方法还包括:确定所述DM对应的索引号M;其中,所述M为大于0的整数;获取变换参数N,并根据所述M和所述N确定衍生角角度模式对应的索引号,以获得所述衍生角角度模式;其中,所述N为大于0的整数。
- 根据权利要求9所述的方法,其中,所述据所述M和所述N确定衍生角角度模式对应的索引号,包括:对所述M和所述N进行加法运算,获得所述衍生角角度模式对应的索引号;或者,对所述M和所述N进行减法运算,获得所述衍生角角度模式对应的索引号。
- 根据权利要求10所述的方法,其中,所述N包括3、5或者7。
- 根据权利要求1至11所述的任一项方法,其中,所述当前色度块包括正方形色度块和非正方形色度块。
- 根据权利要求1至12所述的任一项方法,其中,所述从当前色度块对应的码流数据中获取所述当前色度块对应的DM之前,所述方法还包括:接收视频比特流以获取所述码流数据。
- 根据权利要求13所述的方法,其中,所述按照优化备选模式,获取色度预测模式集合之后,所述方法还包括:根据所述色度预测模式集合进行解码处理,以对所述当前色度块进行色度重建。
- 根据权利要求14所述的方法,其中,所述根据所述色度预测模式集合进行解码处理,以对所述当前色度块进行色度重建之前,所述方法还包括:从所述码流数据中获取所述当前色度块对应的残差数据。
- 根据权利要求15所述的方法,其中,所述根据所述色度预测模式集合进行解码处理,以对所述当前色度块进行色度重建,包括:基于所述色度预测模式集合,对所述残差数据进行色度帧内预测解码,以对所述当前色度块进行色度重建。
- 根据权利要求13所述的方法,其中,所述接收视频比特流以获取所述码流数据之后,所述方法还包括:若从所述码流数据获得的所述当前色度块对应的预测模式中存在相同的预测模式,则按照所述优化备选模式,获取色度预测模式集合,以对所述当前色度块进行色度重建。
- 一种解码器,其中,所述解码器包括:获取部分,所述获取部分,用于从当前色度块对应的码流数据中获取所述当前色度块对应的DM;以及若所述DM为直流DC模式或者平面Planar模式,则按照优化备选模式,获取色度预测模式集合;其中,所述色度预测模式集合用于对所述当前色度块进行色度重建。
- 根据权利要求18所述的解码器,其中,所述获取部分,还用于按照优化备选模式,获取色度预测模式集合之前,从所述码流数据中获取所述当前色度块对应的线性模式LM。
- 根据权利要求19所述的解码器,其中,所述获取部分,具体用于将所述DM和所述LM填充至所述色度预测模式集合中;以及按照所述优化备选模式填充所述色度预测模式集合;所述获取部分,还具体用于当所述DM为所述DC模式时,将所述Planar模式和所述优化备选模式填充至所述色度预测模式集合中;以及当所述DM为所述Planar模式时,将所述DC模式和所述优化备选模式填充至所述色度预测模式集合中。
- 根据权利要求18所述的解码器,其中,所述优化备选模式包括至少一个模式;其中,所述至少一个模式的预测方向索引号不相同。
- 根据权利要求18所述的解码器,其中,所述解码器还包括:建立部分,所述建立部分,用于按照优化备选模式,获取色度预测模式集合之前,建立所述优化备选模式;所述建立部分,具体用于将至少一个斜对角角度模式确定为所述优化备选模式;或者,将所述至少一个斜对角角度模式的衍生角角度模式确定为所述优化备选模式;或者,将所述至少一个斜对角角度模式和所述至少一个斜对角角度模式的衍生角角度模式确定为所述优化备选模式。。
- 根据权利要求22所述的解码器,其中,所述获取部分,还用于建立所述优化备选模式之前,确定所述DM对应的索引号M;其中,所述M为大于0的整数;以及获取变换参数N,并根据所述M和所述N确定衍生角角度模式对应的索引号,以获得所述衍生角角度模式;其中,所述N为大于0的整数;所述获取部分,具体用于对所述M和所述N进行加法运算,获得所述衍生角角度 模式对应的索引号;或者,对所述M和所述N进行减法运算,获得所述衍生角角度模式对应的索引号。
- 根据权利要求23所述的解码器,其中,所述N包括3、5或者7。
- 根据权利要求18至24所述的解码器,其中,所述当前色度块包括正方形色度块和非正方形色度块。
- 根据权利要求18至25所述的解码器,其中,所述解码器还包括:接收部分和解码部分,所述接收部分,用于从当前色度块对应的码流数据中获取所述当前色度块对应的DM之前,接收视频比特流以获取所述码流数据;所述解码部分,用于按照优化备选模式,获取色度预测模式集合之后,根据所述色度预测模式集合进行解码处理,以对所述当前色度块进行色度重建;所述获取部分,还用于根据所述色度预测模式集合进行解码处理,以对所述当前色度块进行色度重建之前,从所述码流数据中获取所述当前色度块对应的残差数据;所述解码部分,具体用于基于所述色度预测模式集合,对所述残差数据进行色度帧内预测解码,以对所述当前色度块进行色度重建。
- 根据权利要求26所述的解码器,其中,所述获取部分,还用于接收视频比特流以获取所述码流数据之后,若从所述码流数据获得的所述当前色度块对应的预测模式中存在相同的预测模式,则按照所述优化备选模式,获取色度预测模式集合,以对所述当前色度块进行色度重建。
- 一种解码器,其中,所述解码器包括处理器、存储有所述处理器可执行指令的存储器、通信接口,和用于连接所述处理器、所述存储器以及所述通信接口的总线,当所述指令被执行时,所述处理器执行时实现如权利要求1-17任一项所述的方法。
- 一种计算机可读存储介质,其上存储有程序,应用于解码器中,其中,所述程序被处理器执行时实现如权利要求1-17任一项所述的方法。
Priority Applications (14)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021537035A JP7309884B2 (ja) | 2019-01-02 | 2019-01-02 | クロマイントラ予測方法および装置、並びにコンピュータ記憶媒体 |
KR1020217020179A KR20210108389A (ko) | 2019-01-02 | 2019-01-02 | 크로마 인트라 예측 방법, 장치 및 컴퓨터 저장 매체 |
EP19907559.9A EP3883243A4 (en) | 2019-01-02 | 2019-01-02 | METHOD AND DEVICE FOR INTRAFRAME CHROMATICITY PREDICTION AND COMPUTER STORAGE MEDIUM |
AU2019419036A AU2019419036A1 (en) | 2019-01-02 | 2019-01-02 | Intra-frame chromaticity prediction method and device, and computer storage medium |
CN202110646355.8A CN113347416B (zh) | 2019-01-02 | 2019-01-02 | 色度帧内预测方法和装置、及计算机存储介质 |
CN201980062647.8A CN112771861A (zh) | 2019-01-02 | 2019-01-02 | 色度帧内预测方法和装置、及计算机存储介质 |
MX2021008090A MX2021008090A (es) | 2019-01-02 | 2019-01-02 | Metodo y dispositivo de intraprediccion de color y medio de almacenamiento por computadora. |
PCT/CN2019/070148 WO2020140215A1 (zh) | 2019-01-02 | 2019-01-02 | 色度帧内预测方法和装置、及计算机存储介质 |
CN202310393421.4A CN116506608A (zh) | 2019-01-02 | 2019-01-02 | 色度帧内预测方法和装置、及计算机存储介质 |
US17/361,625 US11451792B2 (en) | 2019-01-02 | 2021-06-29 | Chroma intra prediction method and device |
US17/819,175 US11924439B2 (en) | 2019-01-02 | 2022-08-11 | Chroma intra prediction method and device |
JP2023109271A JP2023123784A (ja) | 2019-01-02 | 2023-07-03 | クロマイントラ予測方法および装置、並びにコンピュータ記憶媒体 |
US18/493,217 US20240107030A1 (en) | 2019-01-02 | 2023-10-24 | Chroma intra prediction method and device |
US18/493,496 US20240098274A1 (en) | 2019-01-02 | 2023-10-24 | Chroma intra prediction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/070148 WO2020140215A1 (zh) | 2019-01-02 | 2019-01-02 | 色度帧内预测方法和装置、及计算机存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/361,625 Continuation US11451792B2 (en) | 2019-01-02 | 2021-06-29 | Chroma intra prediction method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020140215A1 true WO2020140215A1 (zh) | 2020-07-09 |
Family
ID=71406528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/070148 WO2020140215A1 (zh) | 2019-01-02 | 2019-01-02 | 色度帧内预测方法和装置、及计算机存储介质 |
Country Status (8)
Country | Link |
---|---|
US (4) | US11451792B2 (zh) |
EP (1) | EP3883243A4 (zh) |
JP (2) | JP7309884B2 (zh) |
KR (1) | KR20210108389A (zh) |
CN (3) | CN116506608A (zh) |
AU (1) | AU2019419036A1 (zh) |
MX (1) | MX2021008090A (zh) |
WO (1) | WO2020140215A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115695786A (zh) * | 2019-01-02 | 2023-02-03 | Oppo广东移动通信有限公司 | 预测方向的确定方法、解码器以及计算机存储介质 |
WO2020192180A1 (zh) * | 2019-03-25 | 2020-10-01 | Oppo广东移动通信有限公司 | 图像分量的预测方法、编码器、解码器及计算机存储介质 |
WO2023132590A1 (ko) * | 2022-01-04 | 2023-07-13 | 엘지전자 주식회사 | 영상 부호화/복호화 방법, 비트스트림을 전송하는 방법 및 비트스트림을 저장한 기록 매체 |
US20230217030A1 (en) * | 2022-01-04 | 2023-07-06 | Alibaba (China) Co., Ltd. | Decoder-side chroma intra prediction mode gradient-based derivation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820546A (zh) * | 2009-02-27 | 2010-09-01 | 源见科技(苏州)有限公司 | 帧内预测方法 |
CN107211121A (zh) * | 2015-01-22 | 2017-09-26 | 联发科技(新加坡)私人有限公司 | 色度分量的视频编码方法 |
CN108540810A (zh) * | 2011-03-06 | 2018-09-14 | Lg 电子株式会社 | 使用亮度采样的色度块的内部预测方法以及使用其的装置 |
WO2018236031A1 (ko) * | 2017-06-21 | 2018-12-27 | 엘지전자(주) | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101503269B1 (ko) | 2010-04-05 | 2015-03-17 | 삼성전자주식회사 | 영상 부호화 단위에 대한 인트라 예측 모드 결정 방법 및 장치, 및 영상 복호화 단위에 대한 인트라 예측 모드 결정 방법 및 장치 |
US10021384B2 (en) | 2010-12-23 | 2018-07-10 | Samsung Electronics Co., Ltd. | Method and device for encoding intra prediction mode for image prediction unit, and method and device for decoding intra prediction mode for image prediction unit |
MX2013013523A (es) | 2011-06-17 | 2014-02-27 | Mediatek Inc | Metodo y aparato para codificacion de modo de intra predicion. |
CN104683805B (zh) | 2013-11-30 | 2019-09-17 | 同济大学 | 图像编码、解码方法及装置 |
WO2017034331A1 (ko) * | 2015-08-27 | 2017-03-02 | 엘지전자 주식회사 | 영상 코딩 시스템에서 크로마 샘플 인트라 예측 방법 및 장치 |
US11039147B2 (en) * | 2016-05-28 | 2021-06-15 | Mediatek Inc. | Method and apparatus of palette mode coding for colour video data |
US10368107B2 (en) | 2016-08-15 | 2019-07-30 | Qualcomm Incorporated | Intra video coding using a decoupled tree structure |
US10326986B2 (en) | 2016-08-15 | 2019-06-18 | Qualcomm Incorporated | Intra video coding using a decoupled tree structure |
WO2018062699A1 (ko) * | 2016-09-30 | 2018-04-05 | 엘지전자 주식회사 | 영상 코딩 시스템에서 영상 디코딩 방법 및 장치 |
CN109845261B (zh) * | 2016-10-07 | 2021-11-09 | 联发科技股份有限公司 | 图像和视频编解码中帧内色度编解码的方法及装置 |
US11025903B2 (en) * | 2017-01-13 | 2021-06-01 | Qualcomm Incorporated | Coding video data using derived chroma mode |
EP3410708A1 (en) * | 2017-05-31 | 2018-12-05 | Thomson Licensing | Method and apparatus for intra prediction with interpolation |
KR20200047563A (ko) * | 2017-09-26 | 2020-05-07 | 삼성전자주식회사 | 크로스-성분 예측에 의한 비디오 복호화 방법 및 장치, 크로스-성분 예측에 의한 비디오 부호화 방법 및 장치 |
US11166045B2 (en) * | 2017-10-11 | 2021-11-02 | Lg Electronics Inc. | Method for image coding on basis of separable transform and apparatus therefor |
US11284108B2 (en) * | 2017-10-24 | 2022-03-22 | Wilus Institute Of Standards And Technology Inc. | Video signal processing method and apparatus |
WO2019112394A1 (ko) * | 2017-12-07 | 2019-06-13 | 한국전자통신연구원 | 채널들 간의 선택적인 정보 공유를 사용하는 부호화 및 복호화를 위한 방법 및 장치 |
US10567801B2 (en) * | 2018-03-07 | 2020-02-18 | Tencent America LLC | Method and apparatus for video coding with primary and secondary transforms |
US10609402B2 (en) * | 2018-05-02 | 2020-03-31 | Tencent America LLC | Method and apparatus for prediction and transform for small blocks |
US10701358B2 (en) * | 2018-07-09 | 2020-06-30 | Tencent America LLC | Mode dependent primary and secondary transforms |
MX2021002093A (es) * | 2018-08-24 | 2021-04-28 | Samsung Electronics Co Ltd | Metodo y aparato de decodificacion de videos y metodo y aparato de codificacion de video. |
US11284093B2 (en) * | 2019-05-09 | 2022-03-22 | Qualcomm Incorporated | Affine linear weighted intra prediction in video coding |
-
2019
- 2019-01-02 JP JP2021537035A patent/JP7309884B2/ja active Active
- 2019-01-02 WO PCT/CN2019/070148 patent/WO2020140215A1/zh unknown
- 2019-01-02 EP EP19907559.9A patent/EP3883243A4/en active Pending
- 2019-01-02 MX MX2021008090A patent/MX2021008090A/es unknown
- 2019-01-02 CN CN202310393421.4A patent/CN116506608A/zh active Pending
- 2019-01-02 CN CN202110646355.8A patent/CN113347416B/zh active Active
- 2019-01-02 AU AU2019419036A patent/AU2019419036A1/en active Pending
- 2019-01-02 CN CN201980062647.8A patent/CN112771861A/zh active Pending
- 2019-01-02 KR KR1020217020179A patent/KR20210108389A/ko unknown
-
2021
- 2021-06-29 US US17/361,625 patent/US11451792B2/en active Active
-
2022
- 2022-08-11 US US17/819,175 patent/US11924439B2/en active Active
-
2023
- 2023-07-03 JP JP2023109271A patent/JP2023123784A/ja active Pending
- 2023-10-24 US US18/493,217 patent/US20240107030A1/en active Pending
- 2023-10-24 US US18/493,496 patent/US20240098274A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820546A (zh) * | 2009-02-27 | 2010-09-01 | 源见科技(苏州)有限公司 | 帧内预测方法 |
CN108540810A (zh) * | 2011-03-06 | 2018-09-14 | Lg 电子株式会社 | 使用亮度采样的色度块的内部预测方法以及使用其的装置 |
CN107211121A (zh) * | 2015-01-22 | 2017-09-26 | 联发科技(新加坡)私人有限公司 | 色度分量的视频编码方法 |
WO2018236031A1 (ko) * | 2017-06-21 | 2018-12-27 | 엘지전자(주) | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3883243A4 * |
Also Published As
Publication number | Publication date |
---|---|
US20240098274A1 (en) | 2024-03-21 |
EP3883243A1 (en) | 2021-09-22 |
JP2022520922A (ja) | 2022-04-04 |
KR20210108389A (ko) | 2021-09-02 |
US11451792B2 (en) | 2022-09-20 |
JP7309884B2 (ja) | 2023-07-18 |
AU2019419036A1 (en) | 2021-07-15 |
EP3883243A4 (en) | 2021-12-01 |
US20240107030A1 (en) | 2024-03-28 |
CN113347416B (zh) | 2023-06-02 |
US20210329259A1 (en) | 2021-10-21 |
US20220394275A1 (en) | 2022-12-08 |
CN116506608A (zh) | 2023-07-28 |
CN112771861A (zh) | 2021-05-07 |
MX2021008090A (es) | 2021-08-11 |
JP2023123784A (ja) | 2023-09-05 |
US11924439B2 (en) | 2024-03-05 |
CN113347416A (zh) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020140215A1 (zh) | 色度帧内预测方法和装置、及计算机存储介质 | |
TWI685244B (zh) | 用於重構的基於投影的幀的適應性環路濾波方法 | |
TWI536811B (zh) | 影像處理方法與系統、解碼方法、編碼器與解碼器 | |
ES2647514T3 (es) | Codificación adaptativa de particiones | |
CN106134191B (zh) | 用于低延迟亮度补偿处理以及基于深度查找表的编码的方法 | |
CN111819854A (zh) | 用于协调多符号位隐藏和残差符号预测的方法和装置 | |
KR102320733B1 (ko) | 디블로킹 필터 방법 및 장치 | |
WO2016054975A1 (zh) | 预测块的划分方法、编码设备和解码设备 | |
BR112021004124A2 (pt) | método de decodificação de vídeo e decodificador de vídeo | |
JP2015080207A (ja) | 拡張予測モードを有する簡易深度符号化の方法と装置 | |
US10542277B2 (en) | Video encoding | |
CN110495178A (zh) | 3d视频编码的装置和方法 | |
US20230063062A1 (en) | Hardware codec accelerators for high-performance video encoding | |
WO2014048242A1 (zh) | 预测图像生成方法和装置 | |
ES2905572T3 (es) | Método y aparato para filtración de imagen con coeficientes multiplicadores adaptativos | |
JP2024054290A (ja) | イントラ予測方法及び装置、コンピュータ可読記憶媒体 | |
BR112020019587A2 (pt) | Dispositivo de processamento de imagem e método para realizar desbloqueio eficiente | |
WO2015196860A1 (zh) | 一种图像处理方法、装置及系统 | |
WO2022077490A1 (zh) | 一种帧内预测方法、编码器、解码器及存储介质 | |
BR112021000569A2 (pt) | Método e dispositivo de interpolação de amostra de referência de intrapredição bidirecional | |
WO2013067942A1 (zh) | 一种帧内预测方法和装置 | |
WO2020140219A1 (zh) | 帧内预测方法、装置及计算机存储介质 | |
RU2776160C1 (ru) | Способ и устройство внутреннего предсказания цветности и компьютерный носитель данных | |
CN104350748A (zh) | 使用低分辨率深度图的视图合成 | |
WO2020000487A1 (zh) | 变换方法、反变换方法及装置 |
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: 19907559 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021537035 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2019907559 Country of ref document: EP Effective date: 20210615 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2019419036 Country of ref document: AU Date of ref document: 20190102 Kind code of ref document: A |