Three-dimensional reconstruction method and related device
By determining whether shared fast weights exist in the reference time of a fixed camera system during dynamic video reconstruction, and reusing or updating the weights, the problem of low inference efficiency in dynamic 3D reconstruction is solved, thus realizing an efficient 3D reconstruction method.
Patent Information
- Application Number
- CN202611591020.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-14
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, large-scale reconstruction models trained during testing have low inference efficiency, high computational overhead, and high inference latency in dynamic video reconstruction, and fail to effectively utilize the acquisition geometric relationships of fixed multi-view camera systems in the temporal dimension.
By determining whether a reference time with shared fast weights exists in the time dimension of the fixed camera system, if it does, the fast weights of the reference time are reused for processing; otherwise, the fast weights are updated, thus reducing redundant calculations by utilizing the shared acquisition geometry.
It improves the inference efficiency of dynamic 3D reconstruction, reduces inference latency, and reduces redundant calculations, making it suitable for video stream reconstruction and real-time or near-real-time 3D reconstruction applications.
Smart Images

Figure CN123181739A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of three-dimensional reconstruction technology, and in particular to three-dimensional reconstruction methods and related equipment. Background Technology
[0002] In related technologies, existing large-scale reconstruction models based on test-time training achieve cross-view information interaction through fast weights: first, fast weights are constructed by performing an Update based on multi-view features, and then the cross-view information is read and the 3D scene is decoded by applying an Apply. When this type of static model is directly applied to dynamic video, the complete reconstruction process is usually executed independently at each time step, i.e., feature extraction, fast weight update, fast weight application, and scene decoding are performed frame by frame. Although this approach can output dynamic 3D sequences, it does not utilize the shared acquisition geometry of a fixed multi-view camera system in the temporal dimension, resulting in the computationally expensive fast weight update being repeatedly executed at different times, leading to high inference latency. Summary of the Invention
[0003] The main purpose of this application is to provide a three-dimensional reconstruction method and related equipment, which aims to solve the technical problem of low inference efficiency in dynamic three-dimensional reconstruction.
[0004] To achieve the above objectives, this application proposes a three-dimensional reconstruction method, which includes: Based on the shared acquisition geometry of the fixed camera system in the time dimension, determine whether there is a reference moment that shares fast weights with the current moment; If it exists, the multi-view image corresponding to the current time is processed according to the fast weights corresponding to the reference time to obtain the 3D reconstruction result corresponding to the current time.
[0005] In one embodiment, after the step of determining whether there is a reference time that shares fast weights with the current time, the method further includes: If it does not exist, update the fast weight; Based on the updated fast weights, the multi-view image corresponding to the current time is processed to obtain the 3D reconstruction result corresponding to the current time.
[0006] In one embodiment, the step of updating the fast weights further includes: Input the multi-view image corresponding to the current moment into a large reconstruction model trained at test time to obtain the reference key and reference value; Update the fast weights based on the reference key and the reference value.
[0007] In one embodiment, the large reconstruction model based on test-time training includes multiple layers, and the step of updating the fast weights according to the reference key and the reference value includes: For each of the multiple levels, the fast weight corresponding to that level is updated based on the reference key and reference value output by that level.
[0008] In one embodiment, the step of processing the multi-view image corresponding to the current time according to the fast weights corresponding to the reference time to obtain the 3D reconstruction result corresponding to the current time further includes: Encode the multi-view images corresponding to the current moment to obtain image features; Based on the image features, determine the current query corresponding to the current time. Based on the fast weights corresponding to the reference time, perform a fast weight application operation on the current query to obtain the current cross-view fusion features; Based on the current cross-view fusion features, 3D decoding is performed to obtain the 3D reconstruction result corresponding to the current moment.
[0009] In one embodiment, after the step of obtaining the three-dimensional reconstruction result corresponding to the current time, the method further includes: The 3D reconstruction results corresponding to the current moment are output in chronological order to form a streaming 3D reconstruction result.
[0010] Furthermore, to achieve the above objectives, this application also proposes a three-dimensional reconstruction apparatus, which includes: The determination module is used to determine whether there is a reference moment that shares fast weights with the current moment, based on the acquisition geometry relationship shared by the fixed camera system in the time dimension. An image processing module is used to process the multi-view image corresponding to the current time according to the fast weight corresponding to the reference time, if it exists, to obtain the three-dimensional reconstruction result corresponding to the current time.
[0011] In addition, to achieve the above objectives, this application also proposes a three-dimensional reconstruction device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the three-dimensional reconstruction method as described above.
[0012] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the three-dimensional reconstruction method described above.
[0013] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the three-dimensional reconstruction method described above.
[0014] One or more technical solutions proposed in this application have at least the following technical effects: This application discloses a three-dimensional reconstruction method and related equipment, relating to the field of three-dimensional reconstruction technology. Compared with related technologies, which fail to utilize the shared acquisition geometric relationships in the time dimension of a fixed multi-view camera system, resulting in high computational overhead and repeated execution of fast weight updates at different times, leading to high inference latency, this application first determines whether there is a reference time that shares fast weights with the current time based on the shared acquisition geometric relationships in the time dimension of the fixed camera system. Then, if there is, the multi-view image corresponding to the current time is processed according to the fast weights corresponding to the reference time to obtain the three-dimensional reconstruction result corresponding to the current time.
[0015] It is understandable that this application utilizes the acquisition geometry shared by the fixed camera system to directly reuse its fast weights when a reference time exists, avoiding repeated updates of the fast weights at the current time, thereby reducing redundant calculations in dynamic 3D reconstruction, improving inference efficiency and reducing inference latency. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating an embodiment of the three-dimensional reconstruction method of this application. Figure 2 This is a schematic diagram of the three-dimensional reconstruction process provided in Embodiment 1 of the three-dimensional reconstruction method of this application; Figure 3 This is a flowchart illustrating Embodiment 2 of the three-dimensional reconstruction method of this application; Figure 4 This is a schematic diagram of the modular structure of the three-dimensional reconstruction device according to an embodiment of this application; Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the three-dimensional reconstruction method in this application embodiment.
[0019] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0021] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0022] The main solution in this application's embodiments is: In this embodiment, for ease of description, the three-dimensional reconstruction device will be used as the execution subject in the following description.
[0023] Based on this, the embodiments of this application provide a three-dimensional reconstruction method, referring to... Figure 1 and Figure 2 , Figure 1 This is a flowchart illustrating the first embodiment of the three-dimensional reconstruction method of this application. Figure 2 This is a schematic diagram of the three-dimensional reconstruction process provided in Embodiment 1 of the three-dimensional reconstruction method of this application.
[0024] In this embodiment, the three-dimensional reconstruction method includes steps S10 to S20: Step S10: Based on the acquisition geometry shared by the fixed camera system in the time dimension, determine whether there is a reference moment that shares fast weights with the current moment; It should be noted that a fixed camera system refers to a system in which multiple cameras record the same dynamic scene from different perspectives simultaneously, and the camera positions, intrinsic and extrinsic parameters, and acquisition configurations remain fixed.
[0025] Acquisition geometry refers to the viewpoint correspondence, camera parameter relationship, and synchronous acquisition relationship between multi-view images.
[0026] The current time refers to the timestamp of the process currently in progress.
[0027] Fast weights refer to weight states that are temporarily constructed or updated at test time based on the current input in a large reconstruction model trained on test time, and are used to achieve cross-view information interaction.
[0028] The reference time refers to the timestamp where a fast weight update has been performed and the fast weight has been saved, and its fast weight can be reused in subsequent times.
[0029] In this embodiment, based on the shared acquisition geometry of the fixed camera system in the time dimension, it is determined whether the current moment has the same multi-view acquisition geometry as a reference moment with established fast weights. If the camera position, acquisition configuration, and synchronization relationship have not changed, the current moment shares the acquisition geometry with the reference moment, and the fast weights corresponding to the reference moment can be reused.
[0030] Understandably, this step, by determining whether there is a reference moment where fast weights can be shared, avoids blindly re-executing fast weight updates at the current moment, providing a basis for reusing shared fast weights and reducing redundant calculations in the future.
[0031] Step S20: If it exists, process the multi-view image corresponding to the current time according to the fast weight corresponding to the reference time to obtain the three-dimensional reconstruction result corresponding to the current time.
[0032] In this embodiment, after determining that a reference time exists that shares fast weights with the current time, the fast weights corresponding to the reference time are directly obtained and used as the shared fast weights. The multi-view image corresponding to the current time is processed without re-performing the fast weight update operation. Instead, the shared fast weights are used to complete cross-view information interaction, and finally, the 3D reconstruction result corresponding to the current time is decoded.
[0033] It should be noted that the design of time-sharing fast weights leads to a simpler dynamic inference process. At the reference timestamp, a raw TTT Update operation is performed to obtain... (Shared time state). For each subsequent timestamp, the current multi-view image is still processed according to the normal procedure to obtain the current query. However, there is no need to perform a TTT Update again.
[0034] It is worth noting that extending the static model to video does not introduce additional time computations. On the contrary, the time-sharing mechanism eliminates a large amount of redundant computation.
[0035] make , , , These represent the computational costs of current frame processing, TTT Update, Apply, and reconstruction, respectively. The total computational cost of traditional frame-by-frame inference is:
[0036] The total computational cost of the dynamic solution in this application is:
[0037] Therefore, the average time cost of an Update operation is determined by the time cost per timestamp. Reduced to For long videos, this cost is negligible. This property distinguishes it from traditional static-to-dynamic scaling methods that introduce additional time processing modules. This application transforms temporal structure into computational advantage: the shared multi-view geometry allows the cross-view adaptation process to be amortized over time, thereby simultaneously accelerating dynamic reconstruction and inference.
[0038] The entire framework requires no additional training, does not introduce additional parameters or time modules, and can be directly integrated into existing TTT-based LRMs.
[0039] Understandably, this step reduces repetitive cross-view adaptation calculations by skipping the current moment's rapid weight update, thereby reducing inference latency and improving inference efficiency in dynamic 3D reconstruction.
[0040] Specifically, the step of processing the multi-view image corresponding to the current time according to the fast weight corresponding to the reference time to obtain the 3D reconstruction result corresponding to the current time further includes steps S21 to S24: Step S21: Encode the multi-view image corresponding to the current time to obtain image features; It should be noted that image features refer to intermediate representations extracted from multi-view images that can characterize the geometry, appearance, and viewpoint information of a scene.
[0041] In this embodiment, the multi-view image corresponding to the current moment is input into the pre-trained encoder or the encoding part of a large reconstruction model trained at test time to extract the image features at the current moment.
[0042] Understandably, image features are used to generate queries for the current moment, enabling the reconstruction process to retain information about how the current scene changes over time.
[0043] Step S22: Determine the current query corresponding to the current time based on the image features; It should be noted that the current query refers to the query representation obtained from the image features at the current time and used to interact with the fast weights.
[0044] In this embodiment, a query representation corresponding to the current moment is generated based on the image features obtained in step S21. This query changes with the scene's motion, geometry, and appearance at the current moment.
[0045] Understandably, the current query is responsible for carrying dynamic information at the current moment, so that when interacting with the shared fast weights later, the scene content at the current moment can still be reconstructed.
[0046] Step S23: Based on the fast weights corresponding to the reference time, perform a fast weight application operation on the current query to obtain the current cross-view fusion features; It should be noted that the fast weight application operation refers to using a query to read the cross-perspective information stored in the fast weight, thereby completing the cross-perspective information interaction operation.
[0047] The current cross-perspective fusion feature refers to the feature obtained after the current query and shared fast weight interaction, which integrates the current perspective information and cross-time and cross-perspective context information.
[0048] In this embodiment, without skipping the fast weight update operation, the fast weights corresponding to the current query and the reference time are applied to the current query, so that the current query reads the cross-view information in the shared fast weights and obtains the current cross-view fusion features.
[0049] Understandably, by sharing fast weights, a stable cross-perspective context can be obtained without rebuilding the cross-perspective memory at the current moment, while retaining the dynamic scene information in the current query, thereby maintaining reconstruction quality while accelerating the process.
[0050] Step S24: Based on the current cross-view fusion features, perform 3D decoding to obtain the 3D reconstruction result corresponding to the current moment.
[0051] It should be noted that 3D decoding refers to the process of mapping cross-view fused features into a 3D scene representation.
[0052] The 3D reconstruction result refers to the 3D scene representation corresponding to the current moment, such as 3D Gaussian representation or other 3D representation forms.
[0053] In this embodiment, the current cross-view fusion features are input into the 3D decoder or reconstruction head, and the corresponding 3D reconstruction result at the current moment is output.
[0054] Understandably, this step completes the conversion from multi-view images to a 3D scene representation at the current moment, resulting in a 3D reconstruction result that can be used for rendering, display, or subsequent processing.
[0055] Specifically, after the step of obtaining the three-dimensional reconstruction result corresponding to the current moment, step S30 is also included: Step S30: Output the 3D reconstruction results corresponding to the current moment in chronological order to form a streaming 3D reconstruction result.
[0056] It should be noted that the results of streaming 3D reconstruction refer to a series of 3D reconstruction results that are continuously output in chronological order as time progresses.
[0057] In this embodiment, after obtaining the 3D reconstruction result corresponding to the current moment, instead of waiting for the entire video to be processed, the 3D reconstruction result of the current moment is output in chronological order, and the next moment is processed to form a continuous streaming output.
[0058] Understandably, this step makes the 3D reconstruction method applicable to video stream reconstruction under synchronous fixed camera configurations, facilitating real-time or near-real-time deployment in scenarios such as free-viewpoint video, immersive remote communication, sports event display, and virtual reality.
[0059] This application discloses a three-dimensional reconstruction method and related equipment, relating to the field of three-dimensional reconstruction technology. Compared with related technologies, which fail to utilize the shared acquisition geometric relationships in the time dimension of a fixed multi-view camera system, resulting in high computational overhead and repeated execution of fast weight updates at different times, leading to high inference latency, this application first determines whether there is a reference time that shares fast weights with the current time based on the shared acquisition geometric relationships in the time dimension of the fixed camera system. Then, if there is, the multi-view image corresponding to the current time is processed according to the fast weights corresponding to the reference time to obtain the three-dimensional reconstruction result corresponding to the current time.
[0060] It is understandable that this application utilizes the acquisition geometry shared by the fixed camera system to directly reuse its fast weights when a reference time exists, avoiding repeated updates of the fast weights at the current time, thereby reducing redundant calculations in dynamic 3D reconstruction, improving inference efficiency and reducing inference latency.
[0061] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 After the step of determining whether there is a reference time that shares fast weights with the current time, the method further includes steps A10 to A20: Step A10: If it does not exist, update the fast weights; In this embodiment, if there is no reference time that shares fast weights with the current time, it means that the existing fast weights cannot be reused at the current time. In this case, the current time is used as the new reference time, and a fast weight update operation is performed to establish the fast weights corresponding to the current time.
[0062] It is understandable that when shared fast weights cannot be reused, new fast weights should be established in a timely manner to ensure that dynamic 3D reconstruction can still proceed normally and to provide reusable fast weights for subsequent moments that share the acquired geometric relationship with the current moment.
[0063] Specifically, the step of updating the fast weights further includes steps A11 to A12: Step A11: Input the multi-view image corresponding to the current time into the large reconstruction model trained at test time to obtain the reference key and reference value; It should be noted that a large-scale reconstruction model based on test-time training refers to a pre-trained model that performs rapid weight updates temporarily based on the current input during the testing or inference phase, and uses the rapid weights to complete cross-view information interaction and 3D reconstruction.
[0064] Reference keys and reference values refer to the key and value representations obtained from the multi-view image features at the current time and used to update the fast weights.
[0065] In this embodiment, the multi-view image corresponding to the current moment is input into a large reconstruction model trained during test time, and the model extracts features and generates reference keys and reference values.
[0066] Understandably, the reference key and reference value are used for subsequent rapid weight update operations, providing a data foundation for establishing cross-perspective memory at the current moment.
[0067] Step A12: Update the fast weights based on the reference key and the reference value.
[0068] In this embodiment, based on the reference key and reference value obtained in step A11, a fast weight update operation is performed to generate or update the fast weight corresponding to the current moment.
[0069] It is understandable that by updating the weights quickly, the multi-view information of the current moment is written into the weights, making it a cross-view state that can be reused for the current moment and subsequent moments that share the geometric relationship of the acquisition.
[0070] Specifically, the large reconstruction model trained at test time includes multiple layers, and the step of updating the fast weights according to the reference key and the reference value includes: For each of the multiple levels, the fast weight corresponding to that level is updated based on the reference key and reference value output by that level.
[0071] It should be noted that multiple layers refer to multiple feature processing layers or test-time training layers contained in a large reconstruction model based on test-time training.
[0072] In this embodiment, for each of the multiple levels, the reference key and reference value output by that level are obtained, and a fast weight update is performed at that level to obtain the corresponding fast weight. Each level maintains its own fast weight, and they are not mixed across levels.
[0073] Understandably, this step preserves the hierarchical feature processing relationship of the original model, so that when the corresponding level is executed in subsequent time steps, the shared fast weights corresponding to the same level can be called, thereby realizing the corresponding storage and reuse of fast weights in a multi-layer structure.
[0074] Step A20: Based on the updated fast weights, process the multi-view image corresponding to the current time to obtain the 3D reconstruction result corresponding to the current time.
[0075] In this embodiment, after completing the fast weight update, the updated fast weights are used to process the multi-view image corresponding to the current time. Specifically, the multi-view image at the current time can be encoded to obtain image features, and then the current query can be determined based on the image features. The updated fast weights are then used to perform a fast weight application operation on the current query to obtain the current cross-view fusion features. Finally, 3D decoding is performed to obtain the 3D reconstruction result corresponding to the current time.
[0076] Understandably, in the absence of a reusable reference time, the current time updates its fast weights and immediately uses those fast weights to complete the reconstruction. This ensures the reconstruction quality at the current time and allows the updated fast weights to be used as shared fast weights for subsequent times, thus achieving streaming dynamic 3D reconstruction.
[0077] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the three-dimensional reconstruction method of this application. Any simple transformations based on this technical concept are within the protection scope of this application.
[0078] This application also provides a three-dimensional reconstruction device, please refer to... Figure 4 The three-dimensional reconstruction device includes: The determination module 10 is used to determine whether there is a reference moment that shares fast weights with the current moment, based on the acquisition geometric relationship shared by the fixed camera system in the time dimension. Image processing module 20, if present, processes the multi-view image corresponding to the current time according to the fast weight corresponding to the reference time to obtain the three-dimensional reconstruction result corresponding to the current time.
[0079] The three-dimensional reconstruction apparatus provided in this application, employing the three-dimensional reconstruction method described in the above embodiments, can solve the technical problems of three-dimensional reconstruction. Compared with related technologies, the beneficial effects of the three-dimensional reconstruction apparatus provided in this application are the same as those of the three-dimensional reconstruction method provided in the above embodiments, and other technical features in the three-dimensional reconstruction apparatus are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0080] This application provides a three-dimensional reconstruction device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the three-dimensional reconstruction method in the first embodiment described above.
[0081] The following is for reference. Figure 5 The diagram illustrates a structural schematic suitable for implementing the three-dimensional reconstruction device of the embodiments of this application. The three-dimensional reconstruction device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), vehicle terminals (e.g., vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The 3D reconstruction device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0082] like Figure 5 As shown, the 3D reconstruction device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the 3D reconstruction device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the 3D reconstruction equipment to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows 3D reconstruction equipment with various systems, it should be understood that it is not required to implement or possess all of the systems shown. More or fewer systems may be implemented alternatively.
[0083] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0084] The three-dimensional reconstruction device provided in this application, employing the three-dimensional reconstruction method described in the above embodiments, can solve the technical problems of three-dimensional reconstruction. Compared with related technologies, the beneficial effects of the three-dimensional reconstruction device provided in this application are the same as those of the three-dimensional reconstruction method provided in the above embodiments, and other technical features of the three-dimensional reconstruction device are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.
[0085] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0086] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0087] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to perform the three-dimensional reconstruction method in the above embodiments.
[0088] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0089] The aforementioned computer-readable storage medium may be included in the 3D reconstruction device; or it may exist independently and not be assembled into the 3D reconstruction device.
[0090] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the 3D reconstruction device, cause the 3D reconstruction device to: Based on the shared acquisition geometry of the fixed camera system in the time dimension, determine whether there is a reference moment that shares fast weights with the current moment; If it exists, the multi-view image corresponding to the current time is processed according to the fast weights corresponding to the reference time to obtain the 3D reconstruction result corresponding to the current time.
[0091] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0092] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0093] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0094] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described three-dimensional reconstruction method, thereby solving the technical problems of three-dimensional reconstruction. Compared with related technologies, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the three-dimensional reconstruction method provided in the above embodiments, and will not be repeated here.
[0095] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the three-dimensional reconstruction method described above.
[0096] The computer program product provided in this application can solve the technical problems of 3D reconstruction. Compared with related technologies, the beneficial effects of the computer program product provided in this application are the same as those of the 3D reconstruction method provided in the above embodiments, and will not be repeated here.
[0097] The above description is only a part of the embodiments of this application and does not limit the scope of protection of this application. All equivalent structural transformations made under the technical concept of this application and using the content of this application specification and drawings, or direct / indirect applications in other related technical fields, are included in the scope of protection of this application.
Claims
1. A three-dimensional reconstruction method, characterized in that, The three-dimensional reconstruction method includes: Based on the shared acquisition geometry of the fixed camera system in the time dimension, determine whether there is a reference moment that shares fast weights with the current moment; If it exists, the multi-view image corresponding to the current time is processed according to the fast weights corresponding to the reference time to obtain the 3D reconstruction result corresponding to the current time.
2. The three-dimensional reconstruction method as described in claim 1, characterized in that, After determining whether there is a reference time that shares fast weights with the current time, the method further includes: If it does not exist, update the fast weight; Based on the updated fast weights, the multi-view image corresponding to the current time is processed to obtain the 3D reconstruction result corresponding to the current time.
3. The three-dimensional reconstruction method as described in claim 2, characterized in that, The step of updating the fast weights further includes: Input the multi-view image corresponding to the current moment into a large reconstruction model trained at test time to obtain the reference key and reference value; Update the fast weights based on the reference key and the reference value.
4. The three-dimensional reconstruction method as described in claim 3, characterized in that, The large reconstruction model based on test-time training includes multiple layers, and the step of updating the fast weights according to the reference key and the reference value includes: For each of the multiple levels, the fast weight corresponding to that level is updated based on the reference key and reference value output by that level.
5. The three-dimensional reconstruction method as described in claim 1, characterized in that, The step of processing the multi-view image at the current time according to the fast weights corresponding to the reference time to obtain the 3D reconstruction result at the current time further includes: Encode the multi-view images corresponding to the current moment to obtain image features; Based on the image features, determine the current query corresponding to the current time. Based on the fast weights corresponding to the reference time, perform a fast weight application operation on the current query to obtain the current cross-view fusion features; Based on the current cross-view fusion features, 3D decoding is performed to obtain the 3D reconstruction result corresponding to the current moment.
6. The three-dimensional reconstruction method as described in claim 1, characterized in that, After the step of obtaining the 3D reconstruction result corresponding to the current moment, the method further includes: The 3D reconstruction results corresponding to the current moment are output in chronological order to form a streaming 3D reconstruction result.
7. A three-dimensional reconstruction device, characterized in that, The three-dimensional reconstruction device includes: The determination module is used to determine whether there is a reference moment that shares fast weights with the current moment, based on the acquisition geometry shared by the fixed camera system in the time dimension. An image processing module is used to process the multi-view image corresponding to the current time according to the fast weight corresponding to the reference time, if it exists, to obtain the three-dimensional reconstruction result corresponding to the current time.
8. A three-dimensional reconstruction device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the three-dimensional reconstruction method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the three-dimensional reconstruction method as described in any one of claims 1 to 6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the three-dimensional reconstruction method as described in any one of claims 1 to 6.
