Abstract:
The invention relates to a method for encoding, a method for decoding, an apparatus, computer program products, an encoder and a decoder for video information. The motion vector for a block in a video image is predicted from a set of motion vector prediction candidates determined based on previously-coded motion vectors. A motion vector prediction candidate is included in the set based on the location of the block associated with the first spatial motion vector prediction candidate and in comparison with motion vector prediction candidates already in the set.
Abstract:
A method, apparatus, and computer program product provide for improving parameter selection decisions in hybrid video and image codecs. In the context of a method, the method generates a block of difference samples based on a difference between a first block of samples and a second block of samples. The method also generates a block of transform coefficients by applying a transformation process to the block of difference samples. The method also determines an absolute value for each transform coefficient in the block of transform coefficients and determines a weighted sum value for all absolute values of the transform coefficients within the block of transform coefficients. The method also applies the weighted sum value as a criterion for a selection decision.
Abstract:
There is disclosed a method comprising obtaining a block of transform coefficients; searching a position of a last non-zero coefficient in a scan order in the block; selecting a secondary transform mode based on the position and encoding first syntax elements indicative of the selected secondary transform mode. A primary transform mode is selected based on the secondary transform mode. Second syntax elements indicative of the selected primary transform mode and third syntax elements defining the transform coefficients within the block are encoded. There is also disclosed a method comprising receiving encoded information related to a block of transform coefficients; decoding an indication of a position of a last non-zero coefficient in a scan order in the block and using the position to determine if an indication of a secondary transform mode is present in the bit stream. If so, first syntax elements indicative of the secondary transform mode are decoded and used to determine if an indication of a primary transform mode is present in the bit stream. If so, second syntax elements indicative of the primary transform mode are decoded. The transform coefficients are decoded and the determined transform modes are applied to select transforms and the transforms, if any, are applied to the transform coefficients.
Abstract:
A method for motion compensated prediction, the method comprising determining a motion vector for a block of samples; determining a sub-sample accurate horizontal component and a sub-sample accurate vertical component of said motion vector;determining fractional parts of said sub-sample accurate horizontal and vertical motion vector components; determining interpolation filter length and interpolation filter based on said fractional parts; applying said interpolation filter with determined length to perform a filtering operation at least in either horizontal or vertical direction; and storing the result of said filtering operation as the motion compensated prediction with said motion vector.
Abstract:
A method comprising: obtaining a block of a picture or a picture in an encoder; determining if the block/picture is used for on-line learning; if affirmative, encoding the block/picture; reconstructing a coarse version of the block/picture or the respective prediction error block/picture; enhancing the coarse version using a neural net; fine-tuning the neural net with a training signal based on the coarse version; determining if the block/picture is enhanced using the neural net; and if affirmative, encoding the block/picture with enhancing using the neural net.
Abstract:
There is disclosed an apparatus, a method and a computer program for video coding. The apparatus comprises a selector configured for selecting a pixel for prediction; a projection definer configured for determining a projection of said pixel to a set of reference pixels; and a prediction definer configured for selecting one or more reference pixels from said set of reference pixels on the basis of said projection, and using said selected one or more reference pixels to obtain a prediction value for said pixel to be predicted.
Abstract:
A method and apparatus are provided for 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.
Abstract:
The invention relates to a method for encoding, a method for decoding, an apparatus, computer program products, an encoder and a decoder for video information. The motion vector for a block in a video image is predicted from a set of motion vector prediction candidates determined based on previously-coded motion vectors. A motion vector prediction candidate is included in the set based on the location of the block associated with the first spatial motion vector prediction candidate and in comparison with motion vector prediction candidates already in the set.
Abstract:
A method for decoding an encoded video representation from a bitstream, the method comprising decoding an identifier indicating that all samples within a scope of the bitstream have been coded with a prediction restriction; determining that the scope covers a region of interest within a picture; decoding at least a first coding unit preceding said region of interest in decoding order in a parse mode such that syntax elements belonging to said at least first coding unit are parsed, but a sample reconstruction process of said syntax elements is omitted; and decoding at least a second coding unit belonging to said region of interest such that syntax elements belonging to said at least second coding unit are parsed and a sample reconstruction process is performed to said syntax elements.
Abstract:
There are disclosed various methods, apparatuses and computer program products for video encoding/decoding. In some embodiments the method comprises decoding a coding unit being coded with palette coding, wherein an indication of a scan order of the palette mode is decoded for said coding unit. Mode information for at least one pixel within the coding unit is decoded. Depending on the mode information, a decoded pixel value is set based on indicated scan order; or an indication to determine the number of the pixels sharing the value and indication for a reconstruction value of number of pixels are decoded; or an indication for a reconstruction value of a pixel is decoded.