摘要 |
<p>The present invention relates to the field of electronics, and discloses a method and device for implementing real-time preview of panoramic images. The method includes: acquiring a two-dimensional image of a current scene; acquiring a depth map of the two-dimensional image; according to the two-dimensional image of the current scene, a two-dimensional image of the previous scene immediately before the current scene, the depth map of the two-dimensional image of the current scene and a depth map of the two-dimensional image of the previous scene immediately before the current scene, performing real-time pre-stitching to generate and display a pre-stitched volume-panorama three-dimensional image; after receiving a confirmation signal from a user, stitching the volume-panorama three-dimensional image, and continuing acquiring the three-dimensional image of the next scene of the current scene until a panoramic three-dimensional image is acquired. The present invention enables images, especially the three-dimensional images, to be stitched, displayed and previewed in real time, achieves the automatic entrance of a region, which is being picked up by a camera aperture, into a panoramic image, and can correct the image-stitching mistakes in time, thereby improving the use experience of users.</p> |