US 12,081,737 B2
Encoding and decoding method and apparatus, and device therefor
Yucheng Sun, Zhejiang (CN)
Assigned to HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD., Zhejiang (CN)
Appl. No. 17/928,919
Filed by HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD., Zhejiang (CN)
PCT Filed May 31, 2021, PCT No. PCT/CN2021/097472
§ 371(c)(1), (2) Date Nov. 30, 2022,
PCT Pub. No. WO2021/244496, PCT Pub. Date Dec. 9, 2021.
Claims priority of application No. 202010486400.3 (CN), filed on Jun. 1, 2020.
Prior Publication US 2023/0262211 A1, Aug. 17, 2023
Int. Cl. H04N 19/00 (2014.01); H04N 19/105 (2014.01); H04N 19/137 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/105 (2014.11) [H04N 19/137 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
when determining to enable a weighted prediction for a current block, obtaining a weighted prediction angle of the current block and weight configuration parameters of the current block, wherein the weight configuration parameters comprise a weight transform rate and a weight transform start position;
configuring one or more reference weight values for surrounding positions outside the current block based on the weight configuration parameters;
for each pixel position of the current block,
determining a surrounding matching position to which the pixel position points from the surrounding positions outside the current block based on the weighted prediction angle;
determining a target weight value of the pixel position based on a reference weight value associated with the surrounding matching position;
determining an association weight value of the pixel position based on the target weight value of the pixel position;
determining a first prediction value of the pixel position based on a first prediction mode of the current block;
determining a second prediction value of the pixel position based on a second prediction mode of the current block; and
determining, based on the first prediction value, the target weight value, the second prediction value and the association weight value, a weighted prediction value of the pixel position; and
determining weighted prediction values of the current block based on the weighted prediction values of all pixel positions in the current block.