IP Library › Granted Patent US 11,595,644
Granted Patent B2
US 11,595,644 · App. 17/240,812 · Granted Feb 28, 2023

Method and apparatus for offset in video filtering

Inventors: Yixin Du (Los Altos, CA); Xin Zhao (Santa Clara, CA); Shan Liu (San Jose, CA)
Assignee: TENCENT AMERICA LLC
H04N19/117H04N19/124H04N19/132H04N19/186H04N19/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,595,644
App. No.
17/240,812
Granted
Feb 28, 2023
Kind
B2
Abstract

Aspects of the disclosure provide methods and apparatuses for video encoding/decoding. In some examples, an apparatus for video decoding includes processing circuitry. For example, the processing circuitry determines a first combination from reconstructed samples of a first color component within a filter support region. Then, the processing circuitry determines, based on a mapping that associates offset values with combinations of possible reconstructed sample values, a first offset value that is associated with the first combination, and applies the first offset value on a to-be filtered sample of a second color component in the filter support region to determine a filtered sample of the second color component.

Claims (44)

1. A method for filtering in video decoding, comprising:

determining, by a processor, a first combination of filter tap values based on reconstructed sample values of reconstructed samples of a first color component within a filter support region;

determining, by the processor and based on a mapping that associates offset values with different combinations of filter tap values, a first offset value of the offset values in the mapping that is associated with the first combination of filter tap values; and

applying, by the processor, the first offset value on a to-be filtered sample of a second color component in the filter support region to determine a filtered sample of the second color component.

2. The method of claim 1 , wherein the mapping is a non linear mapping defined in a form of a lookup table.

3. The method of claim 1 , wherein the second color component is one of the first color component and a different color component from the first color component.

4. The method of claim 1 , further comprising:

using at least one of a linear operation and a quantization operation to determine the first combination of filter tap values from the reconstructed samples of the first color component within the filter support region, the first combination of filter tap values including a separate filter tap value for each of the reconstructed samples of the first color component within the filter support region.

5. The method of claim 1 , further comprising:

calculating differences of the reconstructed samples of the first color component; and

quantizing the differences to determine the first combination of filter tap values.

6. The method of claim 1 , further comprising:

calculating differences of surrounding reconstructed samples of the reconstructed samples to a collocated sample within the reconstructed samples of the first color component, the collocated sample being located at a same position as the to-be filtered sample of the second color component; and

quantizing the differences based on a quantization step size to determine the first combination of filter tap values.

7. The method of claim 1 , wherein the mapping associates the offset values with the combinations of a complete domain for the reconstructed samples of the first color component within the filter support region.

8. The method of claim 1 , wherein the mapping associates the offset values with the combinations of a subset domain for the reconstructed samples of the first color component within the filter support region.

9. The method of claim 1 , further comprising:

receiving the mapping that is carried in at least one of a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a slice header, and a tile header of a coded video bitstream.

10. The method of claim 1 , further comprising:

deriving the offset values of the mapping based on cost measures; and

including the mapping in at least one of a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a slice header, and a tile header of a coded video bitstream.

11. The method of claim 1 , further comprising:

adding the first offset value with the to-be filtered sample of the second color component to determine an intermediate filtered sample; and

clipping the intermediate filtered sample based on a maximum value and a minimum value to determine the filtered sample of the second color component.

12. An apparatus for filtering in video decoding, comprising:

processing circuitry configured to:

determine a first combination of filter tap values based on reconstructed sample values of reconstructed samples of a first color component within a filter support region;

determine, based on a mapping that associates offset values with different combinations of filter tap values, a first offset value of the offset values in the mapping that is associated with the first combination of filter tap values; and

apply the first offset value on a to-be filtered sample of a second color component in the filter support region to determine a filtered sample of the second color component.

13. The apparatus of claim 12 , wherein the mapping is a non linear mapping defined in a form of a lookup table.

14. The apparatus of claim 12 , wherein the second color component is one of the first color component and a different color component from the first color component.

15. The apparatus of claim 12 , wherein the processing circuitry is further configured to:

use at least one of a linear operation and a quantization operation to determine the first combination of filter tap values from the reconstructed samples of the first color component within the filter support region, the first combination of filter tap values including a separate filter tap value for each of the reconstructed samples of the first color component within the filter support region.

16. The apparatus of claim 12 , wherein the processing circuitry is further configured to:

calculate differences of the reconstructed samples of the first color component; and

quantize the differences to determine the first combination of filter tap values.

17. The apparatus of claim 12 , wherein the processing circuitry is further configured to:

calculate differences of surrounding reconstructed samples of the reconstructed samples to a collocated sample within the reconstructed samples of the first color component, the collocated sample being located at a same position as the to-be filtered sample of the second color component; and

quantize the differences based on a quantization step size to determine the first combination of filter tap values.

18. The apparatus of claim 12 , wherein the mapping associates the offset values with the combinations of a complete domain for the reconstructed samples of the first color component within the filter support region.

19. The apparatus of claim 12 , wherein the mapping associates the offset values with the combinations of a subset domain for the reconstructed samples of the first color component within the filter support region.

20. The apparatus of claim 12 , wherein the processing circuitry is further configured to:

add the first offset value with the to-be filtered sample of the second color component to determine an intermediate filtered sample; and

clip the intermediate filtered sample based on a maximum value and a minimum value to determine the filtered sample of the second color component.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 26, 2021
From: DU, YIXIN; ZHAO, XIN; LIU, SHAN
To: TENCENT AMERICA LLC
Reel/Frame 056044/0472 →
Continuity (3)
Provisional Application 63086548 · Oct 1, 2020
Provisional Application 63121081 · Dec 3, 2020
Related Publication 20220109832A1 · Apr 7, 2022
Cited By (5)
US 12,262,019 US 12,388,991 US 12,425,598 US 12,563,191 US 12,627,796