Method for generating 3D asteroid dynamic map and portable device

The method addresses the inefficiencies of existing 3D view generation by automatically creating 3D asteroid dynamic maps from panoramic images, enhancing visual effects and processing speed.

JP7571032B2Active Publication Date: 2024-10-22ARASHI VISION INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021542464
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-01-22
Filing Date
2019-10-21
Publication Date
2024-10-22
Estimated Expiration
2039-10-21

AI Technical Summary

Technical Problem

Existing methods for generating 3D views from images require tools or take long processing times, resulting in poor user experience.

Method used

A method that automatically generates, synthesizes, and renders an asteroid view from a panoramic image by dividing it into sky, human, and ground regions, calculating depth maps, and using a 3D warping algorithm to create a 3D asteroid dynamic map.

Benefits of technology

Improves visual effects and processing speed by generating 3D asteroid dynamic maps efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571032000025
    Figure 0007571032000025
  • Figure 0007571032000026
    Figure 0007571032000026
  • Figure 0007571032000027
    Figure 0007571032000027
Patent Text Reader

Abstract

The present invention provides a method for generating a 3D asteroid dynamic map and a portable terminal. The method includes: acquiring a panoramic image; recognizing and dividing the panoramic image into a sky region, a person region, and a ground region; calculating panoramic depth maps for the sky region, the person region, and the ground region; converting the panoramic image and panoramic depth map into an asteroid image and an asteroid depth map, respectively; generating an asteroid view from a virtual viewpoint; and rendering and generating a 3D asteroid dynamic map. According to the technical solution of the present invention, an asteroid dynamic map with a 3D effect can be generated from a panoramic image by automatically generating, synthesizing, and rendering an asteroid view from a virtual viewpoint.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of imaging, and in particular to a method for generating a 3D asteroid dynamic map and a portable terminal. [Background technology]

[0002] Currently, there are several ways in which it is possible to generate a view with a 3D effect from an image. For example, a 3D view can be generated by microlens technology. The lenses of a microlens are a magnifying mirror array designed to magnify different images when viewed from slightly different angles. To generate a 3D view, it is first necessary to generate a multi-view image, such as a viewpoint image with 12 or more viewpoints, and then synthesize this multi-view image into a composite image. Synthesizing a multi-view image is the process of extracting the appropriate pixels from the multi-view image and synthesizing them into a new image that contains the multi-view information of the original image. The lenses of the microlens are used to display these multi-view angles at different viewing angles, and finally, when viewed through a microlens plate, the viewer's left and right eyes see different images, creating a 3D effect. The disadvantage of this method is that it requires a microlens plate and cannot be seen with the naked eye.

[0003] Another commonly used method is to manually convert 2D images into multi-viewpoint images. In this case, an operator usually needs to create skins to extract objects from the target image and determine depth information for these skins according to his / her own judgment. The depth information has a grayscale image of the same size as the original 2D image, where the depth of each part of the image is represented by gray. The manually created depth information is used to guide the computer to move the pixels of the original 2D image to form a new viewpoint map. Although the depth map can create a powerful 3D display effect, it takes hours or days to generate a 3D view using this existing method.

[0004] In summary, existing methods and systems for generating 3D views from images have drawbacks such as requiring tools or long processing times, resulting in a poor user experience. Summary of the Invention [Problem to be solved by the invention]

[0005] The present invention provides a method for generating a 3D asteroid dynamic map, a computer-readable storage medium, and a portable terminal, which aims to generate an asteroid dynamic map with 3D effect from a panoramic image by automatically generating, synthesizing, and rendering an asteroid view from a virtual viewpoint. This method is efficient, has good image quality, and provides a good user experience. [Means for solving the problem]

[0006] A first aspect of the present invention provides a method for generating a 3D asteroid dynamic map, including acquiring a panoramic image, recognizing and dividing the panoramic image into a sky region, a person region and a ground region, calculating a panoramic depth map for the sky region, the person region and the ground region, respectively, converting and generating the panoramic image and the panoramic depth map into an asteroid image and an asteroid depth map, respectively, generating an asteroid view from a virtual viewpoint, and rendering and generating a 3D asteroid dynamic map.

[0007] A second aspect of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for generating a 3D asteroid dynamic map according to the first aspect.

[0008] A third aspect of the present invention provides a portable terminal comprising one or more processors, a memory, and one or more computer programs stored in the memory and configured to, when executed by the one or more processors, implement the steps of the method for generating a 3D asteroid dynamic map as described in the first aspect. Effect of the Invention

[0009] According to the technical solution of the present invention, an asteroid view from a virtual viewpoint is automatically generated by calculating an image depth map, and then synthesized and rendered, thereby generating an asteroid dynamic map with a 3D effect from a panoramic image. This not only enhances the visual effect, but also has the advantages of fast processing speed. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a flowchart of a method for generating a 3D asteroid dynamic map provided by embodiment 1 of the present invention. [Diagram 2] FIG. 2 is an example of a panoramic depth map provided by the first embodiment of the present invention. [Diagram 3] FIG. 3 is a flowchart of the method for mapping an asteroid image onto a panoramic image provided by the first embodiment of the present invention. [Figure 4] FIG. 4 is a flowchart of a method for generating an asteroid view at a virtual viewpoint provided by the first embodiment of the present invention. [Diagram 5] FIG. 5 is a schematic structural diagram of a portable terminal provided by a third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] In order to make the objectives, technical solutions and beneficial effects of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for the purpose of illustrating the present invention, and are not intended to limit the present invention.

[0012] In order to illustrate the technical solution of the present invention, specific examples are given below.

[0013] <Example 1> Referring to FIG. 1, the method for generating a 3D asteroid dynamic map provided by the first embodiment of the present invention includes the following steps.

[0014] In S101, a panoramic image is acquired.

[0015] When acquiring a panoramic image, the panoramic image may be a panoramic image generated by multiple fisheye images taken by at least two fisheye lenses using an optical flow stitching algorithm, and the content of the panoramic image may include photos taken by a photographer holding a panoramic camera.

[0016] In S102, the panoramic image is recognized and divided into a sky region, a person region, and a ground region.

[0017] The system performs semantic segmentation to recognize sky and person areas from the contents of a panoramic image and divide the image into three main areas: sky, person, and ground.

[0018] Here, the sky recognition and segmentation may adopt a typical sky detection algorithm, including but not limited to the methods disclosed in the paper "Sky Region Detection in a Single Image for Autonomous Ground Robot Navigation" and Chinese patent CN109003237A. The person recognition and segmentation may adopt a typical image target detection algorithm, including but not limited to the methods disclosed in "Cascade R-CNN: Delving into High Quality Object Detection". After the sky region and the person region are segmented, the remaining part is all segmented into the ground region, that is, the ground region may include high-rise buildings, houses, trees, etc.

[0019] In S103, panoramic depth maps are calculated for the sky region, the person region and the ground region respectively.

[0020] The relative depth between different objects can reflect the three-dimensional positional relationship between the objects. The depth of an object represents the distance between the object and the camera in the real scene, so the further an object is from the camera, the larger the depth value is, and the closer the object is to the camera, the smaller the depth value is.

[0021] The method for calculating a panoramic depth map according to the sky region, the person region, and the ground region is as follows.

[0022] TIFF0007571032000001.tif89170

[0023] TIFF0007571032000002.tif18170

[0024] TIFF0007571032000003.tif7170

[0025] TIFF0007571032000004.tif26170

[0026] JPEG0007571032000005.jpg64170

[0027] By respectively calculating the person region depth value, the sky region depth value and the ground region depth value, a panoramic depth map is obtained, see FIG. 2 for an example of the panoramic depth map.

[0028] In S104, the panoramic image and the panoramic depth map are converted into an asteroid image and an asteroid depth map, respectively.

[0029] Referring to FIG. 3, the method for mapping an asteroid image onto a panoramic image is as follows.

[0030] In S1041, the pixels of the asteroid image are transformed from the image coordinate system to the physical coordinate system.

[0031] TIFF0007571032000006.tif121170

[0032] TIFF0007571032000007.tif65170

[0033] TIFF0007571032000008.tif6170

[0034] TIFF0007571032000009.tif42170

[0035] TIFF0007571032000010.tif16170

[0036] TIFF0007571032000011.tif31170

[0037] TIFF0007571032000012.tif21170

[0038] According to the above method of mapping an asteroid image onto a panoramic image, the asteroid image of the panoramic image can be obtained by an inverse mapping method. The inverse mapping method is specifically as follows.

[0039] The corresponding coordinate values ​​of the panoramic image are calculated inversely from the coordinate values ​​of the asteroid image.

[0040] Since the calculated coordinates are floating point data, it is necessary to use a bilinear interpolation algorithm to calculate the pixel values ​​of the asteroid view (u,v) coordinates.

[0041] Every pixel of the panoramic image can be traversed to compute and generate an asteroid view.

[0042] An asteroid image is generated from the panoramic image acquired in step S101.

[0043] An asteroid depth map is generated from the panoramic depth map calculated in step S103.

[0044] In S105, an asteroid view from a virtual viewpoint is generated based on the asteroid image and the asteroid depth map.

[0045] Referring to FIG. 4, the steps of a method for generating an asteroid view at a virtual viewpoint based on an asteroid image and an asteroid depth map are as follows.

[0046] In S1051, the coordinates of the virtual viewpoint are set.

[0047] TIFF0007571032000013.tif28170

[0048] TIFF0007571032000014.tif40170

[0049] TIFF0007571032000015.tif56170

[0050] In S1054, a 3D warping algorithm generates an asteroid view from a virtual viewpoint based on the asteroid image and the asteroid depth map.

[0051] The 3D warping algorithm includes the following steps:

[0052] The depth value corresponding to the asteroid depth map of the coordinates of the 2D image in the asteroid image RGB map is obtained, and the 2D coordinate point q is back-projected onto the actual 3D coordinate point P.

[0053] The actual three-dimensional coordinate point P is rotated or translated to generate P'.

[0054] The rotated or translated virtual 3D coordinate point P' is reprojected onto the 2D image plane at the virtual viewpoint to generate a 2D coordinate point q', where the depth values ​​reflect the front-back occlusion relationships between the 3D objects during projection.

[0055] TIFF0007571032000016.tif74170

[0056] When the 3D warping algorithm generates an asteroid view from a virtual viewpoint, void areas with no pixel information created by occlusion in front of or behind objects in the original asteroid image are filled with neighboring pixels.

[0057] TIFF0007571032000017.tif15170

[0058] In S106, multiple virtual perspective views of the asteroid are rendered to generate a 3D asteroid dynamic map.

[0059] The asteroid views at n virtual viewpoints generated by n virtual viewpoints on a unit circular orbit are composited and rendered in the order of the asteroid views at the generated virtual viewpoints or in a set order to generate an asteroid dynamic map with a 3D effect, where n is a positive integer.

[0060] <Example 2> A second embodiment of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method for generating a 3D asteroid dynamic map provided in the first embodiment of the present invention.

[0061] The computer readable storage medium may be a non-transitory computer readable storage medium.

[0062] <Example 3> 5 shows a specific structural block diagram of a portable terminal provided in Example 3 of the present invention. The portable terminal 100 includes one or more processors 101, a memory 102, and one or more computer programs, the processor 101 and the memory 102 are connected by a bus, and the one or more computer programs are stored in the memory 102 and configured to realize the steps of the 3D asteroid dynamic map generation method provided in Example 1 of the present invention when executed by the one or more processors 101.

[0063] As can be understood by those skilled in the art, in the embodiments of the present invention, all or part of the steps of the method according to the above embodiments may be realized by instructing relevant hardware by a program. The program may be stored in a computer-readable storage medium. The storage medium may be, for example, a ROM / RAM, a magnetic disk, an optical disk, etc.

[0064] The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

[0065] According to the present invention, by calculating an image depth map, an asteroid view from a virtual viewpoint is automatically generated, synthesized, and rendered, and an asteroid dynamic map with a 3D effect is generated from a panoramic image. This not only enhances the visual effect, but also has the advantage of fast processing speed.

Claims

1. 1. A method for generating a 3D asteroid dynamic map, comprising: acquiring a panoramic image; A step of recognizing a panoramic image and dividing it into a sky region, a person region, and a ground region; calculating panoramic depth maps for a sky region, a person region and a ground region respectively; The panoramic image and the panoramic depth map are respectively the asteroid image and the asteroid depth map. and generating generating a view of the asteroid from a virtual viewpoint; and rendering the asteroid views from multiple virtual viewpoints to generate a 3D asteroid dynamic map; calculating the panoramic depth map includes calculating depth values ​​of the sky region, the person region, and the ground region, respectively; A method for generating a 3D asteroid dynamic map.

2. Recognizing the panoramic image and dividing it into a sky region, a person region, and a ground region includes: A sky region and a person region are recognized in a panoramic image, and the sky region and the person region are divided from the panoramic image, and the remaining part is set as a ground region.

2. The method of claim 1, wherein the 3D asteroid dynamic map is generated.

3. generating an asteroid view from the virtual viewpoint, Setting the coordinates of a virtual viewpoint; Based on the asteroid image and asteroid depth map, a 3D warping algorithm is used to create a virtual generating an asteroid view at a viewpoint; The 3D warping algorithm is obtaining a depth value corresponding to the asteroid depth map of the coordinates of the two-dimensional image in the asteroid image RGB map, and back-projecting the two-dimensional coordinate point q onto an actual three-dimensional coordinate point P; rotating or translating the actual three-dimensional coordinate point P to generate P'; reprojecting the rotated or translated virtual three-dimensional coordinate point P' onto a two-dimensional image plane at the virtual viewpoint to generate a two-dimensional coordinate point q', where the depth value reflects front-back occlusion relationships between the three-dimensional objects during the projection; The projection equation of the asteroid view at the virtual viewpoint is shown in Equation (11), 2. The method of claim 1, wherein the 3D asteroid dynamic map is generated.

4. A method for generating a 3D asteroid dynamic map as described in claim 3.

5. In generating the asteroid view from the virtual viewpoint using the 3D warping algorithm, void areas with no pixel information generated by occlusion in front of and behind objects in the original asteroid image are filled with neighboring pixels.

4. The method for generating a 3D asteroid dynamic map according to claim 3.

6. Rendering the asteroid views from the plurality of virtual viewpoints to generate a 3D asteroid dynamic map includes: The asteroid views from n virtual viewpoints generated by n virtual viewpoints on a unit circular orbit are sequentially synthesized and rendered to generate a 3D asteroid dynamic map, where n is a positive integer.

2. The method of claim 1, wherein the 3D asteroid dynamic map is generated.

7. A computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method for generating a 3D asteroid dynamic map according to any one of claims 1 to 6. A computer-readable storage medium comprising:

8. A portable terminal, one or more processors; Memory, and one or more computer programs stored in a memory and configured, when executed by said one or more processors, to implement the steps of the method for generating a 3D asteroid dynamic map according to any one of claims 1 to 6. Portable terminal.

Citation Information

Patent Citations

  • Space simulator, space simulation method, space simulation program and recording medium

    JP2006053694A

  • Depth information generating device, depth information generating method, depth information generating program, pseudo three-dimensional image generating device

    JP2014007715A

  • Image display device, image display method and image display program

    JP2018007180A

  • Method for identifying landmark in panoramic image, device, and storage medium

    JP2021149972A

  • Generating three-dimensional models from images

    US20120041722A1