US 11,838,540 B2
Image encoding/decoding method and device, and recording medium in which bitstream is stored
Ha Hyun Lee, Seoul (KR); Jung Won Kang, Daejeon (KR); Sung Chang Lim, Daejeon (KR); Jin Ho Lee, Daejeon (KR); and Hui Yong Kim, Daejeon (KR)
Assigned to Electronics and Telecommunications Research Institute, Daejeon (KR)
Appl. No. 17/415,568
Filed by Electronics and Telecommunications Research Institute, Daejeon (KR)
PCT Filed Dec. 20, 2019, PCT No. PCT/KR2019/018204
§ 371(c)(1), (2) Date Jun. 17, 2021,
PCT Pub. No. WO2020/130710, PCT Pub. Date Jun. 25, 2020.
Claims priority of application No. 10-2018-0167057 (KR), filed on Dec. 21, 2018; and application No. 10-2018-0172505 (KR), filed on Dec. 28, 2018.
Prior Publication US 2022/0060744 A1, Feb. 24, 2022
Int. Cl. H04N 19/577 (2014.01); H04N 19/105 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/577 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] 18 Claims
OG exemplary drawing
 
1. A method of decoding an image, the method comprising:
determining whether a bi-directional optical flow (BIO) mode is applied to a current block;
in response that the BIO mode is applied to the current block, obtaining prediction samples of an extended sub-block based on a motion vector of the current block, the extended sub-block being composed of a sub-block included in the current block and an extended region around the sub-block;
obtaining gradient information of each prediction sample in the extended sub-block;
deriving a motion refinement vector for the sub-block based on the gradient information of each prediction sample in the extended sub-block;
deriving a prediction offset for a first prediction sample in the sub-block; and
modifying the first prediction sample in the sub-block based on the prediction offset therefor,
wherein the gradient information of each prediction sample in the sub-block is derived by using at least one neighbor sample adjacent to a prediction sample, and
wherein, when an integer pixel position closest to a reference position for a second prediction sample in the extended region is at an available position, the second prediction sample is obtained from a sample at the integer pixel position, the reference position being specified by the motion vector of the current block, and
wherein when the integer pixel position for the second prediction sample in the extended region is at an unavailable position, the second prediction sample is obtained from a sample at a boundary position.