IP Library › Granted Patent US 10,425,656
Granted Patent B2
US 10,425,656 · App. 15/746,932 · Granted Sep 24, 2019

Method of inter-frame prediction for video encoding and decoding

Inventors: Zhenyu Wang (Shenzhen, CN); Ronggang Wang (Shenzhen, CN); Xiubao Jiang (Shenzhen, CN); Wen Gao (Shenzhen, CN)
Assignee: Peking University Shenzhen Graduate School
H04N19/513H04N19/176H04N19/523H04N19/59H04N19/597
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,425,656
App. No.
15/746,932
Granted
Sep 24, 2019
Kind
B2
Abstract

A video encoding and decoding method, and its inter-frame prediction method, device and system thereof are disclosed. The inter-frame prediction method includes obtaining a motion vector of the current image block and related spatial position of a current pixel, obtaining a motion vector of the current pixel according to the motion vector of the current image block and the related spatial position of the current pixel; and obtaining a predicted value of the current pixel according to the motion vector of the current pixel. The method considers both the motion vector of the current image block and the related spatial position information of the current pixel during inter-frame prediction. The method can accommodate lens distortion characteristics of different images and zoom-in/zoom-out produced when the object moves in pictures, thereby improving the calculation accuracy of pixels' motion vectors, and improving inter-frame prediction performance and compression efficiency in video encoding and decoding.

Claims (26)

1. A method of inter-frame prediction for video encoding and decoding, comprising:

obtaining a motion vector of a current image block and related spatial position information of a current pixel;

obtaining a motion vector of the current pixel according to the motion vector of the current image block and the related spatial position information of the current pixel; and

obtaining a predicted value of the current pixel according to the motion vector of the current pixel,

wherein the step of obtaining a predicted value of the current pixel according to the obtained motion vector of the current pixel comprises:

when a reference sample location pointed by the motion vector of the current pixel is not an integer pixel location, calculating a sample value of a reference sample location by using an interpolation method, and

taking the sample value as a prediction value of the current pixel;

when the reference sample location pointed by the motion vector of the current pixel is an integer pixel location, taking the pixel value of the integer pixel location as a sample value of the reference sample location, and

taking the sample value as a prediction value of the current pixel.

2. The method of claim 1 , wherein the related spatial position information of the current pixel comprises a size of the current image, coordinates of the current image block in the current image, a size of the current image block, and coordinates of the current pixel in the current image block.

3. The method of claim 2 , wherein the steps of obtaining a motion vector of the current pixel according to the motion vector of the current image block and the related spatial position information of the current pixel comprises:

obtaining the motion vector of the current pixel through the following functional relationship:

( MV′ x ,MV′ y )= f ( x,y,w,h,i,j,MV x ,MV y ,width,height)

where f is a preset function, (x,y) is coordinate of a pixel at an upper left corner of the current image block in the current image, (i,j) is coordinate of the current pixel in the current image block, w and h are respectively a width and a height of the current image block, the width and the height in the functional relationship are respectively a width and a height of the current image, and (MV x ,MV y ) is the motion vector of the current image block.

4. The method of claim 1 , wherein the interpolation method is an adaptive interpolation method, wherein an interpolation filter adopted by the adaptive interpolation method is determined according to the coordinates of the reference sample location.

5. The method of claim 1 , further comprising:

video encoding, comprising:

dividing a current image into a plurality of image blocks;

obtaining a predicted image block of the current image block using the predicted value of the current pixel;

subtracting the current image block from the predicted image block to obtain a residual block; and

transforming, quantizing, and entropy encoding the residual block to obtain an encoded stream.

6. The method of claim 1 , further comprising:

video decoding, comprising:

entropy decoding, inverse quantizing and inverse transforming an encoded stream to obtain a reconstructed residual block;

obtaining a predicted image block of the current image block by using the predicted value of the current pixel; and

adding the predicted image block to the reconstructed residual block to obtain a reconstructed image block.

Continuity (1)
Related Publication 20190110060A1 · Apr 11, 2019
Cited By (1)
US 12,666,074