Deep intra predictor generating side information
At least a method and an apparatus are presented for efficiently encoding or decoding video. For example, an intra prediction of an image block and side information are determined using at least one neural network from a context comprising pixels surrounding the image block. The side information allows a decoder to determine the intra prediction and is signaled for the decoding.
1 . A method comprising:
decoding from a bitstream, for a luma block being decoded in a picture of a video, a side information for a neural network intra prediction, the side information and the neural network intra prediction having been generated at encoding by applying a neural network to the luma block and to a context surrounding the luma block, the side information comprising neural network feature values encoded into the bitstream;
determining, for the luma block being decoded, a luma component of the neural network intra prediction by applying a neural network to the side information and to the context surrounding the luma block, wherein the side information guides the neural network intra prediction at the decoding; and
decoding the luma block using the determined neural network intra prediction.
2 . The method of claim 1 , further comprising:
decoding, for a chroma block being decoded in the picture of the video, a side information for the neural network intra prediction, the side information and the neural network intra prediction having been generated at encoding by applying the neural network to a context surrounding the chroma block and the context surrounding the luma block; and
determining, for the chroma block, a chroma component of the neural network intra prediction by applying a neural network to the context surrounding the chroma block, the context surrounding the luma block, and the side information.
3 . The method of claim 1 , further comprising:
decoding, for a chroma block being decoded in the picture of the video, a side information for the neural network intra prediction, the side information and the neural network intra prediction having been generated at encoding by applying the neural network to a context surrounding a luma block that is collocated with the chroma block; and
determining, for the chroma block, a chroma component of the neural network intra prediction by applying a neural network to the context surrounding the luma block that is collocated with the chroma block and the side information.
4 . The method of claim 1 further comprising:
decoding a syntax element indicating that a neural network-based intra prediction is used for intra prediction of the luma block.
5 . An apparatus comprising one or more processors, wherein the one or more processors are configured to:
decode from a bitstream, for a luma block being decoded in a picture of a video, a side information for a neural network intra prediction, the side information and the neural network intra prediction having been generated at encoding by applying a neural network to the luma block and to a context surrounding the luma block, the side information comprising neural network feature values encoded into the bitstream;
determine, for the luma block being decoded, a luma component of the neural network intra prediction by applying a neural network to the side information and to the context surrounding the luma block, wherein the side information guides the neural network intra prediction at the decoding; and
decode the luma block using the determined neural network intra prediction.
6 . The apparatus of claim 5 , wherein the one or more processors are configured to:
decode, for a chroma block being decoded in the picture of the video, a side information for the neural network intra prediction, the side information and the neural network intra prediction having been generated at encoding by applying the neural network to a context surrounding the chroma block and a context surrounding a luma block that is collocated with the chroma block; and
determine, for the chroma block, a chroma component of the neural network intra prediction by applying a neural network to the context surrounding the chroma block, the context surrounding the luma block, and the side information.
7 . The apparatus of claim 5 , wherein the one or more processors are configured to:
decode, for a chroma block being decoded in the picture of the video, a side information for the neural network intra prediction, the side information and the neural network intra prediction having been generated at encoding by applying a neural network to a context surrounding a luma block that is collocated with the chroma block;
determine, for the chroma block, a chroma component of the neural network intra prediction and side information by applying a neural network to the a context surrounding the luma block and the side information.
8 . The apparatus of claim 5 , wherein the one or more processors are configured to:
decode a syntax element indicating that a neural network-based intra prediction is used for intra prediction of the luma block.
9 . A method for video encoding, comprising:
determining, from a luma block being encoded in a picture of a video, by applying a neural network to the luma block and to a context surrounding the luma block, a luma component of a neural network intra prediction and a side information to guide neural network intra prediction at decoding, the side information comprising neural network feature values;
encoding the luma block based on the neural network intra prediction; and
encoding the side information into a bitstream.
10 . The method of claim 9 , further comprising:
determining, for a chroma block collocated with the luma block being encoded in the picture of the video, a chroma component of the neural network intra prediction and side information by applying the neural network to the chroma block and to the context surrounding the luma block; and
encoding the chroma block based on the determined neural network intra prediction.
11 . The method of claim 9 , further comprising:
determining, for a chroma block being encoded in the picture of the video, a chroma component of the neural network intra prediction and side information by applying the neural network to a context surrounding the chroma block and the context surrounding the luma block; and
encoding the chroma block based on the determined neural network intra prediction.
12 . The method of claim 9 , further comprising:
determining, for a chroma block being encoded in the picture of the video, a chroma component of the neural network intra prediction and side information by applying the neural network to a context surrounding a luma block that is collocated with the chroma block; and
encoding the chroma block based on the determined neural network intra prediction.
13 . The method of claim 9 , further comprising:
encoding a syntax element indicating that a neural network-based intra prediction is used for intra prediction of the luma block.
14 . An apparatus for video encoding, comprising one or more processors, wherein the one or more processors are configured to:
determine, from a luma block being encoded in a picture of a video, by applying a neural network to the luma block and to a context surrounding the luma block, a luma component of a neural network intra prediction and a side information to guide neural network intra prediction at decoding, the side information comprising neural network feature values;
encode the luma block based on the neural network intra prediction; and
encode the side information into a bitstream.
15 . The apparatus of claim 14 , wherein the one or more processors are configured to:
determine, for a chroma block collocated with the luma block being encoded in the picture of the video, a chroma component of the neural network intra prediction and side information by applying the neural network to the chroma block and to the context surrounding the luma block; and
encode the chroma block based on the determined neural network intra prediction.
16 . The apparatus of claim 14 , wherein the one or more processors are configured to:
determine, for a chroma block being encoded in the picture of the video, a chroma component of the neural network intra prediction and side information by applying the neural network to a context surrounding the chroma block and the context surrounding the luma block; and
encode the chroma block based on the determined neural network intra prediction.
17 . The apparatus of claim 14 , wherein the one or more processors are configured to:
determine, for a chroma block being encoded in the picture of the video, a chroma component of the neural network intra prediction and side information by applying the neural network to a context surrounding a luma block that is collocated with the chroma block; and
encode the chroma block based on the determined neural network intra prediction.
18 . The apparatus of claim 14 , wherein the one or more processors are configured to:
encode a syntax element indicating that a neural network-based intra prediction is used for intra prediction of the luma block.