Chroma intra prediction method and apparatus, and computer storage medium

文档序号:621640 发布日期:2021-05-07 浏览:2次 中文

阅读说明:本技术 色度帧内预测方法和装置、及计算机存储介质 (Chroma intra prediction method and apparatus, and computer storage medium ) 是由 霍俊彦 马彦卓 万帅 杨付正 李新伟 于 2019-01-02 设计创作,主要内容包括:一种色度帧内预测方法、解码器及计算机存储介质,该色度帧内预测方法包括:从当前色度块对应的码流数据中获取当前色度块对应的DM(101);若DM为直流DC模式或者平面Planar模式,则按照优化备选模式,获取色度预测模式集合;其中,色度预测模式集合用于对当前色度块进行色度重建(102)。(A chrominance intra prediction method, a decoder and a computer storage medium, the chrominance intra prediction method comprising: acquiring DM (101) corresponding to the current chroma block from code stream data corresponding to the current chroma block; if the DM is a direct current DC mode or a plane Planar mode, acquiring a chromaticity prediction mode set according to an optimized alternative mode; wherein the set of chroma prediction modes is used for chroma reconstruction (102) of the current chroma block.)

A method of chroma intra prediction, the method comprising:

acquiring a direct mode DM corresponding to a current chrominance block from code stream data corresponding to the current chrominance block;

if the DM is in a direct current DC mode or a plane Planar mode, acquiring a chromaticity prediction mode set according to an optimized alternative mode; wherein the chroma prediction mode set is used for chroma reconstruction of the current chroma block.

The method of claim 1, wherein before obtaining the chroma prediction mode set according to the optimized alternative mode, the method further comprises:

and acquiring a linear mode LM corresponding to the current chrominance block from the code stream data.

The method of claim 2, wherein the obtaining the chroma prediction mode set according to the optimized alternative mode comprises:

populating the DM and the LM into the set of chroma prediction modes;

and filling the chroma prediction mode set according to the optimized alternative mode.

The method of claim 3, wherein the populating the chroma prediction mode set in the optimized alternative mode when the DM is the DC mode comprises:

and filling the Planar mode and the optimized alternative mode into the chroma prediction mode set.

The method of claim 3, wherein the populating the chroma prediction mode set in the optimized alternative mode when the DM is the Planar mode comprises:

filling the DC mode and the optimized alternative mode into the chroma prediction mode set.

The method of claim 1, wherein the optimized alternative modes include at least one mode; wherein the prediction direction index numbers of the at least one mode are not the same.

The method of claim 1, wherein before obtaining the chroma prediction mode set according to the optimized alternative mode, the method further comprises:

and establishing the optimization alternative mode.

The method of claim 7, wherein the establishing the optimization candidate comprises:

determining at least one diagonal angle mode as the optimized alternative mode; alternatively, the first and second electrodes may be,

determining a derivative angular pattern of the at least one diagonal angular pattern as the optimized candidate pattern; alternatively, the first and second electrodes may be,

determining the at least one diagonal angle mode and a derivative angle mode of the at least one diagonal angle mode as the optimized candidate mode.

The method of claim 8, wherein prior to establishing the optimization candidate mode, the method further comprises:

determining an index number M corresponding to the DM; wherein M is an integer greater than 0;

obtaining a transformation parameter N, and determining an index number corresponding to a derived angle mode according to M and N to obtain the derived angle mode; wherein N is an integer greater than 0.

The method of claim 9, wherein said determining an index number corresponding to a derived angular pattern from said M and said N comprises:

performing addition operation on the M and the N to obtain an index number corresponding to the derived angle mode; alternatively, the first and second electrodes may be,

and carrying out subtraction operation on the M and the N to obtain an index number corresponding to the derived angle mode.

The method of claim 10, wherein the N comprises 3, 5, or 7.

The method of any of claims 1-11, wherein the current chroma block comprises a square chroma block and a non-square chroma block.

The method according to any one of claims 1 to 12, wherein before said obtaining the DM corresponding to the current chroma block from the codestream data corresponding to the current chroma block, the method further comprises:

and receiving a video bit stream to obtain the code stream data.

The method of claim 13, wherein after obtaining the set of chroma prediction modes according to the optimized candidate mode, the method further comprises:

and decoding according to the chroma prediction mode set so as to carry out chroma reconstruction on the current chroma block.

The method of claim 14, wherein prior to performing the decoding process according to the set of chroma prediction modes to chroma reconstruct of the current chroma block, the method further comprises:

and acquiring residual data corresponding to the current chroma block from the code stream data.

The method of claim 15, wherein the decoding according to the set of chroma prediction modes to chroma reconstruct the current chroma block comprises:

performing chroma intra prediction decoding on the residual data based on the set of chroma prediction modes to perform chroma reconstruction on the current chroma block.

The method of claim 13, wherein after receiving the video bitstream to obtain the bitstream data, the method further comprises:

and if the same prediction mode exists in the prediction modes corresponding to the current chroma block obtained from the code stream data, acquiring a chroma prediction mode set according to the optimized alternative mode so as to carry out chroma reconstruction on the current chroma block.

A decoder, wherein the decoder comprises: the acquisition section acquires the information on the position of the object,

the acquisition part is used for acquiring DM corresponding to the current chroma block from code stream data corresponding to the current chroma block; if the DM is in a direct current DC mode or a plane Planar mode, acquiring a chromaticity prediction mode set according to an optimized alternative mode; wherein the chroma prediction mode set is used for chroma reconstruction of the current chroma block.

The decoder according to claim 18, wherein,

the obtaining part is further configured to obtain a 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 decoder according to claim 19, wherein,

the acquisition part is specifically configured to fill the DM and the LM into the chroma prediction mode set; filling the chroma prediction mode set according to the optimized alternative mode;

the obtaining part is further specifically configured to, when the DM is in the DC mode, fill the Planar mode and the optimized candidate mode into the chroma prediction mode set; and when the DM is the Planar mode, filling the DC mode and the optimized alternative mode into the chroma prediction mode set.

The decoder of claim 18, wherein the optimized alternative modes include at least one mode; wherein the prediction direction index numbers of the at least one mode are not the same.

The decoder of claim 18, wherein the decoder further comprises: the set-up section is configured to establish,

the establishing part is used for establishing the optimized alternative mode before acquiring the chroma prediction mode set according to the optimized alternative mode;

the establishing part is specifically configured to determine at least one diagonal angle mode as the optimal candidate mode; or, determining a derivative angle mode of the at least one diagonal angle mode as the optimization candidate mode; or, determining the at least one diagonal angle mode and a derivative angle mode of the at least one diagonal angle mode as the optimization candidate mode. .

The decoder according to claim 22, wherein,

the acquisition part is further configured to determine an index number M corresponding to the DM before establishing the optimized alternative mode; wherein M is an integer greater than 0; obtaining a transformation parameter N, and determining an index number corresponding to the derived angle mode according to the M and the N to obtain the derived angle mode; wherein N is an integer greater than 0;

the acquisition part is specifically configured to perform addition operation on the M and the N to obtain an index number corresponding to the derived angle mode; or, performing subtraction on the M and the N to obtain an index number corresponding to the derived angle mode.

The decoder of claim 23, wherein the N comprises 3, 5, or 7.

The decoder of claims 18 to 24, wherein the current chroma block comprises a square chroma block and a non-square chroma block.

The decoder according to claims 18 to 25, wherein the decoder further comprises: a receiving section and a decoding section, and,

the receiving part is used for receiving a video bit stream to obtain the code stream data before the DM corresponding to the current chroma block is obtained from the code stream data corresponding to the current chroma block;

the decoding part is used for carrying out decoding processing according to the chroma prediction mode set after the chroma prediction mode set is obtained according to the optimized alternative mode so as to carry out chroma reconstruction on the current chroma block;

the acquisition part is further configured to perform decoding processing according to the chroma prediction mode set so as to acquire residual data corresponding to the current chroma block from the code stream data before performing chroma reconstruction on the current chroma block;

the decoding unit is specifically configured to perform chroma intra prediction decoding on the residual data based on the chroma prediction mode set, so as to perform chroma reconstruction on the current chroma block.

The decoder according to claim 26, wherein,

the obtaining part is further configured to, after receiving a video bitstream to obtain the code stream data, obtain a chroma prediction mode set according to the optimized alternative mode if the same prediction mode exists in prediction modes corresponding to the current chroma block obtained from the code stream data, so as to perform chroma reconstruction on the current chroma block.

A decoder, wherein the decoder comprises a processor, a memory storing instructions executable by the processor, a communication interface, and a bus connecting the processor, the memory and the communication interface, the instructions when executed by the processor implementing the method of any one of claims 1-17.

A computer readable storage medium having stored thereon a program for use in a decoder, wherein the program when executed by a processor implements the method of any one of claims 1-17.

29页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:通过使用边界处理对图像进行编码/解码的方法和设备以及用于存储比特流的记录介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类