摘要:
An apparatus, a method and a computer program product for video coding are provided including selecting an encoding method from a set of encoding methods comprising at least a first encoding method and a second encoding method for encoding a block of pixels of an image; selecting at least one control point among the pixels of the block of pixels, wherein the control pixel is selected from any pixel of the block of pixels; and selecting a first reference point different from the control point; determining values of the other pixels of the selected block of pixels on the basis of the value of the control point and the value of the at least one reference point.
摘要:
Two-stage interpolation can be provided for frame prediction samples with quarter-pixel and finer accuracy. All samples of quarter-pixel and finer accuracy can use either half or full/integer-pixels in a bi-linear interpolation to allow for the use of higher accuracy motion vectors, such as one-eighth-pixel accuracy motion vectors. The motion vectors can be restricted in a manner such that they are not allowed to point to every possible sub-pixel sample on a sub-pixel grid, but rather a subset of those sub-pixel samples. In addition, the same full/integer and half-pixel samples that can be used to obtain a quarter-pixel sample can also be used to obtain a one-eighth-pixel sample that the quarter-pixel sample is connected to. Hence, for every quarter-pixel sample, a motion vector could point to two additional positions/locations with one-eighth-pixel accuracy, where the two additional positions/locations can be calculated using the same half or integer-pixel samples which were used to obtain the quarter-pixel sample. Therefore, an arbitrary motion vector accuracy can be achieved without the need to perform additional interpolation stages or increase the complexity of a decoder configured to decode motion vector data.
摘要:
There is disclosed apparatuses, methods and computer program products for coding and decoding and specifically but not only for coding and decoding of image and video signals. It is determined whether two adjacent blocks of pixels of an image have a flat nature. The result of the determining is used to select a filter among at least a first filter and a second filter for filtering a block boundary between two adjacent blocks of pixels. The second filter is selected when said determining indicates that there are two adjacent blocks of pixels having a flat nature. At least a first reference value and a second reference value are selected for the second filter and used in filtering the block boundary.
摘要:
In encoding or decoding a video sequence having a sequence of video frames, interpolation filter coefficients for each frame or macroblock are adapted so that the non-stationary properties of the video signal are captured more accurately. A filter-type selection block in the encoder is used to determine the filter-type for use in the adaptive interpolation filter (AIF) scheme by analyzing the input video signal. Filter-type information is transmitted along with filter coefficients to the decoder. This information specifies, from a pre-defined set of filter types, what kind of interpolation filter is used. The number of filter coefficients that is sent depends on the filter-type. This number is pre-defined for each filter-type. Based on the filter-type and the filter coefficients, a filter constructing block in the decoder constructs the interpolation filter
摘要:
In general, a methodology of rate control for a video encoding is provided, which is implementable by the means of a method, a device, a computer program and/or a video encoder. A frame encoding process is performed for each frame in that an initial quantization parameter is calculated for being used as a quantization parameter for encoding a current frame. Each group of macroblocks within the current frame is encoded group by group; i.e. group-wise. A score value is determined after macroblock encoding of a current group of macroblocks. In case the score value exceeds a pre-defined threshold, the quantization parameter for encoding the next group of macroblocks is adjusted; otherwise, the macroblock encoding is continued with the quantization parameter which is currently used for encoding the current group of macroblocks.
摘要:
There is disclosed apparatuses, methods and computer programs for video coding. The filtering process to be applied to intra predicted sample values is selected and adapted based on the characteristics of the sample prediction process. According to some embodiments an angularity information and pixel values for filtering by a filter are received. The angularity information is used to adapt the filter. The adapting may comprise selecting a filter algorithm and/or filter coefficients. The selected pixels are then filtered by the adapted filter.
摘要:
Method and apparatus for producing a cinemagraph, wherein based on received user input an image from a sequence of images is selected as a baseframe image. The baseframe image is segmented and at least one segment is selected based on user input. A mask is created based on the selected segments and at least one image most similar to the baseframe is selected from the sequence of images using the mask. The selected images are aligned the baseframe image a first cinemagraph is created from the selected images and the baseframe image using the mask.
摘要:
The disclosure relates to encoding and decoding image information. The encoding comprises receiving a block of pixels; creating a set of motion vector prediction candidates for the block of pixels; and examining the set to determine if a motion vector prediction candidate is a temporal motion vector prediction, or a spatial motion vector prediction. If the motion vector prediction candidate is a temporal motion vector prediction, the motion vector prediction candidate is kept in the set. If the motion vector prediction candidate is a spatial motion vector prediction, it is examined whether the set comprises a motion vector prediction candidate corresponding with the spatial motion vector prediction; and if so, the motion vector prediction candidate is removed from the set. Once the set is created, one of the candidates from the set is selected to represent a motion vector prediction for the block of pixels.
摘要:
There is disclosed apparatuses, methods and computer program products for coding and decoding and specifically but not only for coding and decoding of image and video signals. It is determined whether two adjacent blocks of pixels of an image have a flat nature. The result of the determining is used to select a filter among at least a first filter and a second filter for filtering a block boundary between two adjacent blocks of pixels. The second filter is selected when said determining indicates that there are two adjacent blocks of pixels having a flat nature. At least a first reference value and a second reference value are selected for the second filter and used in filtering the block boundary.
摘要:
An apparatus for providing motion estimation for video encoding includes a selection element and a processing element. The selection element is configured to select a subset including less than all of candidate pixel locations from among a plurality of candidate pixel locations used for motion vector determination based on a relationship between a best candidate pixel location of a first level of accuracy and a best candidate pixel location of a second level of accuracy. The processing element is configured to process an input video sequence to determine a motion vector at the first level of accuracy, to refine the motion vector at the second level of accuracy, and to determine the motion vector at a third level of accuracy using only the subset of candidate pixel locations.