Method, device and computer system for motion compensation

文档序号:1559841 发布日期:2020-01-21 浏览:15次 中文

阅读说明:本技术 运动补偿的方法、装置和计算机系统 (Method, device and computer system for motion compensation ) 是由 王钊 马思伟 郑萧桢 于 2018-02-14 设计创作,主要内容包括:公开了一种运动补偿的方法、装置和计算机系统。该方法包括:根据当前图像块的运动矢量,确定待处理像素的预测值,其中,所述待处理像素为所述当前图像块的第一边界像素块中的像素;根据当前图像块的相邻图像块的像素的像素信息,确定是否对所述待处理像素的预测值进行重叠块运动补偿,其中,所述第一边界像素块与所述相邻图像块相邻。本发明实施例的技术方案,能够提高运动补偿的性能。(A method, apparatus and computer system for motion compensation are disclosed. The method comprises the following steps: determining a predicted value of a pixel to be processed according to a motion vector of a current image block, wherein the pixel to be processed is a pixel in a first boundary pixel block of the current image block; and determining whether overlapped block motion compensation is carried out on the predicted value of the pixel to be processed according to the pixel information of the pixel of the adjacent image block of the current image block, wherein the first boundary pixel block is adjacent to the adjacent image block. The technical scheme of the embodiment of the invention can improve the performance of motion compensation.)

A method of motion compensation, comprising:

determining a predicted value of a pixel to be processed according to a motion vector of a current image block, wherein the pixel to be processed is a pixel in a first boundary pixel block of the current image block;

and determining whether overlapped block motion compensation is carried out on the predicted value of the pixel to be processed according to the pixel information of the pixel of the adjacent image block of the current image block, wherein the first boundary pixel block is adjacent to the adjacent image block.

The method according to claim 1, wherein said determining whether to perform overlapped block motion compensation on the prediction value of the pixel to be processed according to the pixel information of the pixels of the image blocks adjacent to the current image block comprises:

and determining whether to perform overlapped block motion compensation on a predicted value of the pixel to be processed according to pixel information of the pixel of the adjacent image block and pixel information of a pixel of a second boundary pixel block of the adjacent image block, wherein the pixel of the adjacent image block comprises the pixel of the second boundary pixel block, and the second boundary pixel block is adjacent to the first boundary pixel block.

The method of claim 2, wherein the pixel information comprises at least one of a pixel mean, a pixel gradient, and a pixel distribution.

The method according to claim 2 or 3, wherein the determining whether to perform overlapped block motion compensation on the prediction value of the pixel to be processed according to the pixel information of the pixel of the adjacent image block and the pixel information of the pixel of the second boundary pixel block of the adjacent image block comprises:

if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is larger than a first threshold, overlapped block motion compensation is not performed on the predicted value of the pixel to be processed.

The method according to claim 2 or 3, wherein the determining whether to perform overlapped block motion compensation on the prediction value of the pixel to be processed according to the pixel information of the pixel of the adjacent image block and the pixel information of the pixel of the second boundary pixel block of the adjacent image block comprises:

and if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is not larger than a first threshold value, performing overlapped block motion compensation on the predicted value of the pixel to be processed.

A method of motion compensation, comprising:

determining a weighting coefficient of a to-be-processed pixel predicted value according to pixel information of pixels of adjacent image blocks of a current image block, wherein the to-be-processed pixel is a pixel in a first boundary pixel block of the current image block, and the first boundary pixel block is adjacent to the adjacent image blocks;

and determining the predicted value of the pixel to be processed according to the weighting coefficient.

The method according to claim 6, wherein the determining the predicted value of the pixel to be processed according to the weighting factor comprises:

determining a first predicted value of the pixel to be processed according to the motion vector of the current image block;

determining a second predicted value of the pixel to be processed according to the motion vector of the adjacent image block;

and according to the weighting coefficients, performing weighted summation on the first predicted value and the second predicted value to obtain a predicted value of the pixel to be processed, wherein the predicted value weighting coefficients comprise a first coefficient and a second coefficient, the first coefficient is used for weighting the first predicted value, and the second coefficient is used for weighting the second predicted value.

The method of claim 7, wherein determining the weighting coefficients of the predicted values of the pixels to be processed comprises:

determining the weighting coefficients according to pixel information of pixels of the adjacent image blocks and pixel information of pixels of a second boundary pixel block of the adjacent image blocks, wherein the pixels of the adjacent image blocks comprise pixels of the second boundary pixel block, and the second boundary pixel block is adjacent to the first boundary pixel block.

The method of claim 8, wherein the pixel information comprises at least one of a pixel mean, a pixel gradient, and a pixel distribution.

The method of claim 8 or 9, wherein the determining the weighting coefficients comprises:

and if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is greater than a first threshold, determining that the first coefficient is 1 and the second coefficient is zero.

The method of claim 8 or 9, wherein the determining the weighting coefficients comprises:

and if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is not larger than a first threshold, determining that the first coefficient is a first preset value, and the second coefficient is a second preset value, wherein the first preset value is smaller than 1, and the second preset value is larger than zero.

An apparatus for motion compensation, comprising:

the prediction value determining unit is used for determining a prediction value of a pixel to be processed according to a motion vector of a current image block, wherein the pixel to be processed is a pixel in a first boundary pixel block of the current image block;

and the processing unit is used for determining whether overlapped block motion compensation is carried out on the predicted value of the pixel to be processed according to the pixel information of the pixel of the adjacent image block of the current image block, wherein the first boundary pixel block is adjacent to the adjacent image block.

The apparatus according to claim 12, wherein the processing unit is specifically configured to:

and determining whether to perform overlapped block motion compensation on a predicted value of the pixel to be processed according to pixel information of the pixel of the adjacent image block and pixel information of a pixel of a second boundary pixel block of the adjacent image block, wherein the pixel of the adjacent image block comprises the pixel of the second boundary pixel block, and the second boundary pixel block is adjacent to the first boundary pixel block.

The apparatus of claim 13, wherein the pixel information comprises at least one of a pixel mean, a pixel gradient, and a pixel distribution.

The apparatus according to claim 13 or 14, wherein the processing unit is specifically configured to:

if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is larger than a first threshold, overlapped block motion compensation is not performed on the predicted value of the pixel to be processed.

The apparatus according to claim 13 or 14, wherein the processing unit is specifically configured to:

and if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is not larger than a first threshold value, performing overlapped block motion compensation on the predicted value of the pixel to be processed.

An apparatus for motion compensation, comprising:

the image processing device comprises a weighting coefficient determining unit, a prediction unit and a prediction unit, wherein the weighting coefficient determining unit is used for determining a weighting coefficient of a to-be-processed pixel prediction value according to pixel information of pixels of adjacent image blocks of a current image block, the to-be-processed pixel is a pixel in a first boundary pixel block of the current image block, and the first boundary pixel block is adjacent to the adjacent image block;

and the predicted value determining unit is used for determining the predicted value of the pixel to be processed according to the weighting coefficient.

The apparatus according to claim 17, wherein the prediction value determination unit is specifically configured to:

determining a first predicted value of the pixel to be processed according to the motion vector of the current image block;

determining a second predicted value of the pixel to be processed according to the motion vector of the adjacent image block;

and according to the weighting coefficients, performing weighted summation on the first predicted value and the second predicted value to obtain a predicted value of the pixel to be processed, wherein the predicted value weighting coefficients comprise a first coefficient and a second coefficient, the first coefficient is used for weighting the first predicted value, and the second coefficient is used for weighting the second predicted value.

The apparatus according to claim 18, wherein the weighting factor determining unit is specifically configured to:

determining the weighting coefficients according to pixel information of pixels of the adjacent image blocks and pixel information of pixels of a second boundary pixel block of the adjacent image blocks, wherein the pixels of the adjacent image blocks comprise pixels of the second boundary pixel block, and the second boundary pixel block is adjacent to the first boundary pixel block.

The apparatus of claim 19, wherein the pixel information comprises at least one of a pixel mean, a pixel gradient, and a pixel distribution.

The apparatus according to claim 19 or 20, wherein the weighting factor determining unit is specifically configured to:

and if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is greater than a first threshold, determining that the first coefficient is 1 and the second coefficient is zero.

The apparatus according to claim 19 or 20, wherein the weighting factor determining unit is specifically configured to:

and if the difference between the pixel information of the pixel of the second boundary pixel block and the pixel information of the pixel of the adjacent image block is not larger than a first threshold, determining that the first coefficient is a first preset value, and the second coefficient is a second preset value, wherein the first preset value is smaller than 1, and the second preset value is larger than zero.

A computer system, comprising:

a memory for storing computer executable instructions;

a processor for accessing the memory and executing the computer-executable instructions to perform operations in the method of any of claims 1 to 11.

1页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于数字数据压缩的方法和设备

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类