IP Library › Granted Patent US 11,949,918
Granted Patent B2
US 11,949,918 · App. 17/720,125 · Granted Apr 2, 2024

Unified neural network in-loop filter signaling

Inventors: Yue Li (San Diego, CA); Li Zhang (San Diego, CA); Kai Zhang (San Diego, CA); Junru Li (Beijing, CN); Meng Wang (Beijing, CN); Siwei Ma (Beijing, CN); Shiqi Wang (Hong Kong, CN)
Assignees: LEMON INC.; BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.; BYTEDANCE INC.; BYTEDANCE (HK) LIMITED
H04N19/82H04N19/117H04N19/70
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,949,918
App. No.
17/720,125
Granted
Apr 2, 2024
Kind
B2
Abstract

A method implemented by a video coding apparatus includes applying a neural network (NN) filter to an unfiltered sample of a video unit to generate a filtered sample. The NN filter is applied based on a syntax element of the video unit. The method also includes converting between a video media file and a bitstream based on the filtered sample that was generated.

Claims (36)

1. A method implemented by a video coding apparatus, comprising:

applying a neural network (NN) filter to an unfiltered sample of a video unit to generate a filtered sample, wherein the NN filter is applied based on a syntax element of the video unit; and

converting between a video media file and a bitstream based on the filtered sample that was generated,

wherein a first level comprises a sequence level and a syntax element indicated in the first level is indicated in a sequence parameter set (SPS) and/or a sequence header of the video unit; a second level comprises a picture level and a syntax element indicated in the second level is indicated in a picture header, a picture parameter set (PPS), and/or a slice header of the video unit; and a third level comprises a subpicture level a syntax element indicated in the third level is indicated for a patch of the video unit, a coding tree unit (CTU) of the video unit, a coding tree block (CTB) of the video unit, a block of the video unit, a subpicture of the video unit, a tile of the video unit, a slice of the video unit, or a region of the video unit, and

wherein a) the syntax element is a first syntax element at the second level that is conditionally applied based on a second syntax element at the first level, wherein the NN filter is applied at the second level based on the first syntax element based on the second syntax element being a flag that is true, and wherein the NN filter is not applied based on the second syntax element being false, or

b) the syntax element is a first syntax element at the third level that is conditionally applied based on a second syntax element at the first level and/or a third syntax at the second level, wherein the first syntax element is coded using context, wherein the NN filter is applied at the third level based on the first syntax element based on one of the second syntax element and the third syntax element being a flag that is true, and wherein the NN filter is not applied based on one of the second syntax element and the third syntax element being false, or

c) the syntax element is signaled responsive to the NN filter being enabled for a picture or a slice of the video unit, and wherein the NN filter is one of a plurality (T) of NN filters, wherein the syntax element includes an index (k), and wherein the index k is restricted to be in a range from 0 to (T−1), or

d) the syntax element is coded based on a context model that is selected based on a number of allowed NN filters, wherein a filter model index for a color component of the video unit is configured to specify one of K context models, and wherein the one of the K context models is specified as a minimum of K- 1 and binIdx, wherein binIdx is an index of a bin to be coded.

2. The method of claim 1 , wherein the syntax element indicates at least one selected from the group consisting of: whether to enable the NN filter, a number of NN filters to be applied, and a type of NN filter to be applied.

3. The method of claim 1 , wherein the syntax element is a first syntax element at the first level that indicates whether a NN filter can be adaptively selected at the second level to be applied to a picture or a slice of the video unit.

4. The method of claim 1 , wherein the syntax element is a first syntax element at the second level that indicates whether a NN filter can be adaptively selected at the third level to be applied to a subpicture of the video unit, or that indicates whether usage of the NN filter can be controlled at the third level.

5. The method of claim 1 , wherein the syntax element is a first syntax element at the second level that indicates whether a NN filter can be adaptively selected at the second level, used at the second level, or applied on the second level; and wherein the first syntax element is signaled based on an indication that the NN filter can be adaptively selected at the second level or an indication that a number of NN filters is greater than one.

6. The method of claim 1 , wherein the syntax element is a first syntax element at the third level that is signaled based on an indication that the NN filter can be adaptively selected at the third level or an indication that a number of NN filters is greater than one.

7. The method of claim 1 , further comprising applying the k th NN filter at the second level of the video unit based on the index k>=0 and k<T.

8. The method of claim 1 , further comprising adaptively selecting a NN filter at the third level based on the index k>=T.

9. The method of claim 1 , wherein a filter model index for first and second color components of the video unit is coded with a same set of contexts.

10. The method of claim 1 , wherein the filter model index for a first color component of the video unit is coded with a different set of contexts than the filter model index for a second color component of the video unit.

11. The method of claim 1 , wherein the syntax element is signaled using context coding or bypass coding, or is binarized using fixed-length coding, unary coding, truncated unary coding, signaled unary coding, signed truncated unary coding, truncated binary coding, or exponential Golomb coding.

12. The method of claim 1 , wherein the conversion comprises generating the bitstream according to the video media file.

13. The method of claim 1 , wherein the conversion comprises parsing the bitstream to obtain the video media file.

14. An apparatus for coding video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor cause the processor to:

apply a neural network (NN) filter to an unfiltered sample of a video unit to generate a filtered sample, wherein the NN filter is applied based on a syntax element of the video unit; and

convert between a video media file and a bitstream based on the filtered sample that was generated,

wherein a first level comprises a sequence level and a syntax element indicated in the first level is indicated in a sequence parameter set (SPS) and/or a sequence header of the video unit; a second level comprises a picture level and a syntax element indicated in the second level is indicated in a picture header, a picture parameter set (PPS), and/or a slice header of the video unit; and a third level comprises a subpicture level a syntax element indicated in the third level is indicated for a patch of the video unit, a coding tree unit (CTU) of the video unit, a coding tree block (CTB) of the video unit, a block of the video unit, a subpicture of the video unit, a tile of the video unit, a slice of the video unit, or a region of the video unit, and

wherein a) the syntax element is a first syntax element at the second level that is conditionally applied based on a second syntax element at the first level, wherein the NN filter is applied at the second level based on the first syntax element based on the second syntax element being a flag that is true, and wherein the NN filter is not applied based on the second syntax element being false, or

b) the syntax element is a first syntax element at the third level that is conditionally applied based on a second syntax element at the first level and/or a third syntax at the second level, wherein the first syntax element is coded using context, wherein the NN filter is applied at the third level based on the first syntax element based on one of the second syntax element and the third syntax element being a flag that is true, and wherein the NN filter is not applied based on one of the second syntax element and the third syntax element being false, or

c) the syntax element is signaled responsive to the NN filter being enabled for a picture or a slice of the video unit, and wherein the NN filter is one of a plurality (T) of NN filters, wherein the syntax element includes an index (k), and wherein the index k is restricted to be in a range from 0 to (T−1), or

d) the syntax element is coded based on a context model that is selected based on a number of allowed NN filters, wherein a filter model index for a color component of the video unit is configured to specify one of K context models, and wherein the one of the K context models is specified as a minimum of K- 1 and binIdx, wherein binIdx is an index of a bin to be coded.

15. A non-transitory computer readable medium storing a bitstream of a video that is generated by a method performed by a video processing apparatus, wherein the method comprises:

applying a neural network (NN) filter to an unfiltered sample of a video unit to generate a filtered sample, wherein the NN filter is applied based on a syntax element of the video unit; and

generating the bitstream based on the filtered sample that was generated,

wherein a first level comprises a sequence level and a syntax element indicated in the first level is indicated in a sequence parameter set (SPS) and/or a sequence header of the video unit; a second level comprises a picture level and a syntax element indicated in the second level is indicated in a picture header, a picture parameter set (PPS), and/or a slice header of the video unit; and a third level comprises a subpicture level a syntax element indicated in the third level is indicated for a patch of the video unit, a coding tree unit (CTU) of the video unit, a coding tree block (CTB) of the video unit, a block of the video unit, a subpicture of the video unit, a tile of the video unit, a slice of the video unit, or a region of the video unit, and

wherein a) the syntax element is a first syntax element at the second level that is conditionally applied based on a second syntax element at the first level, wherein the NN filter is applied at the second level based on the first syntax element based on the second syntax element being a flag that is true, and wherein the NN filter is not applied based on the second syntax element being false, or

b) the syntax element is a first syntax element at the third level that is conditionally applied based on a second syntax element at the first level and/or a third syntax at the second level, wherein the first syntax element is coded using context, wherein the NN filter is applied at the third level based on the first syntax element based on one of the second syntax element and the third syntax element being a flag that is true, and wherein the NN filter is not applied based on one of the second syntax element and the third syntax element being false, or

c) the syntax element is signaled responsive to the NN filter being enabled for a picture or a slice of the video unit, and wherein the NN filter is one of a plurality (T) of NN filters, wherein the syntax element includes an index (k), and wherein the index k is restricted to be in a range from 0 to (T−1), or

d) the syntax element is coded based on a context model that is selected based on a number of allowed NN filters, wherein a filter model index for a color component of the video unit is configured to specify one of K context models, and wherein the one of the K context models is specified as a minimum of K−1 and binIdx, wherein binIdx is an index of a bin to be coded.

Assignments (6)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 15, 2023
From: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.; BYTEDANCE INC.; BYTEDANCE (HK) LIMITED
To: LEMON INC; BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.; BYTEDANCE INC.; BYTEDANCE (HK) LIMITED
Reel/Frame 064597/0139 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2023
From: WANG, MENG; MA, SIWEI
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 064520/0780 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2023
From: LI, YUE; ZHANG, LI; ZHANG, KAI
To: BYTEDANCE INC.
Reel/Frame 064520/0802 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2023
From: WANG, SHIQI
To: BYTEDANCE (HK) LIMITED
Reel/Frame 064520/0846 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2023
From: LI, JUNRU
To: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 064520/0874 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2023
From: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 064520/0902 →
Priority Claims (3)
WO PCT/CN2021/087615 · Apr 15, 2021 · international
WO PCT/CN2021/087915 · Apr 16, 2021 · international
WO PCT/CN2021/088480 · Apr 20, 2021 · international
Continuity (2)
Provisional Application 63176871 · Apr 19, 2021
Related Publication 20220394308A1 · Dec 8, 2022
Cited By (4)
US 12,621,499 US 12,647,586 US 12,659,474 US 12,734,137