US 11,695,930 B2
Image encoding method and apparatus, and image decoding method and apparatus
Na-rae Choi, Seoul (KR); Bo-ra Jin, Yongin-si (KR); and Min-woo Park, Yongin-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Appl. No. 16/651,809
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
PCT Filed Sep. 27, 2018, PCT No. PCT/KR2018/011390
§ 371(c)(1), (2) Date Mar. 27, 2020,
PCT Pub. No. WO2019/066472, PCT Pub. Date Apr. 4, 2019.
Claims priority of provisional application 62/564,681, filed on Sep. 28, 2017.
Prior Publication US 2020/0252614 A1, Aug. 6, 2020
Int. Cl. H04N 7/12 (2006.01); H04N 19/132 (2014.01); H04N 19/105 (2014.01); H04N 19/117 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01); H04N 19/189 (2014.01); H04N 19/635 (2014.01)
CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/117 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/189 (2014.11); H04N 19/635 (2014.11)] 10 Claims
OG exemplary drawing
 
1. An image decoding method comprising:
obtaining, from a bitstream, information about a transform coefficient of a current block;
obtaining an intra prediction sample of a current sample in the current block based on an intra prediction mode of the current block;
when the intra prediction mode of the current block is an angular mode with one among left prediction directions including a lower-left prediction direction, determining a first reference sample to be used in filtering, among a plurality of reference samples in an upper side of the current block based on a position of the current sample and the intra prediction mode of the current block and determining a first weight for the first reference sample based on a Y-coordinate of the position of the current sample;
obtaining a modified intra prediction sample of the current sample based on the first reference sample to be used in filtering, the intra prediction sample of the current sample, the first weight for the first reference sample to be used in filtering, and a second weight for the intra prediction sample of the current sample;
generating a prediction block of the current block, the prediction block including the modified intra prediction sample of the current sample;
obtaining a residual sample of the current sample using the information about the transform coefficient of the current block; and
reconstructing the current block using the modified intra prediction sample of the current sample and the residual sample of the current sample,
wherein based on the intra prediction mode of the current block being a first angular mode, the first reference sample to be used in filtering is determined among the plurality of reference samples in the upper side of the current block based on the position of the current sample and the first angular mode, and the first weight for the first reference sample to be used in filtering is determined based on the Y-coordinate of the position of the current sample,
wherein based on the intra prediction mode of the current block being a second angular mode, the first reference sample to be used in filtering is determined among a plurality of reference samples in a left side of the current block based on the position of the current sample and the second angular mode, and the first weight for the first reference sample to be used in filtering is determined based on a X-coordinate of the position of the current sample, and
wherein the obtaining of the intra prediction sample of the current sample in the current block based on the intra prediction mode of the current block comprises:
determining a second reference sample corresponding to the current sample based on the position of the current sample and the intra prediction mode of the current block; and
obtaining the intra prediction sample of the current sample based on the second reference sample.