Abstract:
A picture prediction method and a related apparatus are disclosed. The picture prediction method includes: determining motion vector predictors of K pixel samples in a current picture block, where K is an integer greater than 1, the K pixel samples include a first vertex angle pixel sample in the current picture block, a motion vector predictor of the first vertex angle pixel sample is obtained based on a motion vector of a preset first spatially adjacent picture block of the current picture block, and the first spatially adjacent picture block is spatially adjacent to the first vertex angle pixel sample; and performing, based on a non-translational motion model and the motion vector predictors of the K pixel samples, pixel value prediction on the current picture block. Solutions in the embodiments of the present application are helpful in reducing calculation complexity of picture prediction based on a non-translational motion model.
Abstract:
Embodiments of a picture prediction method and a related apparatus are disclosed. A picture prediction method includes: determining K1 pixel samples in a picture block x, and determining a candidate motion information unit set corresponding to each pixel sample in the K1 pixel samples, where the candidate motion information unit set corresponding to each pixel sample includes at least one candidate motion information unit; determining a merged motion information unit set i including K1 motion information units, where each motion information unit in the merged motion information unit set i is selected from at least a part of motion information units in candidate motion information unit sets corresponding to different pixel samples in the K1 pixel samples; and predicting a pixel value of the picture block x by using a non-translational motion model and the merged motion information unit set i.
Abstract:
A reference frame decoding method includes obtaining a first reference frame, where the first reference frame is a first picture frame on which decoding reconstruction has been performed or a first interpolated picture frame obtained by pixel interpolation on the first picture frame, parsing a bitstream to obtain mapping parameters, determining to-be-determined coefficients of a preset mapping function according to the mapping parameters, obtaining, in the first reference frame according to the mapping function whose to-be-determined coefficients have been determined, a first pixel unit having a mapping relationship with a second pixel unit of a second reference frame, and assigning a pixel value of the first pixel unit to the second pixel unit.
Abstract:
A method and device for generating a predicted value of image to generate a predicted value of a current block during image encoding or decoding is disclosed, where the method includes determining a searching scope, wherein a plurality of motion vectors are included in the searching scope, performing up-sampling interpolations on first reference blocks corresponding to the motion vector in the searching scope, in a reference image of the current block using a first filter to obtain up-sampled first reference blocks, obtaining, using the up-sampled first reference blocks, at least one candidate motion vector corresponding to the current block, performing up-sampling interpolations on second reference blocks, corresponding to the at least one candidate motion vector, in the reference image of the current block using a second filter to obtain up-sampled second reference blocks, combining the up-sampled second reference blocks to obtain a predicted value of the current block.
Abstract:
Embodiments of the present invention provide an encoding method, a decoding method, an encoding apparatus, a decoding apparatus, for a video image. The encoding method includes: determining an optimal integrated neighboring block for a current block based on a motion vector integration technology; determining, based a prediction direction of the optimal integrated neighboring block, a motion vector derivation mode that needs to be used by a decoder; correcting a motion vector of the current block based on the motion vector derivation mode; and determining a residual between a predicted value and an original value of the current block based on the corrected motion vector, thereby encoding the current block. According to the technical solutions, a more accurate predicted value is obtained by correcting the motion vector, and a smaller residual is generated.
Abstract:
An encoding method, a decoding method, an encoding apparatus, a decoding apparatus, for a video image. The encoding method includes: determining an optimal integrated candidate block for a current block based on a motion vector integration technology; determining, based a prediction direction of the optimal integrated candidate block, a motion vector derivation mode that needs to be used by a decoder; correcting a motion vector of the current block based on the motion vector derivation mode; and determining a residual between a predicted value and an original value of the current block based on the corrected motion vector, thereby encoding the current block. According to the technical solutions, a more accurate predicted value is obtained by correcting the motion vector, and a smaller residual is generated, thereby improving encoding efficiency, avoiding an increase in data bandwidth, improving decoding quality, and reducing calculation complexity.
Abstract:
A method and device for generating a predicted value of image that are mostly used to generate a predicted value of a current block during image encoding or decoding. The method includes: determining a searching scope, wherein multiple motion vectors are included in the searching scope; performing up-sampling interpolations on first reference blocks, corresponding to the motion vector in the searching scope, in a reference image of the current block by using a first filter to obtain up-sampled first reference blocks; by using the up-sampled first reference blocks, obtaining at least one candidate motion vector corresponding to the current block; performing up-sampling interpolations on second reference blocks, corresponding to the at least one candidate motion vector, in the reference image of the current block by using a second filter to obtain up-sampled second reference blocks; combining the up-sampled second reference blocks to obtain a predicted value of the current block.
Abstract:
A method, an apparatus and a system for a rapid motion search applied in template matching are disclosed. The method includes: selecting motion vectors of blocks related to a current block as candidate motion vectors of the current block; after the uniqueness of a series of the candidate motion vectors of the current block is maintained, calculating the cost function of the candidate motion vectors in a corresponding template area of a reference frame, and obtaining the motion vector of the best matching template from the candidate motion vectors of the current block. In the embodiments of the present invention, there is no need to determine a large search range and no need to determine the corresponding search path template, and it is only necessary to perform a search in a smaller range.
Abstract:
Image encoding and decoding methods and related devices are provided. An image encoding and decoding method includes: for a sub-image block obtained by partitioning an image block, determining at least two position parameters, in which the at least two position parameters include a first position parameter and a second position parameter, the first position parameter identifies whether the sub-image block is a rectangle or not a rectangle, and the second position parameter identifies endpoint information of the sub-image block; determining an encoding sequence of the first position parameter and the second position parameter according to a partition manner of the image block; and encoding the at least two position parameters according to the determined encoding sequence.
Abstract:
Image encoding and decoding methods and related devices are provided. An image encoding and decoding method includes: for a sub-image block obtained by partitioning an image block, determining at least two position parameters, in which the at least two position parameters include a first position parameter and a second position parameter, the first position parameter identifies whether the sub-image block is a rectangle or not a rectangle, and the second position parameter identifies endpoint information of the sub-image block; determining an encoding sequence of the first position parameter and the second position parameter according to a partition manner of the image block; and encoding the at least two position parameters according to the determined encoding sequence.