Panorama Rendering Method, Electronic Device and Storage Medium
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorDa QU
Life of this patent
Estimating the term…
Abstract
A panorama rendering method, an electronic device and a storage medium are provided, and relates to the field of panoramic technology. The method includes: segmenting a panoramic picture to obtain segmented panoramic tile pictures; determining a target tile picture under a current screen and a target spherical patch in a panoramic picture sphere model, according to the panoramic picture sphere model and the segmented panoramic tile pictures; and performing drawing on the target spherical patch by using the target tile picture, to obtain a target scene. In this way, time consumption of panorama loading can be reduced and loading performance can be improved.
Claims20
A panorama rendering method, comprising:
- segmenting a panoramic picture to obtain segmented panoramic tile pictures;
- determining a target tile picture under a current screen and a target spherical patch in a panoramic picture sphere model, according to the panoramic picture sphere model and the segmented panoramic tile pictures;
- and
- performing drawing on the target spherical patch by using the target tile picture, to obtain a target scene.
An electronic device, comprising:
- at least one processor;
- and
- a memory communicatively connected with the at least one processor, wherein
- the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, enable the at least one processor to perform operations of:
- segmenting a panoramic picture to obtain segmented panoramic tile pictures;
- determining a target tile picture under a current screen and a target spherical patch in a panoramic picture sphere model, according to the panoramic picture sphere model and the segmented panoramic tile pictures;
- and
- performing drawing on the target spherical patch by using the target tile picture, to obtain a target scene.
A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions, when executed by a computer, cause the computer to perform operations of:
- segmenting a panoramic picture to obtain segmented panoramic tile pictures;
- determining a target tile picture under a current screen and a target spherical patch in a panoramic picture sphere model, according to the panoramic picture sphere model and the segmented panoramic tile pictures;
- and
- performing drawing on the target spherical patch by using the target tile picture, to obtain a target scene.
Dependencies are inferred from the claim text.