EP-4736424-A1 - A METHOD, AN APPARATUS AND A COMPUTER PROGRAM PRODUCT FOR VIDEO ENCODING AND VIDEO DECODING
Abstract
The embodiments relate to a method and technical equipment for implementing the method. The method comprises identifying one or more reference lines; means for extracting reference samples for a block by means of reference lines not being adjacent to the block; means for performing an intraprediction for the block by means of a Planar prediction process and the extracted reference samples, wherein the Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block.
Inventors
- BLASI, Saverio
- LAINEMA, JANI
Assignees
- Nokia Technologies Oy
Dates
- Publication Date
- 20260506
- Application Date
- 20240527
Claims (11)
- Claims: 1. An apparatus for encoding, comprising means for identifying one or more reference lines; means for extracting reference samples for a block by means of reference lines not being adjacent to the block; means for performing an intra-prediction for the block by means of a Planar prediction process and the extracted reference samples, wherein the Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block.
- 2. The apparatus according to claim 1, wherein a reference line is identified by a Multiple Reference Line index.
- 3. The apparatus according to claim 1 or 2, wherein the Planar prediction process comprises a horizontal and/or a vertical interpolation.
- 4. The apparatus according to claim 3 further comprising means for defining an array of samples in dependence on the multiple reference line index to be used in the horizontal and/or the vertical interpolation.
- 5. The apparatus according to claim 3, wherein the horizontal and/or the vertical interpolation comprises weighted averages depending on the distance of each sample from the reference line.
- 6. The apparatus according to claim 5, further comprising means for computing weights for the weighted averages, wherein one of the weights is equal to the distance of each sample from the reference line.
- 7. The apparatus according to claim 5, further comprising means for performing one of the following for the weighted average for the vertical interpolation: a division or a multiplication or a summation or a binary shift by sum of the height of the block and the Multiple Reference Line index.
- 8. The apparatus according to claim 5, further comprising means for performing one of the following for the weighted average for the horizontal interpolation: a division or a multiplication or a summation or a binary shift by sum of the width of the block and the Multiple Reference Line index.
- 9. The apparatus according to any of the claims 1 to 8, further comprising means for determining the Planar prediction process by means of a Template-matching Multiple Reference Line method.
- 10.The apparatus according to any of the claims 1 to 9, wherein the reference samples are extracted by defining a horizontal and/or vertical array of reference samples, whereupon the apparatus comprises means for forming an array of reconstructed samples by means of the location of the block and reference line.
- 11.The apparatus according to claim 10, further comprising means for forming the Planar prediction by means of the horizontal and/or vertical array 12.A method, comprising: identifying one or more reference lines; extracting reference samples for a block from reference lines not being adjacent to the block; performing an intra-prediction for the block by means of a Planar prediction process and the extracted reference samples, wherein the Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block. 13.An apparatus comprising at least one processor, memory including computer program code, the memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following: identify one or more reference lines; extract reference samples for a block from reference lines not being adjacent to the block; perform an intra-prediction for the block by means of a Planar prediction process and the extracted reference samples, wherein the Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block.
Description
A METHOD, AN APPARATUS AND A COMPUTER PROGRAM PRODUCT FOR VIDEO ENCODING AND VIDEO DECODING Technical Field The present solution generally relates to video encoding and video decoding. Background Video encoding is a process, where input video is transformed into a compressed format suited for storage or transmission. In video decoding, the opposite is performed, i.e., compressed video is uncompressed back into a viewable form. The encoding process comprises prediction, where pixel values of a certain picture area are predicted. Then a prediction error, i.e., difference between the predicted pixels and the original pixels is coded. Summary The embodiments discussed in the present description provides an improved prediction solution to be used in video encoding and decoding. The scope of protection sought for various embodiments of the invention is set out by the independent claims. The embodiments and features, if any, described in this specification that do not fall under the scope of the independent claims are to be interpreted as examples useful for understanding various embodiments of the invention. Various aspects include a method, an apparatus and a computer readable medium comprising a computer program stored therein, which are characterized by what is stated in the independent claims. Various embodiments are disclosed in the dependent claims. According to a first aspect, there is provided an apparatus comprising means for identifying one or more reference lines; means for extracting reference samples for a block by means of reference lines not being adjacent to the block; means for performing an intra-prediction for the block by means of a Planar prediction process and the extracted reference samples, wherein Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block. According to a second aspect, there is provided a method, comprising identifying one or more reference lines; extracting reference samples for a block from reference lines not being adjacent to the block; performing an intra- prediction for the block by means of a Planar prediction process and the extracted reference samples, wherein the Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block. According to a third aspect, there is provided an apparatus comprising at least one processor, memory including computer program code, the memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following: identify one or more reference lines; extract reference samples for a block from reference lines not being adjacent to the block; perform an intra-prediction for the block by means of a Planar prediction process and the extracted reference samples, wherein the Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block. According to a fourth aspect, there is provided computer program product comprising computer program code configured to, when executed on at least one processor, cause an apparatus or a system to: identify one or more reference lines; extract reference samples for a block from reference lines not being adjacent to the block; perform an intra-prediction for the block by means of a Planar prediction process and the extracted reference samples, wherein the Planar prediction process comprises determining predicted samples according to a distance between a reference line and the block. According to an embodiment, a reference line is identified by a Multiple Reference Line index. According to an embodiment, the Planar prediction process comprises a horizontal and/or a vertical interpolation. According to an embodiment, the horizontal and/or the vertical interpolation comprises defining an array of samples in dependence on the multiple reference line index. According to an embodiment, the horizontal and/or the vertical interpolation comprises weighted averages depending on the distance of each sample from the reference line. According to an embodiment, wherein the weighted averages comprise computing weights where one of the weights is equal to the distance of each sample from the reference line. According to an embodiment, weighted average for the vertical interpolation includes performing one of the following: a division or a multiplication or a summation or a binary shift by sum of the height of the block and the Multiple Reference Line index. According to an embodiment, weighted average for the horizontal interpolation includes performing one of the following: a division or a multiplication or a summation or a binary shift by sum of the width of the block and the Multiple Reference Line index. According to an embodiment, the Planar prediction process is determined by means of a Template-matching Multiple Reference Line method. According to an embodi