Apparatus and method for video motion compensation
AssigneeHuawei Technologies Co., Ltd.
InventorsSergey Yurievich Ikonin, Maxim Borisovitch Sychev, Victor Alexeevich Stepin
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a video coder for predictive coding a video stream of subsequent frames according to motion compensation into an encoded video bit stream, comprising a frame buffer adapted to store at least one reference frame of the video stream, the reference frame being different from a current frame of the video stream, an inter prediction unit adapted to generate a prediction block of a current block of the current frame from a reference block of the reference frame, and an adaptive sharpening filter configured to adaptively filter the prediction block.
Claims16
A video coder for predictive coding according to motion compensation, the video coder comprising:
- a frame buffer, configured to store at least one reference frame of a video stream, the at least one reference frame being different from a current frame of the video stream;
- and
- computer hardware configured to run a computer program having program code, the program code implementing a plurality of units including a control unit, an inter prediction unit, and an adaptive sharpening filter,
- wherein the inter prediction unit is configured to generate a prediction block of a current block of the current frame from a reference block of the at least one reference frame;
- wherein the adaptive sharpening filter is configured to adaptively filter the prediction block, wherein the adaptive sharpening filter is configured to be controlled by at least one adaptive parameter;
- wherein the control unit is configured to determine a parameter value of the at least one adaptive parameter and supply the determined parameter value to the adaptive sharpening filter;
- wherein the adaptive sharpening filter comprises:
- an edge map calculation unit, configured to generate an edge map of a source block, the source block being the reference block or the prediction block;
- a blurring filter, configured to blur the edge map of the source block;
- a high-pass filter, configured to generate, by high-pass filtering the blurred edge map, a derivative vector for each position of the source block;
- a scaling unit, configured to generate a displacement vector by scaling the derivative vector with a sharpening strength coefficient;
- and
- a warping unit, configured to warp the prediction block based on the displacement vector;
- and
- wherein the at least one adaptive parameter includes the sharpening strength coefficient.
A method for predictive coding according to motion compensation, the method comprising:
- storing, by a video coder, at least one reference frame of a video stream, the at least one reference frame being different from a current frame of the video stream;
- generating, by the video coder, a prediction block of a current block of the current frame from a reference block of the at least one reference frame;
- determining, by the video coder, a parameter value of the at least one adaptive parameter;
- and
- adaptively filtering, by the video coder, the prediction block based on the at least one adaptive parameter, wherein adaptively filtering the prediction block comprises:
- generating an edge map of a source block, the source block being the reference block or the prediction block;
- blurring the edge map of the source block;
- generating, by high-pass filtering the blurred edge map, a derivative vector for each position of the source block;
- generating a displacement vector by scaling the derivative vector with a sharpening strength coefficient;
- and
- warping the prediction block based on the displacement vector;
- and
- wherein the at least one adaptive parameter includes the sharpening strength coefficient.
A video decoder for decoding an encoded video bit stream obtained by predictive coding according to motion compensation, comprising:
- a frame buffer, configured to store at least one reference frame obtained from the encoded video bit stream, the at least one reference frame being different from a current frame of the encoded video bit stream;
- and
- computer hardware configured to run a computer program having program code, the program code implementing a plurality of units including a control unit, an inter prediction unit, and an adaptive sharpening filter,
- wherein the inter prediction unit is configured to generate a prediction block of a current block of the current frame from a reference block of the at least one reference frame;
- wherein the adaptive sharpening filter is configured to adaptively filter the prediction block, wherein the adaptive sharpening filter is configured to be controlled by at least one adaptive parameter;
- wherein the control unit is configured to determine a parameter value of the at least one adaptive parameter and supply the determined parameter value to the adaptive sharpening filter;
- wherein the adaptive sharpening filter comprises:
- an edge map calculation unit, configured to generate an edge map of a source block, the source block being the reference block or the prediction block;
- a blurring filter, configured to blur the edge map of the source block;
- a high-pass filter, configured to generate, by high-pass filtering the blurred edge map, a derivative vector for each position of the source block;
- a scaling unit, configured to generate a displacement vector by scaling the derivative vector with a sharpening strength coefficient;
- and
- a warping unit, configured to warp the prediction block based on the displacement vector;
- and
- wherein the at least one adaptive parameter includes the sharpening strength coefficient.
A method for decoding an encoded video bit stream obtained by predictive coding according to motion compensation, the method comprising:
- storing, by a video decoder, at least one reference frame obtained from the encoded video bit stream, the at least one reference frame being different from a current frame of the encoded video bit stream;
- generating, by the video decoder, a prediction block of a current block of the current frame from a reference block of the reference frame;
- determining, by the video decoder, a parameter value of the at least one adaptive parameter;
- and
- adaptively filtering, by the video decoder, the prediction block based on the at least one adaptive parameter, wherein adaptively filtering the prediction block comprises:
- generating an edge map of a source block, the source block being the reference block or the prediction block;
- blurring the edge map of the source block;
- generating, by high-pass filtering the blurred edge map, a derivative vector for each position of the source block;
- generating a displacement vector by scaling the derivative vector with a sharpening strength coefficient;
- and
- warping the prediction block based on the displacement vector;
- and
- wherein the at least one adaptive parameter includes the sharpening strength coefficient.
Dependencies are inferred from the claim text.