US 12,231,644 B2
Image encoding/decoding method and device for performing BDOF, and method for transmitting bitstream
Nae Ri Park, Seoul (KR); Jung Hak Nam, Seoul (KR); Hyeong Moon Jang, Seoul (KR); and Seung Hwan Kim, Seoul (KR)
Assigned to LG Electronics Inc., Seoul (KR)
Appl. No. 17/639,837
Filed by LG Electronics Inc., Seoul (KR)
PCT Filed Sep. 9, 2020, PCT No. PCT/KR2020/012153
§ 371(c)(1), (2) Date Mar. 2, 2022,
PCT Pub. No. WO2021/049865, PCT Pub. Date Mar. 18, 2021.
Claims priority of provisional application 62/898,531, filed on Sep. 10, 2019.
Claims priority of provisional application 62/904,648, filed on Sep. 23, 2019.
Prior Publication US 2022/0337842 A1, Oct. 20, 2022
Int. Cl. H04N 19/82 (2014.01); H04N 19/132 (2014.01); H04N 19/137 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/132 (2014.11) [H04N 19/137 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] 11 Claims
OG exemplary drawing
 
1. An image decoding method performed by an image decoding apparatus, the image decoding method comprising:
deriving a L0 prediction sample and a L1 prediction sample of a current block by using motion information of the current block;
deriving a gradient for a predetermined area including a current subblock in the current block;
deriving motion offset (vx, vy) for the current subblock by using the gradient;
deriving a Bi-directional Optical Flow (BDOF) offset by using the gradient and the motion offset; and
deriving a prediction sample for the current block by using the L0 prediction sample, the L1 prediction sample of the current block and the BDOF offset,
wherein the gradient is derived by right-shifting the L0 prediction sample and the L1 prediction sample of the current block by a first shift,
wherein the deriving the motion offset (vx, vy) comprises:
deriving a first intermediate parameter diff by subtracting the L1 prediction sample of the current block from the L0 prediction sample of the current block; and
deriving second intermediate parameters tempH and tempV by right-shifting the gradient by a third shift,
wherein the deriving the first intermediate parameter diff comprises right-shifting the L0 prediction sample and the L1 prediction sample of the current block by a second shift,
wherein the first shift, the second shift and the third shift are set to a fixed value regardless of a bit depth of the current block,
wherein a value of the first shift is different from a value of the second shift and a value of the third shift, and
wherein a value of the second shift is different from a value of the third shift.