US 12,219,133 B2
Bilateral loop filter
Jacob Ström, Stockholm (SE); Per Wennersten, Årsta (SE); Jack Enhorn, Kista (SE); Ruoyang Yu, Täby (SE); and Lukasz Litwic, Gdansk (PL)
Assigned to TELEFONAKTIEBOLAGET LM ERICSSON (PUBL), Stockholm (SE)
Appl. No. 17/438,366
Filed by Telefonaktiebolaget LM Ericsson (publ), Stockholm (SE)
PCT Filed Mar. 10, 2020, PCT No. PCT/EP2020/056367
§ 371(c)(1), (2) Date Sep. 10, 2021,
PCT Pub. No. WO2020/182819, PCT Pub. Date Sep. 17, 2020.
Claims priority of provisional application 62/896,132, filed on Sep. 5, 2019.
Claims priority of provisional application 62/882,111, filed on Aug. 2, 2019.
Claims priority of provisional application 62/816,365, filed on Mar. 11, 2019.
Prior Publication US 2024/0414331 A1, Dec. 12, 2024
Int. Cl. H04N 7/12 (2006.01); H04N 19/117 (2014.01); H04N 19/124 (2014.01); H04N 19/132 (2014.01); H04N 19/167 (2014.01); H04N 19/176 (2014.01); H04N 19/80 (2014.01)
CPC H04N 19/117 (2014.11) [H04N 19/124 (2014.11); H04N 19/132 (2014.11); H04N 19/167 (2014.11); H04N 19/176 (2014.11); H04N 19/80 (2014.11)] 17 Claims
OG exemplary drawing
 
1. A method performed by a decoder, the method comprising:
decoding all blocks of an image that has been encoded;
after the decoding of all blocks of the image, filtering at least one sample of at least one block of the image by, for each block being filtered:
for each sample being filtered of the at least one sample:
selecting a plurality of neighboring samples of the sample being filtered;
for at least one neighboring sample of the plurality of neighboring samples:
calculating a difference between the neighboring sample and the sample being filtered; and
obtaining a modifier value based on the difference;
deriving a modifier sum based on a sum of the modifier values for the plurality of neighboring samples;
determining a correction value based on one of
a conditional addition of at least one shifted version of the modifier sum, where each shift of the at least one shifted version has a same number of shift steps in each determination of the correction value, and
a multiplication using the modifier sum and a strength factor obtained based on at least one of a type of the block being filtered and a size of the block being filtered;
deriving a filtered sample based on the sample to be filtered and the correction value; and
storing the filtered sample; and
outputting the at least one block with the filtered sample towards an output of the decoder.