Neural network-based intra prediction for video encoding or decoding
Abstract
A video coding system is provided that performs intra prediction in a mode using a neural network for block of only a set of specific block sizes. The signaling of this mode is designed to be efficient in terms of rate-distortion under this constraint. Different transformations of the context of a block and the neural network prediction of this block are introduced in order to use one single neural network for predicting blocks of several sizes, as well as the corresponding signaling. The neural network-based prediction mode considers both luminance blocks and chrominance blocks. The video coding system comprises encoder and decoder apparatuses, encoding, decoding and signal generation methods and a signal carrying information corresponding to the described coding mode.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 2.
Claims (20 — 4 Independent, 16 Dependent)
- Claim 1Independent Claim
A video encoding method comprising: performing intra prediction for at least one block in a picture or video using a neural network based intra prediction by feeding a block context into a neural network selected based on a size of the at least one block, the block context comprising pixels of blocks located at a top side, at a left side, at a diagonal top left side, at a diagonal top right side and at a diagonal bottom left side of the at least one block, wherein the size of the block context is based on the size of the at least one block, and wherein the block context comprises n l columns and n a rows, wherein n l and n a are selected as: n a = α H, n l = β W, α ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛, β ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛 where H is a height of the block and W is a width of the block; generating signaling information representative that the intra prediction mode is a neural network based intra prediction; and encoding at least information representative of the at least one block and the neural network-based intra prediction mode.
- Claim 2Depends on #1
The method of claim 1, wherein the signaling information is encoded in a bitstream and comprises a flag indicating that a neural network-based intra prediction mode is selected for the at least one block, the flag being based on a set of flags representing a plurality of intra prediction modes arranged in a binary tree for being encoded in a bitstream and wherein the flag indicating that neural network-based intra prediction mode is selected is located at a first level of the tree and encoded with a single bit.
- Claim 3Independent Claim
A video decoding method comprising: obtaining, for at least one block in a picture or video, at least information representative that an intra prediction is a neural network-based prediction and a block context, the block context comprising pixels of blocks located at a top side, at a left side, at a diagonal top left side, at a diagonal top right side and at a diagonal bottom left side of the at least one block, wherein the size of the block context is based on the size of the at least one block, and wherein the block context comprises n l columns and n a rows, wherein n l and n a are selected as: n a = α H, n l = β W, α ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛, β ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛 where H is a height of the block and W is a width of the block; and performing intra prediction for the at least one block in a picture or video by feeding the block context into a neural network based on the size of the at least one block.
- Claim 4Depends on #3
The method of claim 3, wherein the neural network-based intra prediction is performed based on a position of the at least one block.
- Claim 5Depends on #3
The method of claim 3, wherein the block context is down-sampled prior to performing the intra prediction and the at least one predicted block resulting from the neural network based intra prediction is interpolated after the intra prediction.
- Claim 6Depends on #3
The method of claim 3, wherein the block context is transposed prior to performing the intra prediction and the at least one predicted block resulting from the neural network based intra prediction is transposed back after the intra prediction.
- Claim 7Depends on #3
The method of claim 3, wherein the block context is down-sampled and transposed prior to performing the intra prediction and the at least one predicted block resulting from the neural network based intra prediction is transposed back and interpolated after the intra prediction.
- Claim 8Depends on #3
The method of claim 3, wherein the neural network-based intra prediction is done in both luminance and chrominance of the at least one block.
- Claim 9Independent Claim
An apparatus, comprising an encoder for encoding a current block in a picture or video wherein the encoder is configured to: perform intra prediction for at least one block in a picture or video using a neural network based intra prediction by feeding a block context into a neural network selected based on a size of the at least one block, the block context comprising pixels of blocks located at a top side, at a left side, at a diagonal top left side, at a diagonal top right side and at a diagonal bottom left side of the at least one block, wherein the size of the block context is based on the size of the at least one block, and wherein the block context comprises n l columns and n a rows, wherein n l and n a are selected as: n a = α H, n l = β W, α ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛, β ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛 where H is a height of the block and W is a width of the block; generate signaling information representative that the intra prediction mode is a neural network based intra prediction; and encode at least information representative of the at least one block and the neural network-based intra prediction mode.
- Claim 10Independent Claim
An apparatus, comprising a decoder for decoding picture data for a current block in a picture or video wherein the decoder is configured to: obtain, for at least one block in a picture or video, at least information representative that an intra prediction is a neural network-based prediction and a block context, the block context comprising pixels of blocks located at a top side, at a left side, at a diagonal top left side, at a diagonal top right side and at a diagonal bottom left side of the at least one block, wherein the size of the block context is based on the size of the at least one block, and wherein the block context comprises n l columns and n a rows, wherein n l and n a are selected as: n a = α H, n l = β W, α ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛, β ∈ 〚 1 4, 1 2, 3 4, 1, 2 〛 where H is a height of the block and W is a width of the block; and perform intra prediction for the at least one block in a picture or video by feeding the block context into a neural network selected based on the size of the at least one block.
- Claim 11Depends on #10
The apparatus of claim 10, wherein the neural network-based intra prediction is performed based on a position of the at least one block.
- Claim 12Depends on #10
The apparatus of claim 10, wherein the block context is down-sampled prior to performing the intra prediction and the at least one predicted block resulting from the neural network-based intra prediction is interpolated after the intra prediction.
- Claim 13Depends on #10
The apparatus of claim 10, wherein the block context is transposed prior to performing the intra prediction and the at least one predicted block resulting from the neural network-based intra prediction is transposed back after the intra prediction.
- Claim 14Depends on #10
The apparatus of claim 10, wherein the block context is down-sampled and transposed prior to performing the intra prediction and the at least one predicted block resulting from the neural network-based intra prediction is transposed back and interpolated after the intra prediction.
- Claim 15Depends on #3
A non-transitory computer readable medium comprising program code instructions for implementing the steps of a method according to claim 3 when executed by a processor.
- Claim 16Depends on #1
The method of claim 1, wherein the neural network is selected among a set of at least two neural networks, and wherein at least one size of a block is associated to each neural network of the set of at least two neural networks.
- Claim 17Depends on #3
The method of claim 3, wherein the neural network is selected among a set of at least two neural networks, and wherein at least one size of a block is associated to each neural network of the set of at least two neural networks.
- Claim 18Depends on #9
The apparatus of claim 9, wherein the signaling information is encoded in a bitstream and comprises a flag indicating that a neural network-based intra prediction mode is selected for the at least one block, the flag being based on a set of flags representing a plurality of intra prediction modes arranged in a binary tree for being encoded in a bitstream and wherein the flag indicating that neural network-based intra prediction mode is selected is located at a first level of the tree and encoded with a single bit.
- Claim 19Depends on #9
The apparatus of claim 9, wherein the neural network is selected among a set of at least two neural networks, and wherein at least one size of a block is associated to each neural network of the set of at least two neural networks.
- Claim 20Depends on #10
The apparatus of claim 10, wherein the neural network is selected among a set of at least two neural networks, and wherein at least one size of a block is associated to each neural network of the set of at least two neural networks.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a U.S. National Stage Application under 35 U.S.C. 371 of International Patent Application No. PCT/EP2021/052094, filed Jan. 29, 2021, which is incorporated herein by reference in its entirety. This application claims the benefit of European Application No. 20305169.3, filed Feb. 21, 2020. TECHNICAL FIELD At least one of the present embodiments generally relates to neural network based intra prediction for video encoding or decoding. BACKGROUND To achieve high compression efficiency, image and video coding schemes usually employ prediction and transform to leverage spatial and temporal redundancy in the video content. Generally, intra or inter prediction is used to exploit the intra or inter frame correlation, then the differences between the original block and the predicted block, often denoted as prediction errors or prediction residuals, are transformed, quantized, and entropy coded. To reconstruct the video, the compressed data are decoded by inverse processes corresponding to the entropy coding, quantization, transform, and prediction. SUMMARY One or more of the present embodiments provide a video coding system that performs intra prediction in a mode using a neural network for blocks of only a set of specific block sizes. The signaling of this mode is designed to be efficient in terms of rate-distortion under this constraint. Different transformations of the context of a block and the neural network prediction of this block are introduced in order to use one single neural network for predicting blocks of several sizes, as well as the corresponding signaling. The neural network-based prediction mode considers both luminance blocks and chrominance blocks. The video coding system comprises encoder and decoder apparatuses, encoding, decoding and signal generation methods and a signal carrying information corresponding to the described coding mode. According to a first aspect of at least one embodiment, a v
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (9)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Hu et al.,
- “
- Progressive Spatial Recurrent Neural Network for Intra Prediction
- ”
- , Institute of Electronics and Electronical Engineers (IEEE), IEEE Transactions on MultiMedia, vol. 21, Issue: 12, Dec. 2019, 14 pages.
- Li et al.,
- “
- Fully-Connected Network-Based Intra Prediction for Image Coding
- ”
- , Institute of Electrical and Electronics Engineers (IEEE), IEEE Transactions on Image Processing, vol. 27, No. 7, Jul. 2018, 12 pages.