Dynamic scene three-dimensional reconstruction method, device, equipment, storage medium and product
By synchronously acquiring multi-view dynamic videos, identifying static and dynamic regions on a time-stamp basis, and performing differentiated network adaptation for different regions, the problems of increased model complexity and inference cost are solved, and stable 3D reconstruction of dynamic scenes is achieved.
Patent Information
- Application Number
- CN202611432271.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-15
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, adding extra network structures leads to increased complexity and inference costs in dynamic 3D reconstruction models.
By synchronously acquiring multi-view dynamic videos, performing temporal consistency recognition on a time-stamp basis, and performing differentiated network adaptation for different regions, static and dynamic regions are identified, and dynamic scene 3D reconstruction is performed based on the adaptation status, with static regions sharing a state and dynamic regions having an independent state.
It reduces model complexity and inference costs, improves the stability of dynamic object motion and geometric reconstruction, and reduces redundant computations.
Smart Images

Figure CN123181727A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of 3D vision technology, and in particular to a method, apparatus, device, storage medium and product for dynamic scene 3D reconstruction. Background Technology
[0002] With the development of technologies such as virtual reality, augmented reality, digital twins, 3D content generation, and immersive video, rapidly obtaining dynamic 3D scene representations from multi-view video data has become an important technological direction in the fields of computer vision and 3D vision.
[0003] In related technologies, the feedforward dynamic 3D reconstruction method adds a temporal modeling network or a cross-frame feature aggregation module to utilize temporal information for cross-frame analysis, thereby reducing redundant computation. However, adding additional network structures increases model complexity and inference cost. Summary of the Invention
[0004] The main purpose of this application is to provide a method, apparatus, device, storage medium and product for dynamic scene 3D reconstruction, which aims to solve the technical problem that adding additional network structures increases model complexity and inference cost.
[0005] To achieve the above objectives, this application proposes a dynamic scene 3D reconstruction method, which includes: In response to the need for 3D reconstruction of dynamic scenes, multi-view dynamic video is acquired simultaneously; Time consistency identification is performed on different regions in the multi-view dynamic video at each timestamp to obtain static and dynamic regions. Based on the multi-view dynamic video, a regionally differentiated network adaptation is performed on the preset dynamic scene reconstruction model, and dynamic scene 3D reconstruction is performed based on the adaptation state after adaptation. The adaptation state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
[0006] In one embodiment, the step of performing time-series consistency identification on a time-stamp basis on different regions in the multi-view dynamic video to obtain static and dynamic regions includes: The multi-view dynamic video is divided into multiple image blocks corresponding to different viewpoint video images; Identify target image blocks located at the same spatial division position, and calculate the degree of image change of the target image blocks at different timestamps; Based on the degree of image change, the temporal consistency of different spatial division locations is determined; Based on the aforementioned temporal consistency, static and dynamic regions are determined.
[0007] In one embodiment, the step of determining the static region and the dynamic region based on the timing consistency includes: Determine that there is no initial dynamic region where the timing consistency is not specified; Expand the region of the initial dynamic region to obtain the dynamic region; The static region is determined based on the dynamic region.
[0008] In one embodiment, the step of performing region-specific network adaptation on the preset dynamic scene reconstruction model based on the multi-view dynamic video includes: The video images corresponding to each timestamp in the multi-view dynamic video are divided into regions and converted into visual features, the visual features including at least one of dynamic visual features and static visual features; The dynamic visual features and the static visual features are concatenated, and differential network adaptation is performed based on the concatenated feature sequence.
[0009] In one embodiment, the step of concatenating the dynamic visual features and the static visual features, and performing differential network adaptation based on the concatenated feature sequence includes: A preset number of the dynamic visual features are selected and concatenated with all the static visual features to obtain a compressed feature sequence; The adaptation state is calculated sequentially for each target feature in the compressed feature sequence.
[0010] In one embodiment, the step of performing dynamic scene 3D reconstruction based on the adapted state includes: The adaptation state is applied to the corresponding target feature to obtain static adaptation features and dynamic adaptation features; The static adaptation features are used as shared vectors to reconstruct the first feature set corresponding to the static region. The dynamic adaptation features are sequentially restored to the second feature set of the dynamic region; Dynamic scene 3D reconstruction is performed based on the first feature set and the second feature set.
[0011] Furthermore, to achieve the above objectives, this application also proposes a dynamic scene 3D reconstruction device, which includes: The acquisition module is used to simultaneously acquire multi-view dynamic video in response to the needs of 3D reconstruction of dynamic scenes; The identification module is used to perform time-series consistency identification on a time-stamp basis for different regions in the multi-view dynamic video to obtain static regions and dynamic regions. The reconstruction module is used to perform regionally differentiated network adaptation on the preset dynamic scene reconstruction model based on the multi-view dynamic video, and to perform dynamic scene 3D reconstruction based on the adaptation state after adaptation. The adaptation state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
[0012] In addition, to achieve the above objectives, this application also proposes a dynamic scene 3D 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 dynamic scene 3D reconstruction method described above.
[0013] 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 dynamic scene 3D reconstruction method described above.
[0014] 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 dynamic scene 3D reconstruction method described above.
[0015] One or more technical solutions proposed in this application have at least the following technical effects: In related technologies, feedforward dynamic 3D reconstruction methods often incorporate temporal modeling networks or cross-frame feature aggregation modules to utilize temporal information for cross-frame analysis, reducing redundant computation. However, this approach increases model complexity and inference costs due to the added network structure. In contrast, this application responds to the needs of dynamic scene 3D reconstruction by simultaneously acquiring multi-view dynamic videos. It performs temporal consistency identification on a time-stamp basis for different regions in the multi-view dynamic videos to obtain static and dynamic regions. Based on the multi-view dynamic videos, it performs regionally differentiated network adaptation on a preset dynamic scene reconstruction model, and performs dynamic scene 3D reconstruction based on the adapted state. The adapted state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region. It is understood that after receiving the request for 3D reconstruction of a dynamic scene, this application will simultaneously acquire multi-view dynamic video and pre-identify the temporal consistency of different regions in the video on a time-stamp basis to identify static and dynamic regions. The multi-view dynamic video is then input into a preset dynamic scene reconstruction model for region-specific differentiated network adaptation. During network adaptation, the static region shares a common state corresponding to different timestamps, meaning that the network state only needs to be calculated once. In contrast, each timestamp in the dynamic region corresponds to an independent state, meaning that the network state is calculated independently for each timestamp in the dynamic region. Since the static and dynamic regions are pre-divided, the model does not need cross-frame analysis and only needs to calculate the network state once for the static region to reduce redundant calculations, thereby reducing model complexity and inference costs. 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 the prior art, the drawings used in the description of the embodiments or the prior art 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 dynamic scene 3D reconstruction method of this application. Figure 2 This is a schematic diagram of the dynamic and static regions of the dynamic scene 3D reconstruction method of this application; Figure 3 This is a diagram illustrating the overall architecture of the dynamic scene 3D reconstruction method described in this application. Figure 4 This is a flowchart illustrating Embodiment 2 of the dynamic scene 3D reconstruction method of this application; Figure 5 This is a schematic diagram of the module structure of the dynamic scene 3D reconstruction device according to an embodiment of this application; Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the dynamic scene 3D 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 of this application embodiment is as follows: In response to the need for dynamic scene 3D reconstruction, multi-view dynamic video is acquired synchronously; temporal consistency identification is performed on different regions in the multi-view dynamic video for each time stamp to obtain static regions and dynamic regions; based on the multi-view dynamic video, a regionally differentiated network adaptation is performed on a preset dynamic scene reconstruction model, and dynamic scene 3D reconstruction is performed based on the adaptation state after adaptation. The adaptation state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
[0023] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or dynamic scene 3D reconstruction device capable of performing the above functions. The following description uses a dynamic scene 3D reconstruction device as an example to illustrate this embodiment and the subsequent embodiments.
[0024] Based on this, embodiments of this application provide a method for dynamic scene 3D reconstruction, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the dynamic scene 3D reconstruction method of this application.
[0025] In this embodiment, the dynamic scene 3D reconstruction method includes steps S10~S40: Step S10: In response to the need for 3D reconstruction of dynamic scenes, acquire multi-view dynamic videos simultaneously; It should be noted that the execution entity in this embodiment is a dynamic scene 3D reconstruction device. Dynamic scene 3D reconstruction refers to the task requirement of reconstructing a 3D scene that changes over time, which can be triggered manually or by a timed event, or by a custom triggering mode. Multi-view dynamic video refers to an image sequence captured by multiple cameras, containing multiple timestamps and multiple viewpoints. For example, multi-view dynamic video contains T timestamps, each timestamp contains V images corresponding to different viewpoints, and the viewpoints of each camera are fixed. Between adjacent timestamps, most scene areas typically remain unchanged, with only a few objects or areas moving.
[0026] It is understandable that the dynamic scene 3D reconstruction device responds to the needs of dynamic scene 3D reconstruction by simultaneously acquiring multi-view dynamic video, so that the images corresponding to multiple views are aligned in time. That is, the images of each view at the same time point correspond to the dynamic scene at the same moment. The multi-view dynamic video contains T timestamps, and each timestamp contains V images corresponding to the views.
[0027] Step S20: Perform time-series consistency identification on a time-stamp basis for different regions in the multi-view dynamic video to obtain static and dynamic regions; Understandably, temporal consistency refers to the degree of change in visual information at the same spatial location across different timestamps. A static region refers to an area that remains relatively stable across multiple timestamps in a multi-view dynamic video, where the degree of change in visual information does not exceed a preset threshold or an adaptive threshold. A dynamic region refers to an area that changes across multiple timestamps in a multi-view dynamic video, where the degree of change in visual information exceeds a preset threshold or an adaptive threshold.
[0028] It should be noted that the dynamic scene 3D reconstruction device performs time-series consistency identification on a time-stamp basis for different regions in multi-view dynamic videos, obtaining static and dynamic regions. This is based on the degree of change in the time dimension for each viewpoint and fixed spatial location. Therefore, it can accurately distinguish between static regions that maintain temporal consistency across multiple time stamps and dynamic regions that have changed. Figure 2 , Figure 2 A diagram of the dynamic and static regions is provided. Figure 2 In (b), the green part is the static area, and (a) is the dynamic area. The static area occupies most of the image block, leaving only a small part that is dynamic.
[0029] Step S30: Based on the multi-view dynamic video, perform regionally differentiated network adaptation on the preset dynamic scene reconstruction model, and perform dynamic scene 3D reconstruction based on the adapted state. The adapted state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
[0030] It should be noted that the pre-set dynamic scene reconstruction model refers to a pre-trained feedforward 3D reconstruction network used to predict 3D scene representations from multi-view dynamic videos. Adaptation state refers to the parameter or fast weight states established or maintained during network adaptation for feature updates. Shared state refers to the adaptation state shared by different timestamps in a static region. Independent state refers to the adaptation state corresponding to each timestamp separately in a dynamic region.
[0031] Understandably, the dynamic scene 3D reconstruction device performs regionally differentiated network adaptation on the preset dynamic scene reconstruction model. The adaptation states include shared states corresponding to different timestamps in the static region and independent states corresponding to each timestamp in the dynamic region. Therefore, the static region does not need to repeatedly perform feature adaptation and calculation at each timestamp, while the dynamic information of different timestamps in the dynamic region will not affect each other through the shared adaptation states. This reduces the repeated calculations in the multi-view dynamic scene 3D reconstruction process and reduces cross-time dynamic information interference, thereby improving the reconstruction stability of dynamic object movement, geometric structure and appearance changes.
[0032] In one feasible implementation, the step of performing time-series consistency identification on a time-stamp basis for different regions in the multi-view dynamic video to obtain static and dynamic regions includes: The multi-view dynamic video is divided into multiple image blocks corresponding to different viewpoint video images; It should be noted that an image patch refers to a spatially fixed local image region obtained by spatially dividing a video image into viewpoints, i.e., a Patch. The number of image patches can be determined based on the pixel values of the video image. The dynamic scene 3D reconstruction device divides the viewpoint video image corresponding to each viewpoint at each time stamp in a multi-view dynamic video into multiple spatially fixed image patches. Assuming each viewpoint contains P image patches, the total number of tokens corresponding to all timestamps and views is L = T × V × P, referring to... Figure 3 , Figure 3 It provides an overall architecture diagram, which can guide the classification of image blocks after image segmentation following the acquisition of multi-view dynamic video.
[0033] Identify target image blocks located at the same spatial division position, and calculate the degree of image change of the target image blocks at different timestamps; Understandably, the degree of image change refers to the magnitude of change in visual information of a target image patch at the same spatial location between different time points. The dynamic scene 3D reconstruction device acquires image data or feature data of an image patch at different time points for each viewpoint and fixed spatial location. First, it calculates the average visual information of the image patch across all time points. Then, it calculates the maximum difference between each time point image patch and its corresponding time statistics to obtain the degree of image change of the target image patch at different time points.
[0034] Specifically, average visual information: Then calculate the maximum difference between each timestamp patch and the corresponding time statistics: The degree of change Δ determines whether the corresponding patch belongs to the static region. In one implementation, when Δv,i,j≤τ, the corresponding patch is determined to be a static patch; otherwise, it is determined to be a dynamic patch.
[0035] Here, τ can be a pre-set fixed threshold, or it can be determined based on the distribution of changes across all patches using percentiles, statistics, or other adaptive methods. The patch classification process described above can be executed only once at the start of inference, and the classification results can be reused in subsequent token processing across multiple timestamps.
[0036] Based on the degree of image change, the temporal consistency of different spatial division locations is determined; based on the temporal consistency, static regions and dynamic regions are determined.
[0037] It should be noted that the dynamic scene 3D reconstruction device determines whether a spatially divided location remains relatively stable across multiple time points based on the degree of image change at each location. When the degree of image change does not exceed a preset threshold or an adaptive threshold, the spatially divided location is determined to maintain temporal consistency across multiple time points, and its corresponding image block is identified as a static region. When the degree of image change exceeds the preset threshold or the adaptive threshold, the spatially divided location is determined to lack temporal consistency, and its corresponding image block is identified as a dynamic region.
[0038] In one feasible implementation, the steps of determining the static region and the dynamic region based on the timing consistency include: An initial dynamic region is identified where the timing consistency is not found; the region range of the initial dynamic region is expanded to obtain a dynamic region; and the static region is determined based on the dynamic region.
[0039] Understandably, the dynamic scene 3D reconstruction device first determines the initial dynamic region where there is no temporal consistency, then expands the region of the initial dynamic region to obtain the dynamic region, and determines the static region based on the dynamic region. Therefore, it can include image blocks located near the boundary of dynamic objects and image blocks that may be misclassified as static into the dynamic region, thereby reducing misclassification near the boundary of moving objects, reducing the degradation of reconstruction quality caused by misclassification of static regions, and thus improving the stability and reconstruction quality of dynamic scene 3D reconstruction.
[0040] For example, in one embodiment, spatial morphological dilation is performed on the dynamic patch mask so that patches located near the boundary of dynamic objects are included in the dynamic region. In another embodiment, a preset proportion of patches are randomly selected from static patches and promoted to dynamic patches to obtain a dynamic region, and image blocks not included in the dynamic region are determined as static regions.
[0041] Optionally, the step of expanding the region of the initial dynamic region includes: The proportion of the initial dynamic region in all the image blocks is statistically analyzed to obtain the dynamic proportion; the region expansion range is determined according to the dynamic proportion; based on the region expansion range, the initial dynamic region is expanded to obtain the dynamic region; wherein the higher the dynamic proportion, the smaller the region expansion range, and the lower the dynamic proportion, the larger the region expansion range.
[0042] It should be noted that the dynamic scene 3D reconstruction device first calculates the proportion of the initial dynamic region in all image blocks to obtain the dynamic proportion. Then, it determines the region expansion range based on the dynamic proportion. When the dynamic proportion is high, it means that the area in the scene that has changed is already large. In this case, a smaller region expansion range is used to avoid the dynamic region from further encroaching on the static region. When the dynamic proportion is low, it means that most areas in the scene maintain temporal consistency. In this case, a larger region expansion range is used to ensure that the image blocks near the boundaries of dynamic objects are fully included in the dynamic region.
[0043] The step of calculating the proportion of the initial dynamic region in all the image blocks to obtain the dynamic proportion, and determining the region expansion rate according to the dynamic proportion, includes: According to the chronological order of the timestamps, the ratio between the number of image blocks in the initial dynamic region at each timestamp and the total number of image blocks at that timestamp is calculated to obtain the dynamic proportion sequence corresponding to each timestamp; the dynamic proportion change trend is determined according to the dynamic proportion change sequence, wherein the dynamic proportion change trend includes at least one of an increasing trend, a decreasing trend, and a stable trend; the region expansion magnitude corresponding to each timestamp is determined according to the dynamic proportion change trend.
[0044] Understandably, the dynamic scene 3D reconstruction device counts the number of image blocks contained in the initial dynamic region at each time point in the multi-view dynamic video, as well as the total number of image blocks at that time point, calculates the ratio between the two, obtains the dynamic proportion corresponding to that time point, and arranges these dynamic proportions into a dynamic proportion sequence according to the chronological order of the timestamps. The device then analyzes this sequence to determine whether the overall trend of the dynamic proportion is increasing, decreasing, or stable. If the trend is increasing, a larger region expansion is applied to later timestamps in the time sequence to cover a larger area that the dynamic object may reach in subsequent timestamps. If the trend is decreasing, a smaller region expansion is applied to later timestamps to avoid unnecessary over-expansion of the dynamic region at timestamps where the dynamic object has gradually moved away.
[0045] In this embodiment, the visual tokens in the multi-timestamp input are divided into static tokens and dynamic tokens according to the degree of temporal change. Static tokens that remain stable in multiple timestamps are shared across time. Since the static region does not need to repeat feature adaptation and calculation at each timestamp, the number of tokens actually involved in the calculation is reduced from the traditional T(S+D) to S+TD. Therefore, it can reduce the repeated calculations in the 3D reconstruction process of multi-view dynamic scenes and improve inference efficiency.
[0046] 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 the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 4 Step S30, the dynamic scene 3D reconstruction method further includes steps S01~S02: Step S01: The video images corresponding to each timestamp in the multi-view dynamic video are divided into regions and converted into visual features. The visual features include at least one of dynamic visual features and static visual features. It should be noted that visual features refer to the feature representation obtained by feature encoding or linear mapping of image blocks in a video image, i.e., visual tokens. The dynamic scene 3D reconstruction device, for each time stamp and viewpoint in a multi-view dynamic video, converts the image blocks corresponding to the static regions into static visual features through feature encoding or linear mapping, and converts the image blocks corresponding to the dynamic regions into dynamic visual features through feature encoding or linear mapping, based on the determined static and dynamic region division results.
[0047] Step S02: The dynamic visual features and the static visual features are spliced together, and differential network adaptation is performed based on the spliced feature sequence.
[0048] Understandably, the dynamic scene 3D reconstruction device concatenates the static visual features corresponding to the static region and the dynamic visual features corresponding to the dynamic region in the form of a compact token sequence to obtain a concatenated feature sequence. This feature sequence contains a shared static token and a dynamic token corresponding to each timestamp. Then, based on this concatenated feature sequence, differential network adaptation is performed. The static visual features are adapted using a shared state, while the dynamic visual features are adapted using an independent state corresponding to each timestamp. This reduces the number of tokens involved in the calculation while enabling the static and dynamic regions to obtain feature updates that match their temporal characteristics.
[0049] In one feasible implementation, the steps of concatenating the dynamic visual features and the static visual features, and performing differential network adaptation based on the concatenated feature sequence include: A preset number of the dynamic visual features are selected and concatenated with all the static visual features to obtain a compressed feature sequence; the adaptation state is calculated for each target feature in the compressed feature sequence in turn.
[0050] It should be noted that the dynamic scene 3D reconstruction device randomly selects a portion or one dynamic visual feature from all dynamic visual features, and concatenates the randomly selected dynamic visual features with all static visual features to obtain a compressed feature sequence. Then, according to the arrangement order of each target feature in the compressed feature sequence, it calculates the corresponding adaptation state for each target feature. For static visual features in the compressed feature sequence, the shared state corresponding to the static region is calculated based on the shared static token, and this shared state only needs to be calculated once and used by multiple timestamps. For dynamic visual features in the compressed feature sequence, an independent state is established for each timestamp, so that the adaptation states corresponding to dynamic visual features at different timestamps are independent of each other. This completes the calculation of the adaptation state of all target features in the compressed feature sequence and avoids mutual interference between dynamic scene information at different timestamps.
[0051] Specifically, for static tokens, since their corresponding regions maintain temporal consistency across different timestamps, the corresponding token is no longer repeatedly retained for each timestamp. In one implementation, the static token corresponding to the first timestamp is used as the representative token: and the token This serves as a shared representation for all static regions corresponding to timestamps. For dynamic tokens, the dynamic token corresponding to each timestamp is retained: This allows for the construction of a compact token sequence: Traditional processing methods require processing Each token, after being merged using the time-aware tokens in this application, only requires processing: Tokens.
[0052] In one implementation, the shared network adaptation state is used for feature updates of the shared static token. First, the adaptation state corresponding to the static region is calculated based on the shared static token:
[0053] Then, the shared static token is processed using the aforementioned adaptation state:
[0054] For dynamic regions, since different timestamps may correspond to different object positions, poses, occlusion relationships, and appearance changes, dynamic tokens with different timestamps are not shared for adaptation. Instead, an independent dynamic adaptation state is established for each timestamp.
[0055] Subsequently, we obtained:
[0056] The adaptation states corresponding to dynamic tokens with different timestamps are independent of each other, thereby avoiding mutual interference between dynamic scene information at different timestamps.
[0057] In one feasible implementation, the steps for dynamic scene 3D reconstruction based on the adapted state include: The adaptation state is applied to the corresponding target feature to obtain static adaptation features and dynamic adaptation features; the static adaptation features are used as shared vectors to restore the first feature set corresponding to the static region; the dynamic adaptation features are sequentially restored to the second feature set of the dynamic region; and dynamic scene 3D reconstruction is performed based on the first feature set and the second feature set.
[0058] Understandably, the dynamic scene 3D reconstruction device applies shared states to static visual features to obtain static adaptation features, applies independent states corresponding to each timestamp to the dynamic visual features of that timestamp to obtain dynamic adaptation features, and then copies or maps the static adaptation features as shared vectors to the static regions corresponding to each timestamp to restore the first feature set corresponding to the static region. The dynamic adaptation features are then restored to their original temporal and spatial positions according to the original timestamp, viewpoint, and spatial position index corresponding to each token to restore the second feature set corresponding to the dynamic region. Finally, the complete spatiotemporal token layout composed of the first and second feature sets is input into a pre-trained 3D representation decoding module to obtain the dynamic 3D scene representation corresponding to each timestamp, thus achieving dynamic scene 3D reconstruction after token recovery. Figure 3 As shown, the Token layout will be restored after processing by the core adaptation module.
[0059] Specifically, after completing the above feature processing, tokens are restored based on their original timestamps, viewpoints, and spatial location indices. For dynamic tokens, the dynamic tokens corresponding to each timestamp are restored to their original time and spatial locations. For shared static tokens, the adapted static tokens are copied or mapped to the static regions corresponding to each timestamp. That is, for any timestamp t:
[0060] Further, the recovered complete token layout is input into a pre-trained 3D representation decoding module. In one implementation, the 3D representation is a 3D Gaussian representation, with each timestamp corresponding to a set of 3D Gaussian primitives. In other implementations, the 3D representation can be a point cloud, voxel, neural radiation field, implicit field, explicit geometric representation, or other 3D scene representations suitable for novel perspective synthesis. For any timestamp t, the recovered corresponding token is input into the 3D representation decoder to obtain:
[0061] This allows for the creation of dynamic 3D scenes with multiple timestamps, and new perspective rendering can be performed based on the target camera pose.
[0062] In this embodiment, dynamic region tokens are retained according to timestamps, and independent adaptation states are adopted for dynamic tokens with different timestamps. Since dynamic scene information with different timestamps will not affect each other through sharing adaptation states, cross-time dynamic information interference can be reduced, and the reconstruction stability of dynamic object motion, geometric structure and appearance changes can be improved. Furthermore, the tokens after temporal merging and adaptation are restored to the original time, viewpoint and spatial layout. Since the topology of the restored tokens is consistent with the original input, the original Transformer module, residual connection and 3D representation decoding module can continue to be used for processing without large-scale structural modifications to the downstream 3D reconstruction network.
[0063] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the dynamic scene 3D reconstruction method of this application. Any simple transformations based on this technical concept are within the protection scope of this application.
[0064] All user-related data involved in this application were obtained with the user's permission or consent; that is, when this application is applied to specific products or technologies, user permission is required to obtain and process the relevant data.
[0065] This application also provides a dynamic scene 3D reconstruction device, please refer to... Figure 5 The dynamic scene 3D reconstruction device includes: The acquisition module 10 is used to simultaneously acquire multi-view dynamic video in response to the needs of dynamic scene 3D reconstruction; The identification module 20 is used to perform time-series consistency identification on a time-stamp basis for different regions in the multi-view dynamic video to obtain static regions and dynamic regions. The reconstruction module 30 is used to perform regionally differentiated network adaptation on the preset dynamic scene reconstruction model based on the multi-view dynamic video, and to perform dynamic scene 3D reconstruction based on the adaptation state after adaptation. The adaptation state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
[0066] Optionally, the identification module includes: The segmentation submodule is used to divide the video images corresponding to different viewpoints in the multi-view dynamic video into multiple image blocks; determine the target image blocks located in the same segmentation space, calculate the degree of image change of the target image blocks at different timestamps; determine the temporal consistency of different segmentation space locations based on the degree of image change; and determine static regions and dynamic regions based on the temporal consistency.
[0067] Optionally, the partitioning submodule includes: An expansion unit is used to determine an initial dynamic region where the timing consistency does not exist; expand the region range of the initial dynamic region to obtain a dynamic region; and determine the static region based on the dynamic region.
[0068] Optionally, the reconstruction module includes: The stitching submodule is used to convert the video images corresponding to each timestamp in the multi-view dynamic video into visual features by region, wherein the visual features include at least one of dynamic visual features and static visual features; to stitch the dynamic visual features and the static visual features, and to perform differential network adaptation based on the stitched feature sequence.
[0069] Optionally, the splicing submodule includes: A random selection unit is used to select a preset number of the dynamic visual features and concatenate them with all the static visual features to obtain a compressed feature sequence; and to calculate the adaptation state for each target feature in the compressed feature sequence in turn.
[0070] Optionally, the random selection unit includes: The restoration subunit is used to apply the adaptation state to the corresponding target feature to obtain static adaptation features and dynamic adaptation features; the static adaptation features are used as a shared vector to restore the first feature set corresponding to the static region; the dynamic adaptation features are sequentially restored to the second feature set of the dynamic region; and dynamic scene 3D reconstruction is performed based on the first feature set and the second feature set.
[0071] The dynamic scene 3D reconstruction device provided in this application, employing the dynamic scene 3D reconstruction method in the above embodiments, can solve the technical problem of dynamic scene 3D reconstruction. Compared with the prior art, the beneficial effects of the dynamic scene 3D reconstruction device provided in this application are the same as those of the dynamic scene 3D reconstruction method provided in the above embodiments, and other technical features in the dynamic scene 3D reconstruction device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0072] This application provides a dynamic scene 3D 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, and the instructions are executed by the at least one processor to enable the at least one processor to perform the dynamic scene 3D reconstruction method in the above embodiment 1.
[0073] The following is for reference. Figure 6The diagram illustrates a structural schematic suitable for implementing the dynamic scene 3D reconstruction device of the embodiments of this application. The dynamic scene 3D reconstruction device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, tablets, digital broadcast receivers, PDAs (Personal Digital Assistants), PMPs (Portable Media Players), vehicle terminals (e.g., vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The dynamic scene 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.
[0074] like Figure 6 As shown, the dynamic scene 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 dynamic scene 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 dynamic scene 3D reconstruction device to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows dynamic scene 3D reconstruction devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0075] 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.
[0076] The dynamic scene 3D reconstruction device provided in this application, employing the dynamic scene 3D reconstruction method in the above embodiments, can solve the technical problem of dynamic scene 3D reconstruction. Compared with the prior art, the beneficial effects of the dynamic scene 3D reconstruction device provided in this application are the same as the beneficial effects of the dynamic scene 3D reconstruction method provided in the above embodiments, and other technical features in this dynamic scene 3D reconstruction device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0077] 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.
[0078] 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.
[0079] 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 execute the dynamic scene 3D reconstruction method in the above embodiments.
[0080] 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, 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, 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.
[0081] The aforementioned computer-readable storage medium may be included in the dynamic scene 3D reconstruction device; or it may exist independently and not assembled into the dynamic scene 3D reconstruction device.
[0082] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by the dynamic scene 3D reconstruction device, the dynamic scene 3D reconstruction device: responds to the dynamic scene 3D reconstruction requirement by synchronously acquiring multi-view dynamic video; performs temporal consistency identification on a time-stamp basis for different regions in the multi-view dynamic video to obtain static regions and dynamic regions; and performs regional differentiated network adaptation on a preset dynamic scene reconstruction model based on the multi-view dynamic video, and performs dynamic scene 3D reconstruction based on the adapted state, wherein the adapted state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
[0083] 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).
[0084] 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.
[0085] 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.
[0086] 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 dynamic scene 3D reconstruction method, and is capable of solving the technical problem of dynamic scene 3D reconstruction. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the dynamic scene 3D reconstruction method provided in the above embodiments, and will not be repeated here.
[0087] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the dynamic scene 3D reconstruction method described above.
[0088] The computer program product provided in this application can solve the technical problem of dynamic scene 3D reconstruction. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the dynamic scene 3D reconstruction method provided in the above embodiments, and will not be repeated here.
[0089] 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 method for dynamic scene 3D reconstruction, characterized in that, The dynamic scene 3D reconstruction method includes: In response to the need for 3D reconstruction of dynamic scenes, multi-view dynamic video is acquired simultaneously; Time consistency identification is performed on different regions in the multi-view dynamic video at each timestamp to obtain static and dynamic regions. Based on the multi-view dynamic video, a regionally differentiated network adaptation is performed on the preset dynamic scene reconstruction model, and dynamic scene 3D reconstruction is performed based on the adaptation state after adaptation. The adaptation state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
2. The dynamic scene 3D reconstruction method as described in claim 1, characterized in that, The step of performing time-series consistency identification on a time-stamp basis for different regions in the multi-view dynamic video to obtain static and dynamic regions includes: The multi-view dynamic video is divided into multiple image blocks corresponding to different viewpoint video images; Identify target image blocks located at the same spatial division position, and calculate the degree of image change of the target image blocks at different timestamps; Based on the degree of image change, the temporal consistency of different spatial division locations is determined; Based on the aforementioned temporal consistency, static and dynamic regions are determined.
3. The dynamic scene 3D reconstruction method as described in claim 2, characterized in that, The step of determining the static and dynamic regions based on the temporal consistency includes: Determine that there is no initial dynamic region where the timing consistency is not specified; Expand the region of the initial dynamic region to obtain the dynamic region; The static region is determined based on the dynamic region.
4. The dynamic scene 3D reconstruction method as described in claim 1, characterized in that, The step of performing region-specific network adaptation on the preset dynamic scene reconstruction model based on the multi-view dynamic video includes: The video images corresponding to each timestamp in the multi-view dynamic video are divided into regions and converted into visual features, the visual features including at least one of dynamic visual features and static visual features; The dynamic visual features and the static visual features are concatenated, and differential network adaptation is performed based on the concatenated feature sequence.
5. The dynamic scene 3D reconstruction method as described in claim 4, characterized in that, The step of concatenating the dynamic visual features and the static visual features, and performing differential network adaptation based on the concatenated feature sequence includes: A preset number of the dynamic visual features are selected and concatenated with all the static visual features to obtain a compressed feature sequence; The adaptation state is calculated sequentially for each target feature in the compressed feature sequence.
6. The dynamic scene 3D reconstruction method as described in claim 5, characterized in that, The steps for dynamic scene 3D reconstruction based on the adapted state include: The adaptation state is applied to the corresponding target feature to obtain static adaptation features and dynamic adaptation features; The static adaptation features are used as shared vectors to reconstruct the first feature set corresponding to the static region. The dynamic adaptation features are sequentially restored to the second feature set of the dynamic region; Dynamic scene 3D reconstruction is performed based on the first feature set and the second feature set.
7. A dynamic scene 3D reconstruction device, characterized in that, The device includes: The acquisition module is used to simultaneously acquire multi-view dynamic video in response to the needs of 3D reconstruction of dynamic scenes; The identification module is used to perform time-series consistency identification on a time-stamp basis for different regions in the multi-view dynamic video to obtain static regions and dynamic regions. The reconstruction module is used to perform regionally differentiated network adaptation on the preset dynamic scene reconstruction model based on the multi-view dynamic video, and to perform dynamic scene 3D reconstruction based on the adaptation state after adaptation. The adaptation state includes a shared state corresponding to different timestamps in the static region and an independent state corresponding to each timestamp in the dynamic region.
8. A dynamic scene 3D 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 dynamic scene 3D 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 dynamic scene 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 dynamic scene 3D reconstruction method as described in any one of claims 1 to 6.
