US 12,229,991 B2
Image display method and apparatus, computer device, and storage medium
Yuanli Zheng, Shenzhen (CN); Jianping Xie, Shenzhen (CN); and Jie Liu, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Oct. 20, 2022, as Appl. No. 17/970,021.
Application 17/970,021 is a continuation of application No. PCT/CN2021/100490, filed on Jun. 17, 2021.
Claims priority of application No. 202010753135.0 (CN), filed on Jul. 30, 2020.
Prior Publication US 2023/0037922 A1, Feb. 9, 2023
Int. Cl. G06T 7/73 (2017.01); G06F 3/01 (2006.01); G06F 3/0346 (2013.01); G06T 19/00 (2011.01)
CPC G06T 7/74 (2017.01) [G06F 3/011 (2013.01); G06F 3/0346 (2013.01); G06T 19/006 (2013.01); G06T 2207/30244 (2013.01)] 17 Claims
OG exemplary drawing
 
1. An image display method, the method being performed by an augmented reality (AR) device, the method comprising:
obtaining a first homography matrix between a first target plane and a second target plane according to a target matching algorithm for the first target plane and the second target plane, the first target plane being a target plane of a current frame image, the second target plane being a target plane of a first frame image;
calculating a second homography matrix between the first target plane and the second target plane according to a target displacement and an attitude, the attitude indicating a direction vector of a current orientation of an inertial measurement unit (IMU) coordinate system relative to an original orientation of the IMU coordinate system, the target displacement being a displacement of a camera coordinate system of the current frame image relative to a camera coordinate system of the first frame image;
using the first homography matrix and the second homography matrix as homography matrices between the first target plane and the second target plane;
updating the target displacement according to the homography matrices and the attitude;
obtaining a target displacement according to the homography matrix and an attitude, the attitude indicating a direction vector of a current orientation of an inertial measurement unit (IMU) coordinate system relative to an original orientation of the IMU coordinate system, the target displacement being a displacement of a camera coordinate system of the current frame image relative to a camera coordinate system of the first frame image;
obtaining a target pose according to the target displacement, the target pose including a position and an attitude of the camera coordinate system of the current frame image in a world coordinate system; and
displaying an AR image in the current frame image according to the target pose.