一种基于模板匹配的编解码方法及装置制造方法及图纸

技术编号:21375687 阅读:55 留言:0更新日期:2019-06-15 12:41
一种基于模板匹配的编解码方法及装置,编码方法为,确定待编码单元的预测模式;根据所述预测模式对所述待编码单元进行帧内预测或者帧间预测,获得所述待编码单元的预测残差;当所述预测模式为模板匹配模式时,使用目标变换对所述预测残差进行变换,得到变换系数,所述目标变换的变换基矩阵的第一行系数呈从左向右递增分布,或者,第一列系数呈从上到下递增分布;对所述变换系数进行量化和熵编码,生成码流,由于模板匹配预测残差的能量分布与目标变换的变换基矩阵的特性相似,从而能够很好的去除相关性,提升了变换效果和编码效果。

A Method and Device of Coding and Decoding Based on Template Matching

A coding method and device based on template matching is to determine the prediction mode of the unit to be coded. The prediction residual of the unit to be coded is obtained by intra prediction or inter prediction according to the prediction mode. When the prediction mode is template matching mode, the prediction residual is transformed by target transformation. To transform coefficients, the first row coefficients of the transform base matrix of the target transformation are incremental from left to right, or the first column coefficients are incremental from top to bottom. The transform coefficients are quantized and encoded by entropy to generate code streams. Because the energy distribution of the template matching prediction residuals is similar to that of the transform base matrix of the target transformation, the correlation can be removed very well. Sex improves the effect of transformation and coding.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:林永兵
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1