Three-dimensional reconstruction method and device

By combining 360° panoramic camera video and IMU data to establish correlation information to determine VO and VIO information, the robustness and accuracy of 3D reconstruction are improved, and the problems of high 3D reconstruction cost and poor scale recovery accuracy of panoramic cameras are solved.

CN118840482AActive Publication Date: 2024-10-25HANGZHOU QIUGUOJIHUA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410851832.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-25
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

The cost of using panoramic cameras for 3D reconstruction in the existing technology is too high, and the scale recovery accuracy and robustness are poor. Especially in the construction of high-precision visual maps in the fields of MR/AR/VR and robotics, the existing technology is difficult to be effective. Covers the entire space and provides accurate scale information.

Method used

By acquiring the video and IMU data captured by the 360° panoramic camera during movement, the correlation between the video and IMU data is established, the visual odometry (VO) information and inertial attitude estimation are determined, and then the visual inertial odometry (VIO) is integrated. Information, determine key frame images, achieve three-dimensional reconstruction, and avoid dependence on scene constraints and laser ranging sensors.

Benefits of technology

Without increasing the cost, the robustness and scale recovery accuracy of 3D reconstruction are improved, the problems of insufficient scene coverage and scale recovery are solved, and more accurate physical scale information is provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840482A_ABST
    Figure CN118840482A_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional reconstruction method and device, and relates to the technical field of computer vision. The specific implementation mode comprises the following steps: acquiring a video and IMU data shot by the 360-degree panorama camera in a moving process; establishing an association relationship between each frame of image in the video and the IMU data to obtain association information; determining VO information and IMU attitude estimation according to the associated information; determining VIO information according to the VO information and IMU attitude estimation; determining a key frame image in the associated information; and performing three-dimensional reconstruction according to the key frame image and the VIO information. The 360-degree panorama camera is used for collecting videos and IMU data, and the problem of insufficient scene coverage is solved. The physical scale information of the panorama camera is determined by using the VIO information, so that the scale recovery problem of the panorama camera is solved, and the robustness in the three-dimensional reconstruction process is improved without adding scene constraints or laser ranging sensors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, specifically to the field of computer vision technology, and in particular to a three-dimensional reconstruction method and device. Background Art

[0002] There are two solutions for building high-precision visual maps in the fields of MR / AR / VR, robotics, etc.: one is to use multi-purpose ordinary cameras for image acquisition, and then complete three-dimensional reconstruction through motion recovery structure. First, the camera's field of view is small and cannot cover the entire space. Second, the short baseline between adjacent cameras greatly affects the accuracy of scale recovery, resulting in poor scale recovery accuracy and robustness of three-dimensional reconstruction.

[0003] Another method uses a panoramic camera. However, since the scale information cannot be restored by a monocular image alone, it is necessary to add scene constraints or a laser ranging sensor, which greatly increases the cost of 3D reconstruction. Summary of the invention

[0004] In view of the problem that the cost of three-dimensional reconstruction using panoramic cameras in the prior art is too high, a three-dimensional reconstruction method, device, electronic device and storage medium are provided.

[0005] According to a first aspect, a three-dimensional reconstruction method is provided, comprising: acquiring video and IMU data taken by a 360° panoramic camera during movement; establishing an association relationship between each frame image in the video and the IMU data to obtain association information; determining VO information and IMU posture estimation based on the association information; determining VIO information based on the VO information and IMU posture estimation; determining a key frame image in the association information; and performing three-dimensional reconstruction based on the key frame image and VIO information.

[0006] According to the second aspect, a three-dimensional reconstruction device is provided, comprising: a first unit, used to obtain video and IMU data taken by a 360° panoramic camera during movement; a second unit, used to establish an association relationship between each frame image in the video and the IMU data to obtain association information; a third unit, used to determine VO information and IMU posture estimation based on the association information; a fourth unit, used to determine VIO information based on the VO information and IMU posture estimation; a fifth unit, used to determine a key frame image in the association information; and a sixth unit, used to perform three-dimensional reconstruction based on the key frame image and the VIO information.

[0007] According to a third aspect, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a method as in any embodiment of the three-dimensional reconstruction method.

[0008] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, a method as in any embodiment of the three-dimensional reconstruction method is implemented.

[0009] According to the solution of this application, a 360° panoramic camera is used to collect video and IMU data to solve the problem of insufficient scene coverage. Based on the associated information, VO information and IMU posture estimation are determined, and then VIO information is determined, thereby determining the physical scale information of the panoramic camera, thereby solving the scale recovery problem of the panoramic camera, and improving the robustness of the 3D reconstruction process without adding scene constraints or adding laser ranging sensors, thereby reducing the cost of 3D reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0011] Figure 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;

[0012] Figure 2 is a flow chart of an embodiment of a three-dimensional reconstruction method according to the present application;

[0013] Figure 3 is a schematic diagram of an application scenario of the three-dimensional reconstruction method according to the present application;

[0014] Figure 4 is a flow chart of another embodiment of the three-dimensional reconstruction method according to the present application;

[0015] Figure 5 is a schematic structural diagram of an embodiment of a three-dimensional reconstruction device according to the present application;

[0016] Figure 6 It is a block diagram of an electronic device used to implement the three-dimensional reconstruction method of an embodiment of the present application. DETAILED DESCRIPTION

[0017] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0018] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. For ease of understanding, some technical terms involved in the present application are briefly introduced below.

[0019] IMU (Inertial Measurement Unit) is a device that measures the three-axis attitude angle (or angular rate) and acceleration of an object.

[0020] VO (Visual Odometry) is an odometer technology based on visual information. It estimates the motion (i.e., changes in position and posture) of a mobile camera by analyzing camera images in consecutive frames.

[0021] VIO (Visual-Inertial Odometry) is a technology that combines visual camera and inertial measurement unit (IMU) data to achieve position and orientation estimation.

[0022] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0023] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of a 3D reconstruction method or a 3D reconstruction apparatus of the present application can be applied.

[0024] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0025] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as video applications, live broadcast applications, instant messaging tools, email clients, social platform software, etc.

[0026] The terminal devices 101, 102, 103 here can be hardware or software. When the terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens, including but not limited to head-mounted wearable devices, smart phones, tablet computers, e-book readers, laptop portable computers and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0027] The server 105 may be a server that provides various services, such as a background server that provides support for the terminal devices 101, 102, and 103. The background server may analyze and process the received video data, and feed back the processing results (such as key frame images) to the terminal device.

[0028] It should be noted that the three-dimensional reconstruction method provided in the embodiment of the present application can be executed by the server 105 or the terminal devices 101, 102, 103, and accordingly, the three-dimensional reconstruction device can be set in the server 105 or the terminal devices 101, 102, 103.

[0029] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0030] Continue to refer Figure 2 , shows a process 200 of an embodiment of a three-dimensional reconstruction method according to the present application. The three-dimensional reconstruction method comprises the following steps:

[0031] Step 201, obtaining the video and IMU data captured by the 360° panoramic camera during movement.

[0032] In this embodiment, the execution subject (eg Figure 1 The server or terminal device shown in the figure can actively acquire or passively receive the video and IMU data taken by the panoramic camera. In one example, the panoramic camera is composed of front and rear binocular or multi-eye cameras, and the IMU data includes three-axis acceleration and three-axis gyroscope data.

[0033] Step 202: Establish an association relationship between each frame image in the video and the IMU data to obtain association information.

[0034] In this embodiment, the execution entity extracts each frame image and the corresponding timestamp information of the video, and performs time synchronization and alignment between the IMU data and each frame image according to the timestamp information.

[0035] Step 203: Determine VO information and IMU posture estimation according to the associated information.

[0036] In this embodiment, the above-mentioned execution entity converts the panoramic image in the associated information into an isometric projection image, which describes the projection from the unit sphere to the image plane, and then calibrates the external parameters of the panoramic camera and IMU through calibration tools and checkerboards. The external parameters include rotation information and translation information.

[0037] The above execution body extracts FAST features on the isometric projection image. It can be understood that the pixels on the u-axis are stretched during the conversion process of the isometric projection image. We use additive Gaussian noise to model the observed features as follows:

[0038]

[0039] Among them, z f is the measured value of the feature point, is the true value of the feature point, v is the vertical angle of each feature point on the equidistant image plane, σ f is the corresponding noise of the pixel feature.

[0040] The FAST features are then tracked and triangulated via Lucas-Kanade optical flow to determine the VO information.

[0041] Furthermore, the execution entity determines the IMU posture estimation by pre-integrating the IMU data of adjacent frame images in the associated information.

[0042] Step 204: Determine VIO information based on the VO information and IMU posture estimation.

[0043] In this embodiment, the above-mentioned execution entity fuses the VO information and the IMU posture estimation through a graph optimization framework to determine the VIO information.

[0044] Step 205: Determine the key frame image in the associated information.

[0045] In this embodiment, the execution subject determines the key frame image through a preset logic.

[0046] In some embodiments, the above-mentioned execution entity determines the key frame image through average disparity. Specifically, the above-mentioned execution entity first determines the average disparity of each frame image in the associated information, and then when the average disparity of the current frame image (i.e., the target frame image) exceeds a preset threshold relative to the average disparity of the previous frame image, the target frame image is determined as the key frame image.

[0047] In other implementation examples, the execution subject determines the key frame image by feature quality, and the feature quality is determined by feature quantity. Specifically, the execution subject determines the feature quantity of each frame image in the associated information, and when the feature quantity of the current frame image (i.e., the target frame image) is lower than a preset threshold, the target frame image is determined as the key frame image.

[0048] Therefore, the embodiment of the present application improves the efficiency of three-dimensional reconstruction through more reasonable and efficient key frame screening.

[0049] Step 206: Perform three-dimensional reconstruction based on the key frame image and VIO information.

[0050] In this embodiment, the above-mentioned execution subject processes the key frame image and VIO information through a monocular vision system, performs aerial triangulation and sparse point cloud generation, and performs subsequent three-dimensional scene reconstruction.

[0051] The method provided by the above embodiment of the present application uses a 360° panoramic camera to collect video and IMU data to solve the problem of insufficient scene coverage. Based on the associated information, VO information and IMU posture estimation are determined, and VIO information is determined through VO information and IMU posture estimation, and then the physical scale information of the panoramic camera is determined, which solves the scale recovery problem of the panoramic camera while providing more accurate scale constraints. Without adding scene constraints or adding laser ranging sensors, the robustness of the three-dimensional reconstruction process is greatly improved.

[0052] Continue to see Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an application scenario of the three-dimensional reconstruction method according to this embodiment. Figure 3 In the application scenario, the execution subject 301 associates the video and IMU data obtained by the panoramic camera to obtain the association information 302, and then processes the association information 302 to obtain the VO information 303 and the IMU attitude estimation 304. After that, the execution subject calls the graph optimization framework to fuse the VO information 303 and the IMU attitude estimation 304 to obtain the VIO information 305. At the same time, the above execution subject also selects the key frame image according to the preset strategy, and finally performs three-dimensional reconstruction 306 based on the key frame image and the VIO information 305.

[0053] Further references Figure 4, which shows a process 400 of another embodiment of the three-dimensional reconstruction method. The process 400 is applied to step 206, and the process 400 includes the following steps:

[0054] Step 401: Optimize the VIO information according to the key frame image.

[0055] In this embodiment, the execution subject (eg Figure 1 When the server or terminal device shown in the figure processes the associated information, a sliding window area is first determined. It can be understood that the associated information is a video stream including multiple frames of images, and the sliding window area includes multiple consecutive frames of images, and the consecutive multiple frames of images include multiple key frame images.

[0056] As the sliding window slides in the video stream, the execution body calculates the projection error of each landmark point in the sliding window area and determines the IMU pre-integration constraints of adjacent key frame images. Finally, the panoramic camera posture corresponding to each key frame image is adjusted according to the projection error and IMU pre-integration constraints obtained above to optimize the VIO information.

[0057] In some detailed embodiments of the present application, the above-mentioned execution subject optimizes the projection error using the bundle adjustment method (Bundle Adjustment, BA). In order to save the amount of calculation, at time i, the system state quantity to be optimized in the sliding window is defined as follows:

[0058] S=[X n ,X n+1 ,…,X n+N ,λ m ,λ m+1 ,…,λ m+M ]

[0059]

[0060] Among them, S represents the system state, n and m represent the IMU body state, N represents the number of key frames in the sliding window, M represents the number of landmark points observed in all key frames in the sliding window, and λ is the inverse depth of the feature point.

[0061] X i Contains the posture of the IMU body in the inertial coordinate system at time i Displacement speed And the acceleration and angular velocity bias estimation in the IMU body coordinate system

[0062] The optimization model of bundle adjustment is as follows:

[0063]

[0064] Among them, r p Residual representing prior information, J p Represents the Jacobian matrix of the prior residual to the state vector; r B Represents the measurement residual of IMU, Represents the pre-integration information between adjacent key frames bk and bk+1, represents the pre-integrated covariance matrix; r C Represents the visual reprojection residual, represents the observed pixel coordinate value of the lth landmark point in the jth frame, is the standard covariance of the image.

[0065] The above three residuals are all expressed in Mahalanobis distance. The residual of the prior information refers to the constraints of the pose and feature points removed from the sliding window. The IMU measurement residual is generated by the IMU between adjacent frames in the sliding window, and the difference between the estimated value and the measured value is the residual. The visual reprojection residual is the reprojection error of the map point in the sliding window on the isometric image of the included panoramic camera.

[0066] The above key frame images are used to establish a sequential 360-degree panoramic image set and record the pose constraint relationship between adjacent key frames.

[0067] Step 402: Perform three-dimensional reconstruction based on the key frame image and the optimized VIO information.

[0068] In this embodiment, the execution subject first converts the key frame image into a multi-view image, and performs three-dimensional reconstruction according to the multi-view image and the optimized VIO information.

[0069] Therefore, this application further improves the robustness of the 3D reconstruction process by continuously optimizing the VIO information.

[0070] In some examples, the execution subject performs multi-view projection correction on the 360° key frame images to obtain a multi-view image set of all key frame images.

[0071] Specifically, the execution subject converts the original input 360° panoramic image into a panoramic sphere space. The execution subject surrounds the panoramic sphere space with a cube space whose side length is equal to that of the panoramic sphere, maps the points on the panoramic sphere surface to the corresponding cube surface, and obtains six multi-view images. Afterwards, the execution subject rotates 45° in a preset direction, and maps the points on the panoramic sphere surface to the corresponding cube surface again, and obtains another six multi-view images. Finally, the execution subject selects a corresponding number of opposite-view images in the horizontal direction and the vertical direction from the twelve multi-view images to form a multi-view image set.

[0072] In some preferred examples, the execution entity selects no less than 6 multi-view images in the horizontal direction and no less than 2 multi-view images in the vertical direction to form a multi-view image set.

[0073] Further references Figure 5 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a three-dimensional reconstruction device. Figure 2 Corresponding to the method embodiment shown in FIG. 1 , in addition to the features described below, the device embodiment may also include Figure 2 The device can be applied to various electronic devices.

[0074] like Figure 5 As shown, the 3D reconstruction device 500 of this embodiment includes: a first unit 501, a second unit 502, a third unit 503, a fourth unit, a fifth unit and a sixth unit. The first unit 501 is used to obtain the video and IMU data taken by the 360° panoramic camera during movement; the second unit 502 is used to establish the association relationship between each frame image in the video and the IMU data to obtain the association information; the third unit 503 is used to determine the VO information and the IMU posture estimation according to the association information; the fourth unit 504 is used to determine the VIO information according to the VO information and the IMU posture estimation; the fifth unit 505 is used to determine the key frame image in the association information; the sixth unit 506 is used to perform 3D reconstruction according to the key frame image and the VIO information.

[0075] In this embodiment, the specific processing of the first unit 501, the second unit 502, the third unit 503, the fourth unit 504, the fifth unit 505 and the sixth unit 506 of the 3D reconstruction device 500 and the technical effects thereof can be referred to in Figure 2 The relevant descriptions of step 201, step 202, step 203, step 204, step 205 and step 206 in the corresponding embodiment are not repeated here.

[0076] In some optional implementations of this embodiment, the sixth unit 506 is further configured to optimize the VIO information according to the key frame image; and perform three-dimensional reconstruction according to the key frame image and the optimized VIO information.

[0077] In some optional implementations of this embodiment, the sixth unit 506 is further configured to convert the key frame image into a multi-view image; and perform three-dimensional reconstruction according to the multi-view image and the optimized VIO information.

[0078] In some optional implementations of this embodiment, the sixth unit 506 is further used to convert the key frame image into a panoramic spherical space; use a cube space to surround the panoramic spherical space to map the landmark points on the panoramic spherical space to the surface of the cube space to obtain multiple multi-view images; wherein the side length of the cube space is equal to the diameter of the panoramic spherical space.

[0079] In some optional implementations of this embodiment, the sixth unit 506 is also used to determine a sliding window area, which includes multiple frames of key frame images; calculate the projection error of each landmark point in the sliding window area; determine the IMU pre-integration constraints of adjacent key frame images; and adjust the camera posture corresponding to each key frame image according to the projection error and the IMU pre-integration constraints to optimize the VIO information.

[0080] In some optional implementations of this embodiment, the fifth unit 505 is also used to determine the average disparity of each frame image in the associated information; in response to the average disparity of the target frame image exceeding a preset threshold relative to the average disparity of the previous frame image, the target frame image is determined as a key frame image.

[0081] In some optional implementations of this embodiment, the fifth unit 505 is further used to determine the number of features of each frame image in the associated information; in response to the number of features of the target frame image being lower than a preset threshold, the target frame image is determined as a key frame image.

[0082] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.

[0083] like Figure 6 , is a block diagram of an electronic device according to a three-dimensional reconstruction method according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0084] like Figure 6As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.

[0085] The memory 602 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable at least one processor to perform the three-dimensional reconstruction method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the three-dimensional reconstruction method provided in the present application.

[0086] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the three-dimensional reconstruction method in the embodiment of the present application (for example, the attached Figure 5 The processor 601 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, implements the 3D reconstruction method in the above method embodiment.

[0087] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the three-dimensional reconstruction electronic device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the three-dimensional reconstruction electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0088] The electronic device of the three-dimensional reconstruction method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0089] The input device 603 can receive input digital or character information, and generate key signal input related to user settings and function control of the three-dimensional reconstruction electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.

[0090] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0091] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0092] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0093] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0094] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0095] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0096] The units involved in the embodiments of the present application may be implemented by software or hardware. The units described may also be provided in a processor, for example, may be described as: a processor comprising a first unit, a second unit, and a third unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the first unit may also be described as a "unit for acquiring video and IMU data captured by a 360° panoramic camera during movement".

[0097] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the device: obtains the video and IMU data taken by the 360° panoramic camera during movement; establishes an association relationship between each frame image and IMU data in the video to obtain association information; determines VO information and IMU posture estimation based on the association information; determines VIO information based on the VO information and IMU posture estimation; determines the key frame image in the association information; and performs three-dimensional reconstruction based on the key frame image and VIO information.

[0098] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

Claims

1. A three-dimensional reconstruction method, the method comprising: Obtain the video and IMU data captured by the 360° panoramic camera during movement; Establishing an association relationship between each frame image in the video and the IMU data to obtain association information; Determine VO information and IMU posture estimation according to the associated information; Determine VIO information based on the VO information and IMU posture estimation; Determining a key frame image in the associated information; Three-dimensional reconstruction is performed according to the key frame image and the VIO information.

2. The method according to claim 1, wherein: Performing three-dimensional reconstruction according to the key frame image and the VIO information includes: Optimizing the VIO information according to the key frame image; Three-dimensional reconstruction is performed according to the key frame image and the optimized VIO information.

3. The method according to claim 2, wherein: Performing three-dimensional reconstruction according to the key frame image and the optimized VIO information includes: Converting the key frame image into a multi-view image; Three-dimensional reconstruction is performed according to the multi-view images and the optimized VIO information.

4. The method according to claim 3, wherein: Converting the key frame image into a multi-view image comprises: Convert key frame images to panorama spherical space; The panoramic sphere space is surrounded by a cube space to map landmark points on the panoramic sphere space to the surface of the cube space to obtain multiple multi-view images; wherein the side length of the cube space is equal to the diameter of the panoramic sphere space.

5. The method according to claim 2, wherein: Optimizing the VIO information according to the key frame image includes: Determine a sliding window area, wherein the sliding window area includes multiple key frame images; Calculate the projection error of each landmark point in the sliding window area; Determine the IMU pre-integration constraints of adjacent key frame images; The camera pose corresponding to each key frame image is adjusted according to the projection error and the IMU pre-integration constraint to optimize the VIO information.

6. The method according to claim 1, wherein: Determining the key frame image in the associated information includes: Determine the average disparity of each frame of image in the association information; In response to the average disparity of the target frame image relative to the average disparity of the previous frame image exceeding a preset threshold, the target frame image is determined as a key frame image.

7. The method according to claim 1, wherein: Determining the key frame image in the associated information includes: Determine the number of features of each frame of image in the association information; In response to the number of features of the target frame image being lower than a preset threshold, the target frame image is determined as a key frame image.

8. A three-dimensional reconstruction device, comprising: The first unit is used to obtain the video and IMU data taken by the 360° panoramic camera during movement; The second unit is used to establish an association relationship between each frame image in the video and the IMU data to obtain association information; A third unit is used to determine VO information and IMU posture estimation according to the associated information; A fourth unit is used to determine VIO information according to the VO information and IMU posture estimation; The fifth unit is to determine the key frame image in the associated information; The sixth unit performs three-dimensional reconstruction according to the key frame image and the VIO information.

9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Visual inertia speedometer method, visual inertia speedometer device and mobile equipment

    CN110246147A

  • Camera pose determination method and device

    CN114399532A