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国内申请,...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。