US 12,075,166 B2
Spherical image processing method and apparatus, and server
Yi Song, Shenzhen (CN); and Peiyun Di, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Mar. 25, 2021, as Appl. No. 17/213,050.
Application 17/213,050 is a continuation of application No. PCT/CN2019/107360, filed on Sep. 23, 2019.
Claims priority of application No. 201811125870.6 (CN), filed on Sep. 26, 2018.
Prior Publication US 2021/0218890 A1, Jul. 15, 2021
Int. Cl. G06T 3/40 (2024.01); G06T 19/00 (2011.01); H04N 23/698 (2023.01)
CPC H04N 23/698 (2023.01) [G06T 3/40 (2013.01); G06T 19/006 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A spherical image processing method, comprising:
obtaining a spherical image and determining a sphere center of the spherical image;
determining a viewpoint of a user when the user views the spherical image, wherein the viewpoint is located at any point, other than the sphere center, in a sphere space surrounded by the spherical image;
determining a pixel expansion region and a pixel shrinkage region on the spherical image based on the sphere center and the viewpoint; and
performing an image processing operation on the spherical image, wherein the image processing operation comprises a pixel expansion processing operation on an image in the pixel expansion region, and a pixel shrinkage processing operation on an image in the pixel shrinkage region, wherein the pixel expansion processing operation comprises increasing a quantity of image pixels in the pixel expansion region, and wherein the pixel shrinkage processing operation comprises reducing a quantity of image pixels in the pixel shrinkage region,
wherein the determining of the pixel expansion region and the pixel shrinkage region comprise:
determining, based on an offset of the viewpoint relative to the sphere center, first pixels that are on the spherical image and whose distances from the viewpoint are equal to r; and
determining the pixel expansion region and the pixel shrinkage region using a circle connecting the first pixels as a boundary, wherein a region comprising a pixel whose distance from the viewpoint is less than r is used as the pixel expansion region, and a region comprising a pixel whose distance from the viewpoint is greater than r is used as the pixel shrinkage region.