US 12,355,989 B2
Image encoding method and apparatus, and image decoding method and apparatus
Yongbing Lin, Beijing (CN); and Sha Ma, Beijing (CN)
Assigned to SHENZHEN YINWANG INTELLIGENT TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Shenzhen Yinwang Intelligent Technologies Co., Ltd., Shenzhen (CN)
Filed on Oct. 21, 2022, as Appl. No. 17/970,684.
Application 17/970,684 is a continuation of application No. PCT/CN2020/086517, filed on Apr. 23, 2020.
Prior Publication US 2023/0061368 A1, Mar. 2, 2023
Int. Cl. H04N 19/186 (2014.01); H04N 19/176 (2014.01); H04N 19/184 (2014.01)
CPC H04N 19/186 (2014.11) [H04N 19/176 (2014.11); H04N 19/184 (2014.11)] 20 Claims
OG exemplary drawing
 
1. An image encoding method comprising:
obtaining, in a first image, each of a first pixel, a second pixel, a third pixel adjacent to the first pixel, and a fourth pixel adjacent to the first pixel;
determining, in the first image, a first color difference signal (Cr) corresponding to the first pixel based on a first pixel value of the first pixel, on a third pixel value of the third pixel, and on a fourth pixel value of the fourth pixel;
determining, in the first image, a second color difference signal (Cb) corresponding to the second pixel based on a second pixel value of the second pixel, on the third pixel value, and on the fourth pixel value, wherein color components of the third pixel and the fourth pixel are the same, and wherein color components of the first pixel, the second pixel, and the third pixel are different;
determining a first average value (Co) of Cr and the Cb and a first difference value (Cg) between the Cr and the Cb;
determining a second difference value (Dg) between the third pixel value and the fourth pixel value;
determining a second average value (Y) of the first pixel value, the second pixel value, the third pixel value, and the fourth pixel value; and
outputting the Dg, the Y, the Co, and the Cg.