Method and system for generating video on the basis of scene reconstruction, and storage medium
Through sparse reconstruction and implicit modeling methods, the problems of scene reconstruction defects and poor realism caused by the display grid model in the existing technology are solved, and higher-quality three-dimensional scene roaming video rendering is achieved, which is especially suitable for large-scale applications. Reconstruction of the scene.
Patent Information
- Application Number
- PCT/SG2024/050214
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-25
- Filing Date
- 2024-04-01
- Publication Date
- 2024-10-31
AI Technical Summary
In the scene reconstruction based on image data, the existing technology uses a display grid model to cause grid defects and poor realism, especially in large-scale scene reconstruction and free-view roaming video rendering.
The method of sparse reconstruction and implicit modeling is used to obtain the image data to be reconstructed and perform sparse reconstruction to obtain the reconstruction result. Then, implicit modeling is performed based on the reconstructed data to generate the target video and realize scene roaming of the preset three-dimensional scene.
It improves the accuracy of scene modeling results and the realism of scene roaming videos, and is suitable for reconstruction tasks of large-scale scenes such as aerial photography data.
Smart Images

Figure SG2024050214_31102024_PF_FP_ABST
Abstract
Description
[0001]Method, Storage Medium, and System for Generating Video Based on Scene Reconstruction Cross-Reference This disclosure claims priority to Chinese patent application No. 202310467335.3, filed with the China Patent Office on April 25, 2023, entitled "Method, Storage Medium, and System for Generating Video Based on Scene Reconstruction," the entire contents of which are incorporated herein by reference. Technical Field This disclosure relates to computer technology, artificial intelligence technology, and virtual reality / augmented reality technology. Specifically, it relates to a method, storage medium, and system for generating video based on scene reconstruction. Background: In recent years, the technical concept of reconstructing three-dimensional virtual scenes based on image data (such as aerial photography data and remote sensing data) has gained increasing application value in areas such as oblique photography, topographic mapping, cultural tourism promotion, scenic area / park / building reconstruction, and virtual reality roaming. However, existing methods for scene reconstruction based on image data typically employ a display mesh model (also known as display modeling). The resulting mesh models often suffer from numerous defects (such as geometric errors and holes), making it difficult to achieve a good free-viewpoint scene navigation experience. Even after manual optimization, scene navigation videos rendered based on these mesh models still exhibit poor realism. Currently, no effective solutions have been proposed to address these issues. The present disclosure provides a method, storage medium, and system for generating videos based on scene reconstruction to at least address the technical issues of the prior art's use of display modeling for scene reconstruction, which results in numerous modeling defects and poor realism in scene navigation videos. According to one aspect of an embodiment of the present disclosure, a method for generating a video based on scene reconstruction is provided, comprising: obtaining image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; and generating a target video using the modeling result, wherein the target video is configured to perform scene roaming of the preset three-dimensional scene.According to another aspect of an embodiment of the present disclosure, a method for generating a video based on scene reconstruction is provided, comprising: in response to an input instruction applied to an operation interface, displaying image data to be reconstructed on the operation interface, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; and in response to a reconstruction instruction applied to the operation interface, displaying a target video on the operation interface, wherein the target video is configured to perform a scene roaming of the preset three-dimensional scene, and the target video is generated using a modeling result, wherein the modeling result is obtained by implicitly modeling the image data to be reconstructed and the reconstruction result, and the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed. According to another aspect of an embodiment of the present disclosure, a method for generating a video based on scene reconstruction is provided, comprising: displaying an initial default screen on a presentation screen of a virtual reality (VR) device or an augmented reality (AR) device; and driving the VR or AR device to jump from the initial default screen to displaying a target video, wherein the target video is configured to perform a scene walkthrough of a preset three-dimensional scene to be reconstructed, and the target video is generated using a modeling result, wherein the modeling result is obtained by implicitly modeling image data to be reconstructed and a reconstruction result, wherein the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed, and the image data to be reconstructed is configured to record an image of the preset three-dimensional scene. According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device containing the computer-readable storage medium is controlled to perform any one of the aforementioned methods for generating a video based on scene reconstruction. The embodiments may be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not necessarily limited to the steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to the process, method, product, or apparatus. First, some terms or terms used in describing the embodiments of the present disclosure are subject to the following interpretations: Neural Radiance Fields (NeRF): refers to a method that uses deep learning technology to integrate images and three-dimensional spatial deformation to generate high-quality three-dimensional scenes. In this disclosure, NeRF refers to a method for reconstructing three-dimensional scenes based on multiple images and an implicit mesh model. Structure from Motion (SfM): refers to a technique for estimating the structure of a three-dimensional scene based on a sequence of multiple two-dimensional images. Multi-layer Perceptron (MLP): refers to a neural network comprising multiple fully connected layers. In recent years, the technical concept of reconstructing three-dimensional virtual scenes based on image data (such as aerial photography and remote sensing data) has seen increasing application value in fields such as oblique photography, topographic mapping, cultural tourism promotion, scenic area / park / building reconstruction, and virtual reality roaming. However, existing methods for generating videos based on scene reconstruction using image data typically employ a reconstruction concept that displays mesh models. The resulting mesh models have numerous defects (such as geometric errors and holes), making it difficult to provide a good free-viewpoint scene roaming experience. Even after manual optimization, scene roaming videos rendered based on these mesh models still lack realism. Building on the above existing technologies, technicians in related fields have proposed the NeRF algorithm. Using the NeRF algorithm during scene reconstruction, they generate modeling results through implicit modeling, and then render scene images based on these modeling results. However, prior to this disclosure, existing NeRF algorithms were designed for object model reconstruction or small-scale scene reconstruction, and were difficult to apply to large-scale scene reconstruction tasks (such as campus and city scenes corresponding to aerial photography data, or terrain and land parcel scenes corresponding to remote sensing data). Furthermore, the reconstruction results obtained based on existing NeRF algorithms are difficult to render into realistic free-viewpoint scene roaming videos.Embodiment 1 According to an embodiment of the present disclosure, a method embodiment for generating video based on scene reconstruction is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system, such as a set of computer-executable instructions. Furthermore, although the flowcharts illustrate a logical order, in some cases, the steps shown or described may be executed in a different order. The method embodiment provided in Embodiment 1 of the present disclosure can be executed in a mobile terminal, a computer terminal, or a similar computing device. Figure 1 shows a hardware block diagram of a computer terminal (or mobile device) configured to implement the method for generating video based on scene reconstruction. As shown in Figure 1, the computer terminal 10 (or mobile device 10) may include one or more processors 102 (illustrated as 102a, 102b, 102n in the figure) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor (MCU) or a field programmable gate array (FPGA)), a memory 104 configured to store data, and a transmission device 106 configured to perform communication functions. In addition, the computer terminal 10 may also include: a display, an input / output interface (I / O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of a BUS), a network interface, a cursor control device (such as a mouse, touchpad, etc.), a keyboard, a power supply, and / or a camera. Those skilled in the art will appreciate that the structure shown in FIG1 is schematic and does not limit the structure of the electronic device described above. For example, the computer terminal 10 may include more or fewer components than shown in FIG1 , or have a configuration different from that shown in FIG1 . It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry." The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuitry may be a single independent processing module, or may be fully or partially integrated into any of the other components of the computer terminal 10 (or mobile device). As involved in the embodiments of the present disclosure, the data processing circuit acts as a processor control (eg, selection of a variable resistance terminal path connected to an interface).The memory 104 can be used to store software programs and modules for application software, such as the program instructions / data storage device corresponding to the method for generating video based on scene reconstruction in the embodiments of the present disclosure. The processor 102 executes the software programs and modules stored in the memory 104 to perform various functional applications and data processing, thereby implementing the method for generating video based on scene reconstruction. The memory 104 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located from the processor 102. Such remote memory can be connected to the computer terminal 100 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. The transmission device 106 is configured to connect to the network via a network interface to receive or transmit data. Specific examples of such networks may include wired and / or wireless networks provided by the communication provider of the computer terminal 100. In one example, the transmission device 106 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module configured to communicate with the Internet wirelessly. The display shown in FIG1 can be, for example, a touchscreen liquid crystal display (LCD), which enables a user to interact with the user interface of the computer terminal 10 (or mobile device). It should be noted that in some optional embodiments, the computer device (or mobile device) shown in FIG1 can include hardware components (including circuits), software components (including computer code stored on a computer-readable medium), or a combination of hardware and software components. It should be noted that FIG1 is an example of a specific embodiment and is intended to illustrate the types of components that may be present in the computer device (or mobile device). It should be noted that in some embodiments, the computer device (or mobile device) shown in FIG1 has a touchscreen display (also known as a "touchscreen" or "touch display screen").In some embodiments, the computer device (or mobile device) shown in FIG. 1 has a graphical user interface (GUI). A user can interact with the GUI through finger contacts and / or gestures on a touch-sensitive surface. Optional human-computer interaction functions include: creating web pages, drawing, word processing, creating electronic documents, gaming, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music, and / or browsing the web. Executable instructions configured to perform these human-computer interaction functions are configured or stored in a computer program product or readable storage medium executable by one or more processors. The method embodiment provided in Example 1 of the present disclosure can be performed in a virtual reality (VR) device or an augmented reality (AR) device. Taking a VR device as an example, FIG. 2 is a schematic diagram of the hardware environment of a VR device for a method for generating video based on scene reconstruction according to Example 1 of the present disclosure. As shown in Figure 2 , a virtual reality device 204 is connected to a terminal 206, which is in turn connected to a server 202 via a network. The virtual reality device 204 is not limited to a virtual reality helmet, virtual reality glasses, or all-in-one virtual reality device. The terminal 204 is not limited to a PC, mobile phone, or tablet computer. Server 202 can be a server of a media file provider. The network includes, but is not limited to, a wide area network, a metropolitan area network, or a local area network. Optionally, the virtual reality device 204 in this embodiment of the present disclosure includes a memory, a processor, and a transmission device (not shown in Figure 2 ). The memory is configured to store an application program, which can be configured to execute the method for generating video based on scene reconstruction provided in this embodiment of the present disclosure. The processor can call and execute the application program stored in the memory to obtain target grid points corresponding to the part to be identified using the method for generating video based on scene reconstruction provided in this embodiment of the present disclosure. Optionally, the terminal 206 of the disclosed embodiment may also be configured to execute the method for generating video based on scene reconstruction, and display the target grid points corresponding to the part to be identified on the display screen of the VR device or AR device, or display the target grid points corresponding to the part to be identified generated by executing the method for generating video based on scene reconstruction on an image output device associated with the VR device or AR device. The hardware structure block diagram shown in FIG2 can serve not only as an exemplary block diagram of the hardware environment of the aforementioned AR / VR device (or mobile device), but also as an exemplary block diagram of the aforementioned server.Figure 3 is a block diagram of a computing environment for a method for generating video based on scene reconstruction according to Example 1 of the present disclosure. Figure 3 illustrates an embodiment using the VR device (or mobile device) shown in Figure 2 as a computing node in computing environment 301. Still as shown in Figure 3 , computing environment 301 includes multiple computing nodes (e.g., servers) (illustrated in Figure 3 as 310-1, 310-2, ...) running on a distributed network. Each computing node includes local processing and memory resources. End users 302 can remotely run applications or store data in computing environment 301. Applications can be provided as multiple services 320-1 (representing service A), 320-2 (representing service D), 320-3 (representing service E), and 320-4 (representing service H) in computing environment 301. Still as shown in FIG3 , end user 302 can provision and access services through a web browser or other software application on a client. In some embodiments, the provisioning and / or requests from end user 302 can be provided to ingress gateway 330. Ingress gateway 330 can include a corresponding agent to handle the provisioning and / or requests for services 320 (one or more services provided in computing environment 301). Still as shown in FIG3 , services 320 are provided or deployed based on various virtualization technologies supported by computing environment 301. In some embodiments, services 320 can be provided based on virtual machine (VM) virtualization, container-based virtualization, and / or similar approaches. VM-based virtualization can simulate a real computer by initializing a virtual machine, executing programs and applications without directly accessing any actual hardware resources. While VMs virtualize machines, container-based virtualization can launch containers to virtualize an entire operating system (OS), allowing multiple workloads to run on a single OS instance. In one embodiment based on container virtualization, several containers of service 320 can be assembled into a POD (e.g., a Kubernetes POD). For example, as shown in Figure 3, service 320-2 can be configured with one or more PODs 340-1, 340-2, ..., 340-N (collectively referred to as PODs 340). Each POD 340 can include an agent 345 and one or more containers 342-1, 342-2, ..., 342-M (collectively referred to as containers 342).One or more containers 342 in POD 340 process requests related to one or more corresponding functions of a service. Proxy 345 typically controls network functions related to the service, such as routing and load balancing. Other services 320 can also be similar to POD 340's PODo. During operation, executing a user request from an end user 302 may require invoking one or more services 320 in computing environment 301. Executing one or more functions of one service 320 may require invoking one or more functions of another service 320. As shown in Figure 3, service 320-1 (representing service A) receives a user request from an end user 302 from ingress gateway 330. Service 320-1 (representing service A) may invoke service 320-2 (representing service D), and service 320-2 (representing service D) may request service 320-3 (representing service E) to execute one or more functions. The computing environment described above may be a cloud computing environment, where resource allocation is managed by the cloud service provider, allowing for the development of functions without having to consider implementing, adjusting, or scaling servers. This computing environment allows developers to execute code that responds to events without building or maintaining complex infrastructure. Services can be segmented to implement a set of functions that can be automatically and independently scaled, rather than expanding a single hardware device to handle potential load. Within the aforementioned operating environment, the present disclosure provides a method for generating video based on scene reconstruction, as shown in Figure 4. Figure 4 is a flowchart of a method for generating video based on scene reconstruction, according to Example 1 of the present disclosure. As shown in Figure 4, the method for generating video based on scene reconstruction includes: Step S41, obtaining image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; Step S42, performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; Step S43, performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; Step S44, generating a target video using the modeling result, wherein the target video is configured to perform scene roaming of the preset three-dimensional scene.The above-mentioned method for generating videos based on scene reconstruction can be applied, but is not limited to, to the following scenarios: visual navigation (e.g., constructing a 3D virtual scene based on a map for autonomous navigation of robots or drones), VR / AR scene production (e.g., VR exhibition hall production, VR / AR game scene design, etc.), 3D printing (e.g., reconstructing virtual models based on images for physical production), 3D film and television creation and post-production (e.g., reconstructing a 3D scene or virtual objects within a 3D scene based on a given image), and cultural and tourism promotion (e.g., 3D virtual scene reconstruction of scenic spots, parks, airports, train stations, roads, and other areas, and production of cultural and tourism promotional videos). As an exemplary embodiment, the above-mentioned sparse reconstruction is a 3D scene reconstruction operation based on the SW algorithm, and the above-mentioned reconstruction results include the camera pose corresponding to the image data to be reconstructed. The above-mentioned implicit modeling is a 3D scene modeling optimization operation based on the NeRF algorithm. The above-mentioned modeling results include a scene model corresponding to the preset 3D scene to be reconstructed. The target video is a free-viewpoint scene roaming video corresponding to the preset 3D scene to be reconstructed. The target video is a video rendered using a rendering tool (such as a game engine, image editing software, etc.). It should be noted that the reconstruction algorithm used in the sparse reconstruction is not limited to the SfM algorithm.For example, the reconstruction algorithm can also be: sparse representation based on greedy algorithms, such as the Matching Pursuit (MP) algorithm and the Orthogonal Matching Pursuit (OMP) algorithm; sparse representation based on iterative optimization, such as the Least Absolute Shrinkage and Selection Operator (Lasso) algorithm based on the L1 norm and the Backpropagation (BP) algorithm based on the L0 norm; sparse representation based on compressed sensing theory, such as the Compressive Sampling Matching Pursuit (CoSaMP) algorithm based on the polynomial shrinkage algorithm and the Successive Projection (SP) algorithm based on single orthogonal matching pursuit; sparse representation based on dictionary learning, such as the K-Singular Value Decomposition (K-SVD) algorithm and the Matching Pursuit Algorithm with Orthogonal Dictionary (MOD) algorithm. algorithms; sparse representation based on convolutional neural networks, such as the convolutional neural network (CNN) algorithm based on sparse coding; sparse representation based on Bayesian methods, such as the Bayesian sparse coding algorithm based on variational autoencoders. The modeling algorithm used in the implicit modeling is not limited to the NeRF algorithm. For example, the modeling algorithm can also be: Hidden Markov Model (HMM) algorithm, decision tree algorithm, random forest algorithm, support vector machine (SVM) algorithm, neural network algorithm, etc. This disclosure does not limit the above reconstruction and modeling algorithms.The method for generating video based on scene reconstruction provided in the embodiments of the present disclosure can be run on a client corresponding to the aforementioned application scenario. The client determines the image data to be reconstructed in the application scenario from a preset database or data input by the user in real time. The client then performs sparse reconstruction on the image data to obtain a reconstruction result. Implicit modeling is performed based on the image data to be reconstructed and the reconstruction result to obtain a modeling result. The target video is generated using the modeling result. Furthermore, the client can optionally display the target video on a corresponding graphical user interface and provide it to the user via an output device (such as a display screen, VR glasses, etc.). The method for generating video based on scene reconstruction provided in the embodiments of the present disclosure can be run on a server corresponding to the aforementioned application scenario. The server can be an independent server or a server cluster. Based on the image data to be reconstructed provided by the client, the target video corresponding to the application scenario is generated through the sparse reconstruction and implicit modeling methods described above. The server can also be a cloud server that interacts with the client in real time via Software as a Service (SaaS). Based on the image data to be reconstructed, provided by the client, the server performs sparse reconstruction on the image data to be reconstructed, obtaining a reconstruction result. Implicit modeling is then performed based on the image data to be reconstructed and the reconstruction result to obtain a modeling result. The target video is generated using the modeling result, and the target video is then returned to the client for user provision. In the disclosed embodiment, the server obtains image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a predetermined 3D scene to be reconstructed. Sparse reconstruction is then performed on the image data to be reconstructed, obtaining a reconstruction result. Implicit modeling is then performed based on the image data to be reconstructed and the reconstruction result to obtain a modeling result. The target video is generated using the modeling result, wherein the target video is configured to provide a scene navigation of the predetermined 3D scene. Thus, the disclosed embodiments achieve the goal of rendering a scene walkthrough video by modeling the scene based on the image data to be reconstructed through a combination of rare-sparse reconstruction and implicit modeling. This results in improved accuracy of the scene modeling results and enhanced realism of the scene walkthrough video. This further addresses the technical issues of the prior art, which suffer from numerous modeling defects and poor realism of the scene walkthrough video, resulting from scene reconstruction using explicit modeling. The method for generating videos based on scene reconstruction provided by the disclosed embodiments utilizes a neural implicit mesh model to perform scene reconstruction based on image data, thereby rendering a highly realistic scene walkthrough video. In particular, this method for generating videos based on scene reconstruction is particularly suitable for large-scale scene reconstruction based on aerial photography data.Figure 5 is a schematic diagram of an optional scene reconstruction process according to Example 1 of the present disclosure. As shown in Figure 5, taking the reconstruction of a park scene based on aerial photography data as an example, the scene reconstruction process includes the following four stages: the first stage, aerial data acquisition; the second stage, SfM sparse reconstruction; the third stage, neural implicit optimization modeling; and the fourth stage, walkthrough video rendering. As an exemplary embodiment, the preset 3D scene is a park scene, and the image data to be reconstructed is the aerial photography data corresponding to the park scene. As shown in Figure 5, in the first stage, aerial data is acquired in real time through aerial photography equipment. The aerial data includes at least one aerial image. In the second stage, the aerial data is reconstructed using SfM sparse reconstruction to obtain the camera pose corresponding to each of the at least one aerial image (equivalent to the reconstruction result described above). In the third stage, implicit modeling is performed based on the aerial data and the camera pose corresponding to the at least one aerial image. Specifically, the reconstruction result is modeled and optimized to obtain a modeling result. In the fourth stage, a target video is generated using a video editor based on the modeling result. The target video is a campus tour video from a free perspective. As an exemplary embodiment, generating the target video based on the modeling result includes: obtaining a viewpoint trajectory corresponding to the free perspective; and rendering the target video based on the viewpoint trajectory and the modeling result. In an optional embodiment, performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result may include the following steps: first, constructing a grid corresponding to a preset 3D scene on multiple scale features based on the image data to be reconstructed and the reconstruction result to obtain a construction result, wherein the construction result is configured to determine 3D spatial information and light field information of the preset 3D scene on the multiple scale features; and second, performing implicit modeling using the construction result to obtain a modeling result. In this optional embodiment, the multiple scale features are multiple different data features divided according to multiple feature scales. Correspondingly, the construction result includes a grid of the preset 3D scene corresponding to each of the multiple scale features, wherein the grid corresponding to each scale feature has the same grid size, and the multiple scale features correspond to multiple grid sizes. Each grid in the grid corresponding to the preset 3D scene stores corresponding 3D spatial information and light field information. The 3D spatial information includes the geometric shape data and spatial position data of the preset 3D scene, while the light field information is the optical representation data of the preset 3D scene (for example, various optical parameters including opacity, brightness, saturation, etc.). Furthermore, based on the optimized NeRF algorithm, implicit modeling is performed using the constructed results to obtain the aforementioned modeling results.FIG6 is a schematic diagram of an optional implicit modeling process according to Example 1 of the present disclosure. As shown in FIG6 , during the implicit modeling process in the third stage of FIG5 , the following steps are performed: first, a scene occupancy grid corresponding to a preset 3D scene is constructed; then, a hash table of multi-scale features is determined based on the scene occupancy grid, wherein the hash table stores encoded data of the multi-scale features; further, neural volume rendering optimization is performed based on the multi-scale feature hash table to obtain a modeling result. The implicit modeling algorithm employed in the neural volume rendering optimization includes a large-scale scene sampling strategy, a sparseness constraint, and a depth constraint. In an optional embodiment, the process of constructing a grid corresponding to the preset 3D scene based on multiple scale features based on the image data to be reconstructed and the reconstruction result to obtain a construction result may further include the following steps: first, determining a bounding box corresponding to the preset 3D scene based on the image data to be reconstructed and the reconstruction result; second, performing multi-scale grid partitioning on the 3D space within the bounding box to obtain a partitioning result; and finally, using light field information corresponding to the partitioning result to obtain a grid corresponding to the preset 3D scene to obtain a construction result. Still taking the example of reconstructing a park scene based on aerial photography data, a bounding box corresponding to the park is determined based on the aerial photography data and the reconstruction results. Exemplarily, the bounding box can be a polygonal cylinder, with the size and shape of the polygon base determined by the park's footprint, and the polygon height being the preset scene height. For example, for a park with a length of 500 meters and a width of 400 meters, the maximum aerial photography height corresponding to the park is set to 200 meters. In this case, the bounding box for the park is a rectangular parallelepiped bounding box measuring 500 meters x 400 meters x 200 meters. As an exemplary embodiment, determining the bounding box corresponding to the preset 3D scene based on the image data to be reconstructed and the reconstruction results includes: determining camera pose information corresponding to an image of the preset 3D scene to be reconstructed based on the image data to be reconstructed; determining 3D spatial information and light field information of the preset 3D scene at multiple scale features based on the reconstruction results, where the 3D spatial information includes scene size data of the preset 3D scene; and determining the bounding box corresponding to the preset 3D scene based on the camera pose information, the 3D spatial information, and the light field information. As an exemplary embodiment, the division result includes multiple sub-division results, and performing multi-scale rasterization division on the three-dimensional space within the bounding box to obtain the division result includes: determining multiple division scales, and dividing the three-dimensional space within the bounding box according to the multiple division scales to obtain multiple sub-division results.Still taking the reconstruction of a park scene based on aerial photography data as an example, five partitioning scales are determined: 1 meter, 2 meters, 5 meters, 10 meters, and 50 meters. Based on each of the five partitioning scales, a 500 meter x 400 meter x 200 meter cuboid bounding box is partitioned to obtain five sub-partitioning results. Taking the 1 meter partitioning scale as an example, the 500 meter x 400 meter x 200 meter cuboid bounding box is partitioned into 500 x 400 meter x 200 meter grids of 1 meter x 1 meter x 1 meter, obtaining the corresponding first sub-partitioning result. Taking the 2 meter partitioning scale as an example, the 500 meter x 400 meter x 200 meter cuboid bounding box is partitioned into 250 x 200 meter x 100 grids of 2 meter x 2 meter x 2 meter, obtaining the corresponding second sub-partitioning result. It should be noted that in the above-mentioned partitioning results, each grid stores corresponding light field information. For example, in the first sub-partitioning result, a 1m x 1m x 1m grid stores corresponding light field information for multiple sampling points within the grid; in the second sub-partitioning result, a 2m x 2m x 2m grid stores corresponding light field information for multiple sampling points within the grid. The above-mentioned light field information includes at least one of the following: opacity, brightness, saturation, etc. In an exemplary embodiment, the light field information includes opacity. Using the light field information corresponding to the partitioning results, obtaining a grid corresponding to a preset 3D scene and obtaining a construction result includes: selecting some or all of the multiple grids as target grids based on the opacity corresponding to each grid in the partitioning results; and using the target grid as the grid corresponding to the preset 3D scene to obtain the construction result. Selecting a target grid from the multiple grids based on the opacity corresponding to each of the multiple grids in the segmentation result includes: sequentially determining the opacity corresponding to each of the multiple grids; and determining the current grid as the target grid in response to the opacity corresponding to the current grid satisfying a preset condition. Optionally, the preset condition is that the opacity is greater than a preset threshold, and the preset condition is configured to determine whether the current grid is an empty grid not occupied by a preset three-dimensional scene. As an exemplary embodiment, the above-mentioned method for generating a video based on scene reconstruction further includes: optimizing light field information corresponding to the segmentation result based on the construction result to obtain updated light field information. Specifically, the opacity corresponding to each of the multiple grids in the segmentation result is iteratively optimized and adjusted for multiple rounds based on the construction result until the opacity of the grid corresponding to the preset three-dimensional scene is 1 or within a preset range (e.g., 0.9 to 1).Each round of iterative optimization and adjustment includes increasing the opacity of the grid corresponding to the preset 3D scene in the construction result, and decreasing the opacity of all grids in the segmentation result, excluding the grid corresponding to the preset 3D scene. It will be readily understood that after determining the grid corresponding to the preset 3D scene (i.e., the scene occupancy grid), during the scene reconstruction process, the scene occupancy grid is sampled, and all grids in the segmentation result, excluding the scene occupancy grid, are skipped. This reduces data sampling overhead during scene reconstruction, improves scene reconstruction efficiency, and improves both scene reconstruction efficiency and target video rendering efficiency. The execution steps provided in the aforementioned optional embodiment ensure a high degree of accuracy in determining the grid corresponding to the preset 3D scene in the construction result, minimizing or eliminating the occurrence of grids in the segmentation result that are not occupied by the preset 3D scene as grids corresponding to the preset 3D scene, thereby ensuring the accuracy of subsequent scene reconstruction results. In an optional embodiment, the process of performing implicit modeling using the construction result to obtain a modeling result may further include the following steps: first, dividing the three-dimensional spatial information and light field information in the construction result into multiple partitions based on multiple scale features to obtain a partitioning result, wherein different partitions in the partitioning result are configured to respectively store three-dimensional spatial information and light field information of different scale features; second, sampling the construction result according to a preset sampling strategy based on the capture angle of the aerial image capture device and the target rendering position to obtain a sampling result, wherein the preset sampling strategy is configured to determine the number of samples and the sampling step size to be used in the sampling process for the target rendering position, as well as the number of rays emitted from the target rendering position; then, obtaining a first multi-scale feature from the partitioning result using the sampling result; and finally, performing implicit modeling using the first multi-scale feature to obtain a modeling result. In an exemplary embodiment, dividing the three-dimensional spatial information and light field information in the construction result into multiple partitions based on multiple scale features to obtain the partition results includes: determining multiple partitions based on multiple partition scales corresponding to the construction result; and dividing the three-dimensional spatial information and light field information at the multiple scale features in the construction result into multiple partitions based on the multiple partitions to obtain the partition results. The first multi-scale feature includes multiple groups of features corresponding to the image data to be reconstructed, the multiple groups of features corresponding to the multiple partition scales. For example, each partition scale corresponds to a group of features in the first multi-scale feature. The multiple partitions may be multiple storage areas corresponding to the multiple scale features. Still using the example of reconstructing a park scene based on aerial photography data, five partition scales are determined: 1 meter, 2 meters, 5 meters, 10 meters, and 50 meters, and five partitions are determined accordingly.When the partition scale is 1 meter, the 500m x 400m x 200m rectangular parallelepiped bounding box is divided into 500 x 400 x 200 grids of 1m x 1m x 1m, and the corresponding first partition has a dimension of 500 x 400 x 200. When the partition scale is 2 meters, the 500m x 400m x 200m rectangular parallelepiped bounding box is divided into 250 x 200 x 100 grids of 2m x 2m x 2m, and the corresponding second partition has a dimension of 250 x 200 x 100. That is, for a sub-partition result containing N1 x N2 x N3 grids, the corresponding partition has a dimension of N1 x N2 x N3. As an exemplary embodiment, the multiple partitions are multi-scale feature hash tables. For example, each partition corresponds to a hash table of a feature scale. As shown in Figure 6 , the first multi-scale feature is a multi-scale feature hash table, which includes multiple feature tables of different dimensions. Feature Table 1, Feature Table 2, and Feature Table n shown in Figure 6 correspond to n grid scales. It is easy to understand that by utilizing the multi-scale feature hash table to partition the 3D spatial information and light field information of multiple scale features in the construction result into multiple partitions, the multi-scale feature hash table can be used to conveniently and flexibly access the 3D spatial information and light field information of features at different scales during scene reconstruction, thereby enhancing the representation capability of feature encoding during scene reconstruction. As an exemplary embodiment, a preset sampling strategy is obtained based on application scenario requirements. According to the preset sampling strategy, the number of samples and sampling step size to be used during the sampling process at the target rendering position, as well as the number of rays emitted from the target rendering position, are determined. Based on the capture angle of the aerial image acquisition device and the target rendering position, the construction result is sampled according to the sampling location and sampling step size along the direction of each of the multiple rays emitted from the target rendering position to obtain a sampling result. The direction of the light emitted from the target rendering position is determined by the target rendering position and the capture field of view of the aerial image acquisition device. For example, the aerial image acquisition device is an aerial camera. The target sampling position is the current rendering pixel during the rendering process. It should be noted that sampling the construction result includes sampling the grids that each light ray passes through within the grids occupied by the preset three-dimensional scene in the construction result. The sampling result corresponding to each light ray includes multiple sampling points.As an exemplary embodiment, obtaining a first multi-scale feature from a segmentation result using a sampling result includes: using multiple sampling points corresponding to each of multiple rays in the sampling result, obtaining the first multi-scale feature from the segmentation result based on the position information of the sampling points. Specifically, the segmentation result is a multi-scale feature hash table; based on the position information of each sampling point, obtaining feature values at multiple scales from the multi-scale feature hash table; and then combining the feature values at multiple scales to obtain the first multi-scale feature for the sampling point. Furthermore, implicit modeling is performed using the first multi-scale feature to obtain a modeling result. It will be readily understood that in the embodiments of the present disclosure, during implicit modeling using the construction result, the aforementioned partitioned storage method, sampling method based on a preset sampling strategy, and method for obtaining the first multi-scale feature are employed to implement implicit modeling based on the first multi-scale feature. Compared to conventional methods for generating videos based on scene reconstruction, the embodiments of the present disclosure have higher scene feature sampling accuracy, stronger implicit modeling optimization effects, and can produce more accurate and realistic scene reconstruction results. In an optional embodiment, the process of performing implicit modeling using the first multi-scale features to obtain a modeling result may further include the following steps: First, using a target fully connected neural network model to predict pixel values for the first multi-scale features to obtain target pixel values, wherein the target fully connected neural network model is trained through deep learning using multiple sets of data, the multiple sets of data including training images and second multi-scale features corresponding to the training images; and Second, generating a modeling result based on the target pixel values. The second multi-scale features include multiple sets of features corresponding to the training images, corresponding to the multiple division scales. For example, each division scale corresponds to a set of features in the second multi-scale features. In this optional embodiment, the target fully connected neural network model is a multi-layer perceptron (MLP). The MLP is trained through deep learning using multiple sets of data including training images and second multi-scale features corresponding to the training images. During the MLP training process, the second multi-scale features can be obtained in a manner similar to the above-mentioned step of performing implicit modeling using the construction results corresponding to the image data to be reconstructed to obtain the modeling result. As shown in Figure 6, neural body rendering optimization is performed based on the multi-scale feature hash table to obtain the modeling result.Specifically, for large-scale scenes (such as campus scenes, urban scenes, and land plot scenes), a large-scale sampling strategy is determined. Furthermore, the scene occupancy grid corresponding to the construction result is sampled according to the large-scale sampling strategy to obtain a sampling result. Based on the sampling result, a first multi-scale feature is obtained from a multi-scale feature hash table. Then, an MLP is used to predict pixel values of the first multi-scale feature to obtain a target pixel value. The target pixel value may include the RGB attribute value of the pixel point. A modeling result is generated based on the target pixel value. In an optional embodiment, the method for generating a video based on scene reconstruction further includes the following method steps: Step S451, using an initial fully connected neural network model to predict pixel values of the second multi-scale feature to obtain training pixel values; Step S452, determining a first loss by comparing the training pixel values with the actual pixel values corresponding to the training image; and Step S453, updating model parameters of the initial fully connected neural network model based on the first loss to obtain a target fully connected neural network model. For example, the process of steps S451 to S453 can also be specifically illustrated in FIG6 . During the neural volume rendering optimization process, when training the MLP, a first loss determined by the training pixel values and the true pixel values is used to update the initial MLP to obtain a target MLP. The training pixel values are pixel values obtained by the initial MLP predicting the pixel values of the second multi-scale features corresponding to the training image, and the true pixel values are the true pixel values corresponding to the training image. Exemplarily, the first loss is calculated as the absolute value of the difference between the training pixel values and the true pixel values. According to the method provided in steps S451 to S453 of the present embodiment, training the target MLP to be used during scene reconstruction can enhance the model performance of the target MLP, thereby improving the prediction accuracy of pixel value prediction for the first multi-scale features. In an optional embodiment, the method for generating a video based on scene reconstruction further includes the following method steps: Step S461, using an initial fully connected neural network model to predict a depth value of the second multi-scale feature to obtain a training depth value; Step S462, determining a second loss based on the training depth value and a true depth value corresponding to the training image; Step S463, determining a sampling ray based on an acquisition viewpoint and a target rendering position; Step S464, determining a third loss based on sampling weights of sampling points in the sampling result on the sampling ray; Step S465, updating model parameters of the target fully connected neural network model based on at least one of the second loss and the third loss to obtain an updated target fully connected neural network model.For example, the process of steps S461 to S465 can also be specifically illustrated in FIG6 . During the training of the initial MLP, a second loss is determined using the training depth value and the true depth value based on the depth constraint. A third loss is determined using the sampling rays, sampling results, and sampling weights corresponding to the second multi-scale features based on the sparsity constraint. Model parameters of the initial MLP are adjusted based on at least one of the second loss and the third loss to obtain a target MLP. Alternatively, model parameters of the target MLP are updated based on at least one of the second loss and the third loss to obtain an updated target MLP. It should be noted that the depth constraint and the sparsity constraint are preset constraints for large-scale scenes (e.g., campus scenes, urban scenes, and land parcel scenes). The depth constraint is set to remove some grids (e.g., high-altitude grids irrelevant to scene reconstruction) to reduce the potential for floating object errors in the scene reconstruction results. The sparsity constraint is set to ensure that the sampling weights of multiple sampling points on each sampling ray are concentrated within a specified range, thereby further reducing the problem of floating object errors that may exist in the scene reconstruction result. Exemplarily, the depth constraint is a depth map constraint based on a preset depth map. Determining the second loss based on the depth constraint using the training depth value and the true depth value includes determining the second loss based on the preset depth map, the training depth value obtained by performing depth value prediction on the second multi-scale feature using the initial MLP, and the true depth value corresponding to the training image. The second loss may be calculated as the absolute value of the difference between the training depth value and the true depth value, provided that the depth map constraint of the preset depth map is satisfied. Exemplarily, the sparsity constraint is a weight threshold constraint. The third loss may be calculated as follows: for each sampling ray, if the sampling weights of multiple sampling points on the sampling ray satisfy the weight threshold constraint, calculating the binomial loss of the sampling weights of the multiple sampling points. According to the method provided in steps S461 to S465 of the embodiments of the present disclosure, based on depth constraints and sparsity constraints designed for large-scale scenes, a target MLP to be used is trained during the scene reconstruction process, thereby enhancing the model performance of the target MLP and, in turn, improving the accuracy of pixel value prediction for the first multi-scale feature. In an optional embodiment, in step S41, obtaining image data to be reconstructed includes the following method steps: Step S411: Under preset conditions, aerial data of a preset three-dimensional scene is acquired using an aerial image acquisition device to obtain the image data to be reconstructed. The preset conditions are set to determine the weather and flight conditions during the aerial data acquisition process. In this optional embodiment, the preset conditions are also set to determine the use of a neural implicit modeling method for scene modeling.For example, in an application scenario involving reconstruction of a park scene based on aerial image data, the aforementioned preset conditions include at least: cloudy weather; an aerial image acquisition device flying at an altitude of 110 meters; an 80% lateral overlap ratio; an 85% directional overlap ratio; a -50-degree pan / tilt tilt angle; and a preset close-up distance when the aerial image acquisition device captures a preset key area of the scene. In an optional embodiment, in step S42, sparse reconstruction is performed on the image data to be reconstructed to obtain a reconstruction result, including the following method steps: step S421, performing feature extraction on the image data to be reconstructed to obtain an extraction result; step S422, performing feature matching on the extraction result to obtain a matching result; and step S423, performing sparse reconstruction on the matching result to obtain a reconstruction result, wherein the reconstruction result is configured to determine the position and pose information of the aerial image acquisition device corresponding to the image data to be reconstructed. Still as shown in Figure 5, in the second stage, when performing SfM sparse reconstruction, the following process is executed based on the acquired aerial data: feature extraction, feature matching, and sparse reconstruction, thereby achieving the goal of determining the pose information of the aerial image acquisition device based on the aerial data. As an optional implementation of the above-mentioned step S421, feature extraction is performed on the image data to be reconstructed to obtain an extraction result. The method includes the following steps: Step S4211, preprocessing the image data to be reconstructed to obtain a preprocessing result; Step S4212, performing feature extraction on the preprocessing result to obtain an extraction result. In an exemplary embodiment, preprocessing the image data to be reconstructed to obtain preprocessing results includes: adaptively adjusting the resolution of the image in the image data to be reconstructed to obtain an adjustment result; writing the Exchangeable Image File Format (EXIF) metadata corresponding to the image in the image data to be reconstructed into the corresponding adjustment result to obtain the preprocessing result, wherein the EXIF information includes: device manufacturer, device model, software version number, aperture, shutter speed, focal length, sensitivity, metering mode, etc. In an exemplary embodiment, the extraction results include image point features and image descriptors, wherein the image descriptors are configured to determine local features of the image. Feature extraction on the preprocessing results to obtain the extraction results includes: performing point feature extraction on each image in the preprocessing results to obtain image point features; and performing local feature extraction on each image in the preprocessing results to obtain image descriptors.As an optional implementation of step S422, feature matching is performed on the extraction results to obtain matching results, including the following method steps: Step S4221: Performing image pairing on the extraction results to obtain matching results; Step S4222: Performing feature matching on the matching results to obtain matching results. In an exemplary embodiment, performing image pairing on the extraction results to obtain matching results includes: obtaining satellite positioning data corresponding to a preset three-dimensional scene; and performing image matching on the extraction results based on the satellite positioning data to obtain matching results. Specifically, based on the satellite positioning data and image point features and image descriptors in the extraction results, the current image corresponding to the extraction result is paired with other scene images (which may be selected from the preprocessing results) that are relatively close to the current image. Thus, after pairing the multiple images corresponding to the extraction results, inter-image constraint calculation is performed on the two paired images. In an exemplary embodiment, performing feature matching on the matching results to obtain matching results includes: performing image feature point matching on the two paired images in the matching results based on image descriptors to obtain matching results. The matching results are configured to calculate the relative rotation and translation relationships between the two paired images. As an optional implementation of step S423, sparse reconstruction is performed on the matching results to obtain a reconstruction result, including the following method steps: step S4231, geometric filtering is performed on the matching results to obtain a filtered result; step S4232, global three-dimensional structure estimation is performed on the filtered result to obtain an estimation result; and step S4233, reconstruction results are determined based on the estimation result. As an exemplary embodiment, geometric filtering is performed on the matching results to obtain a filtered result, including: performing matched filtering on the matching results based on preset geometric constraints to filter out mismatched image feature points in the matching results to obtain a filtered result. For example, the preset geometric constraints include intrinsic matrix constraints or fundamental matrix constraints. As an exemplary embodiment, performing global 3D structure estimation on the filtering results to obtain the estimation results includes: calculating the relative rotation relationship and relative translation relationship between two paired images based on the filtering results; determining rotational average information corresponding to the two paired images based on the relative rotation relationship; determining translational average information corresponding to the two paired images based on the relative translation relationship; and calculating the global 3D structure estimation results using a global SfM algorithm based on the rotational average information and the translational average information, wherein the estimation results include internal parameters of the aerial image acquisition device and the poses of acquisition points corresponding to the aerial image acquisition device.The global SfM algorithm is optimized from a traditional SfM algorithm and is based on rotational average information and translational average information. Exemplarily, determining the rotational average information corresponding to two paired images based on the relative rotation relationship includes: utilizing the rotation constraint corresponding to the relative rotation relationship in combination with a vector norm (in this example, the L2 norm is used) to construct a rotation optimization problem, and then solving the rotation optimization problem to obtain the rotational average information corresponding to the two paired images. Exemplarily, determining the translational average information corresponding to the two paired images based on the relative translation relationship includes: utilizing the translation constraint corresponding to the relative translation relationship in combination with a vector norm (in this example, the L1 norm is used) to construct a translation optimization problem, and then solving the translation optimization problem to obtain the translational average information corresponding to the two paired images. To further improve the accuracy of the reconstruction result, as an optional implementation of step S4233, determining a reconstruction result based on the estimation result includes the following method steps: Step S4234: performing horizon correction on the estimation result to obtain a first correction result; Step S4235: performing heading angle correction on the first correction result to obtain a second correction result; Step S4236: performing point cloud block processing on the second correction result to obtain a block result; Step S4237: adjusting the data format of the block result to obtain a reconstruction result. As an exemplary embodiment, performing horizon correction on the estimation result to obtain the first correction result includes: performing robust plane fitting based on internal parameters of the aerial image acquisition device in the estimation result to obtain a target robust plane; performing rotation estimation using the normal direction of the target robust plane to obtain a rotation matrix, wherein the rotation matrix is configured to determine the rotational deflection angle between the aerial image acquisition device and the true ground plane; and performing horizon correction on the estimation result based on the rotation matrix to obtain the first correction result. In an exemplary embodiment, performing heading angle correction on the first correction result to obtain a second correction result includes: performing heading angle correction on the first correction result based on the pose of the acquisition points corresponding to the aerial image acquisition device in the estimation result to obtain the second correction result. This heading angle correction ensures that a smaller bounding box of the preset three-dimensional scene is determined in subsequent processes, thereby improving the accuracy of the scene reconstruction result. The second correction result includes a point cloud distributed in the preset three-dimensional scene after the heading angle correction. The point cloud is configured to store point cloud position information, internal parameters of the aerial image acquisition device, and the pose of the acquisition points corresponding to the aerial image acquisition device. Each point in the point cloud corresponds to an aerial image acquisition device.In an exemplary embodiment, performing point cloud segmentation processing on the second correction result to obtain a segmented result includes: performing overlapping segmentation on the point cloud in the second correction result to obtain a segmented result. Overlapping segmentation means that a point in the point cloud can be divided into at least one point cloud block. By performing point cloud segmentation processing on the second correction result, the disclosed embodiment further enhances the reconstruction capability of large-scale scenes. In an exemplary embodiment, adjusting the data format of the segmented result to obtain a reconstruction result includes: adjusting the point cloud data corresponding to multiple point cloud blocks in the segmented result according to a preset data format to obtain a reconstruction result. The preset data format is a unified output format corresponding to point cloud location information, internal parameters of the aerial image acquisition device, and the poses of the acquisition points corresponding to the aerial image acquisition device. In an optional embodiment, in step S44, generating a target video using the modeling result includes the following method steps: Step S441: Obtaining trajectory information corresponding to the aerial image acquisition device; Step S442: Rendering the modeling result according to the trajectory information to obtain the target video. As an exemplary embodiment, a target video is generated using the modeling results using an image editing tool. The image rendering trajectory corresponding to the aerial image acquisition device is determined in the image editing tool, and the modeling results are rendered according to the image rendering trajectory to obtain the target video. Specifically, determining the image rendering trajectory corresponding to the aerial image acquisition device in the image editing tool includes: obtaining a pre-drawn image rendering trajectory; performing a video rendering preview based on the image rendering trajectory to obtain a preview result; and determining whether the image rendering trajectory is usable based on the preview result. The pre-drawn image rendering trajectory can be freely drawn by the user or a randomly generated free-roaming trajectory. Thus, the target video obtained by rendering the modeling results according to the trajectory information is a scene walkthrough video of a preset three-dimensional scene from a free perspective. It is readily understood that the method for generating video based on scene reconstruction provided by the embodiments of the present disclosure uses an improved neural implicit mesh model to perform scene reconstruction based on image data, thereby rendering a highly realistic scene walkthrough video. In particular, this method for generating video based on scene reconstruction is particularly suitable for large-scale scene reconstruction based on aerial data. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.It should be noted that, for simplicity of description, the aforementioned method embodiments are described as a series of actions. However, those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, as certain steps may be performed in a different order or simultaneously. Furthermore, those skilled in the art should also be aware that the embodiments described in this specification are preferred embodiments, and the actions and modules involved are not necessarily required for the present disclosure. Through the above description of the embodiments, those skilled in the art will clearly understand that the methods according to the aforementioned embodiments can be implemented using software and a required general-purpose hardware platform, or alternatively, hardware. Based on this understanding, the technical solution of the present disclosure, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (e.g., a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk) and includes instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present disclosure. Example 2: In the operating environment of Example 1, the present disclosure provides another method for generating video based on scene reconstruction, as shown in Figure 7. Figure 7 is a flowchart of the method for generating video based on scene reconstruction according to Example 2 of the present disclosure. As shown in Figure 7, the method for generating video based on scene reconstruction includes: Step S71: In response to an input instruction applied to an operation interface, displaying image data to be reconstructed on the operation interface, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; Step S72: In response to a reconstruction instruction applied to the operation interface, displaying a target video on the operation interface, wherein the target video is configured to perform a scene roaming of the preset three-dimensional scene, and the target video is generated using a modeling result, wherein the modeling result is obtained by implicitly modeling the image data to be reconstructed and the reconstruction result, and the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed. The operation interface can be a graphical user interface of a client executing the method for generating video based on scene reconstruction. The input instruction can be generated based on an input operation applied to the operation interface, which can be a touch operation or an operation performed using a device such as a keyboard, mouse, or joystick. When an input instruction acting on the operation interface is detected, the image data to be reconstructed is displayed on the operation interface.The reconstruction instruction can be generated based on a reconstruction operation performed on the operation interface. The reconstruction operation can be a touch operation or an operation performed via a keyboard, mouse, joystick, or other device (e.g., clicking an OK button). When the reconstruction instruction is detected on the operation interface, the target video is displayed on the operation interface. The target video can be generated by the client according to the specific implementation of the method for generating a video based on scene reconstruction provided in Example 1 of the present disclosure. The target video can also be generated by the client requesting the corresponding server, which generates the target video according to the specific implementation of the method for generating a video based on scene reconstruction provided in Example 1 of the present disclosure. The above-mentioned method for generating videos based on scene reconstruction can be applied, but is not limited to, to the following scenarios: visual navigation scenarios (e.g., constructing a 3D virtual scene based on a map for autonomous navigation of robots or drones), VR / AR scene production scenarios (e.g., VR exhibition hall production, VR / AR game scene design, etc.), 3D printing scenarios (e.g., reconstructing virtual models based on images for physical production), 3D film and television creation and post-production scenarios (e.g., reconstructing a 3D scene or virtual objects within a 3D scene based on a given image), and cultural tourism promotion scenarios (e.g., reconstructing 3D virtual scenes in scenic spots, parks, airports, train stations, roads, and other areas, and producing cultural tourism promotional videos). The above-mentioned image data to be reconstructed is used to record images (e.g., aerial images) of the pre-set 3D scene to be reconstructed in these application scenarios. The above-mentioned target video is a free-viewpoint walkthrough video of the pre-set 3D scene to be reconstructed in these application scenarios. Thus, according to Example 2 of the present disclosure, a user can generate input instructions and / or reconstruction instructions by performing control operations on the client's operation interface, specifying the image data to be reconstructed, and triggering the client to execute the following steps: performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; performing implicit modeling on the image data to be reconstructed and the reconstruction result to obtain a modeling result; generating a target video using the modeling result; and displaying the target video on the operation interface. This process provides users with a high degree of freedom and flexibility, enabling them to customize the target video corresponding to the 3D scene reconstruction according to the application scenario requirements. The method provided by this embodiment of the present disclosure is beneficial for application in practical scenarios. It should be noted that performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result, performing implicit modeling on the image data to be reconstructed and the reconstruction result to obtain a modeling result, and generating a target video using the modeling result also include other method steps, which can be referred to the relevant descriptions in Example 1 of the present disclosure and are not further elaborated here. Example 3: Under the operating environment of Example 1, the present disclosure provides another method for generating a video based on scene reconstruction, as shown in Figure 8.FIG8 is a flowchart of a method for generating a video based on scene reconstruction according to Embodiment 3 of the present disclosure. As shown in FIG8 , the method for generating a video based on scene reconstruction includes: step S81, displaying an initial default screen on a presentation screen of a virtual reality (VR) device or an augmented reality (AR) device; step S82, driving the VR device or AR device to jump from displaying the initial default screen to displaying a target video, wherein the target video is set to perform scene roaming of a preset three-dimensional scene to be reconstructed, and the target video is generated using a modeling result, the modeling result is obtained by implicitly modeling image data to be reconstructed and a reconstruction result, the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed, and the image data to be reconstructed is set to record an image of the preset three-dimensional scene. The above-mentioned method for generating videos based on scene reconstruction can be applied, but is not limited to, to the following scenarios: VR / AR visual navigation scenarios (e.g., constructing a 3D virtual scene based on a map and using it to autonomously navigate a robot or drone in VR / AR), VR / AR scene production scenarios (e.g., VR exhibition hall production, VR / AR game scene design, etc.), VR / AR 3D film and television creation and post-production scenarios (e.g., reconstructing a 3D scene or virtual objects within a 3D scene based on a given image and providing the reconstruction results to the audience via VR / AR devices), and VR / AR cultural tourism promotion scenarios (e.g., reconstructing 3D virtual scenes of scenic spots, parks, airports, train stations, roads, and other areas and providing the reconstruction results to passengers via VR / AR devices). The image data to be reconstructed is configured to record images (e.g., aerial images) of a preset 3D scene to be reconstructed in the above-mentioned application scenarios. The target video is a free-viewpoint walkthrough video of the preset 3D scene to be reconstructed in the above-mentioned application scenarios. The initial default screen is the scene screen currently displayed by the virtual reality (VR) device or augmented reality (AR) device. The scene currently displayed can be a historical target video generated by reconstructing a preset three-dimensional scene. When a switching instruction is detected, the VR device or AR device is driven to jump from displaying the initial default screen to displaying the target video. The switching instruction is configured to determine that the target video to be displayed is displayed on the presentation screen of the VR device or AR device. The target video can be obtained by a processor associated with the virtual reality (VR) device or augmented reality (AR) device executing the following steps: performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; performing implicit modeling on the image data to be reconstructed and the reconstruction result to obtain a modeling result; generating the target video using the modeling result; and displaying the target video on the user interface.The virtual model display method of the embodiments of the present disclosure generates highly accurate scene reconstruction results and highly realistic scene walkthrough videos in virtual reality or augmented reality scenarios. This allows for dynamic and accurate display of the free-viewpoint walkthrough videos corresponding to a pre-set three-dimensional scene on a virtual reality (VR) or augmented reality (AR) device. In particular, the above-described method for generating videos based on scene reconstruction is particularly suitable for large-scale scene reconstruction based on aerial photography data. It should be noted that the preferred implementation of this embodiment can be found in the relevant descriptions of Examples 1 or 2 and will not be further elaborated here. Example 4 According to the embodiments of the present disclosure, an embodiment of a device configured to implement the above-described method for generating videos based on scene reconstruction is also provided. FIG9 is a schematic structural diagram of an apparatus for generating a video based on scene reconstruction according to Embodiment 4 of the present disclosure. As shown in FIG9 , the apparatus includes: an acquisition module 901 configured to acquire image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset 3D scene to be reconstructed; a reconstruction module 902 configured to perform sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; a modeling module 903 configured to perform implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; and a generation module 904 configured to generate a target video using the modeling result, wherein the target video is configured to perform scene navigation of the preset 3D scene. Optionally, the modeling module 903 is further configured to: construct a grid corresponding to the preset 3D scene on multiple scale features based on the image data to be reconstructed and the reconstruction result to obtain a construction result, wherein the construction result is configured to determine 3D spatial information and light field information of the preset 3D scene on the multiple scale features; and perform implicit modeling using the construction result to obtain a modeling result.Optionally, the modeling module 903 is further configured to: determine an enclosing bounding box corresponding to a preset 3D scene based on the image data to be reconstructed and the reconstruction result; perform multi-scale rasterization on the 3D space within the enclosing bounding box to obtain a division result; and obtain a grid corresponding to the preset 3D scene using light field information corresponding to the division result to obtain a construction result. Optionally, the modeling module 903 is further configured to: divide the 3D space information and light field information in the construction result into multiple partitions based on multiple scale features to obtain a division result, wherein different partitions in the division result are configured to store 3D space information and light field information of different scale features, respectively; sample the construction result according to a preset sampling strategy based on the capture angle of the aerial image capture device and the target rendering position to obtain a sampling result, wherein the preset sampling strategy is configured to determine the number of samples and the sampling step size to be used during the sampling process at the target rendering position, as well as the number of rays emitted from the target rendering position; obtain a first multi-scale feature from the division result using the sampling result; and perform implicit modeling using the first multi-scale feature to obtain a modeling result. Optionally, the modeling module 903 is further configured to: predict pixel values of the first multi-scale features using a target fully-connected neural network model to obtain target pixel values, wherein the target fully-connected neural network model is obtained through deep learning training using multiple sets of data, the multiple sets of data including: training images and second multi-scale features corresponding to the training images; and generate a modeling result based on the target pixel values. Optionally, FIG10 is a schematic structural diagram of an optional Ozl device according to Example 4 of the present disclosure. As shown in FIG10 , in addition to all the modules shown in FIG9 , the device further includes: a first updating module 905 configured to predict pixel values of the second multi-scale features using an initial fully-connected neural network model to obtain training pixel values; determine a first loss based on the training pixel values and the true pixel values corresponding to the training images; and update model parameters of the initial fully-connected neural network model based on the first loss to obtain a target fully-connected neural network model.Optionally, FIG11 is a schematic structural diagram of another optional Ozl device according to Example 4 of the present disclosure. As shown in FIG11 , in addition to all the modules shown in FIG10 , the device further includes: a second updating module 906 configured to use an initial fully connected neural network model to predict depth values for the second multi-scale feature to obtain a training depth value; determine a second loss based on the training depth value and the true depth value corresponding to the training image; determine a sampling ray based on the acquisition viewpoint and the target rendering position; determine a third loss based on the sampling weights of the sampling points on the sampling ray in the sampling result; and update the model parameters of the target fully connected neural network model based on at least one of the second loss and the third loss to obtain an updated target fully connected neural network model. Optionally, the acquisition module 901 is further configured to: under preset conditions, use an aerial image acquisition device to acquire aerial data of a preset three-dimensional scene to obtain image data to be reconstructed, wherein the preset conditions are configured to determine weather conditions and flight conditions during the aerial data acquisition process. Optionally, the reconstruction module 902 is further configured to: perform feature extraction on the image data to be reconstructed to obtain an extraction result; perform feature matching on the extraction result to obtain a matching result; and perform sparse reconstruction on the matching result to obtain a reconstruction result, wherein the reconstruction result is configured to determine the pose information of the aerial image acquisition device corresponding to the image data to be reconstructed. Optionally, the reconstruction module 902 is further configured to: preprocess the image data to be reconstructed to obtain a preprocessing result; perform feature extraction on the preprocessing result to obtain an extraction result. Optionally, the reconstruction module is further configured to: perform image pairing on the extraction result to obtain a pairing result; perform feature matching on the pairing result to obtain a matching result. Optionally, the reconstruction module 902 is further configured to: perform geometric filtering on the matching result to obtain a filtering result; perform global three-dimensional structure estimation on the filtering result to obtain an estimation result; and determine a reconstruction result based on the estimation result. Optionally, the reconstruction module 902 is further configured to: perform horizon correction on the estimation result to obtain a first correction result; perform heading angle correction on the first correction result to obtain a second correction result; perform point cloud segmentation processing on the second correction result to obtain a segmented result; and adjust the data format of the segmented result to obtain a reconstructed result. Optionally, the generation module 904 is further configured to: obtain trajectory information corresponding to the aerial image acquisition device; and perform video rendering on the modeling result according to the trajectory information to obtain a target video.In an embodiment of the present disclosure, image data to be reconstructed is obtained, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; sparse reconstruction is further performed on the image data to be reconstructed to obtain a reconstruction result; implicit modeling is performed based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; and a target video is generated using the modeling result, wherein the target video is configured to perform scene roaming of the preset three-dimensional scene. Thus, the embodiment of the present disclosure achieves the goal of rendering a scene walkthrough video by performing scene modeling based on the image data to be reconstructed through sparse reconstruction and implicit modeling, thereby achieving the technical effect of improving the accuracy of the scene modeling results and the realism of the scene walkthrough video, thereby solving the technical problems of ",". It should be noted that the acquisition module 901, reconstruction module 902, modeling module 903, and generation module 904 correspond to steps S41 to S44 in Example 1. The examples and application scenarios implemented by these four modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, 102n). The above modules can also be part of an apparatus and run in the computer terminal 10 provided in Example 1. It should be noted that the preferred implementation of this embodiment can be found in the relevant description of Example 1 and will not be repeated here. Example 5 According to the embodiment of the present disclosure, A computer terminal is also provided. The computer terminal can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal can be replaced by a terminal device such as a mobile terminal. Optionally, in this embodiment, the computer terminal can be located in at least one of multiple network devices in a computer network. In this embodiment, the computer terminal can execute program code for the following steps in a method for generating a video based on scene reconstruction: obtaining image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; and generating a target video using the modeling result, wherein the target video is configured to perform scene navigation of the preset three-dimensional scene.Alternatively, FIG12 is a block diagram of a computer terminal according to Embodiment 5 of the present disclosure. As shown in FIG12 , the computer terminal 120 may include one or more (one shown) processors 1202, a memory 1204, a storage controller 1206, and a peripheral interface 1208. The peripheral interface 1208 is connected to a radio frequency module, an audio module, and a display. The memory 1204 may be configured to store software programs and modules, such as program instructions / modules corresponding to the method and apparatus for generating video based on scene reconstruction in the embodiments of the present disclosure. The processor executes the software programs and modules stored in the memory to perform various functional applications and data processing, thereby implementing the aforementioned method for generating video based on scene reconstruction. The memory 1204 may include high-speed random access memory (RAM) or non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1204 may further include memory located remotely from the processor. Such remote memory may be connected to the computer terminal 120 via a network. Examples of the aforementioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. The processor 1202 can access information and applications stored in the memory via a transmission device to execute the following steps: obtaining image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset 3D scene to be reconstructed; performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; and generating a target video using the modeling result, wherein the target video is configured to perform scene navigation of the preset 3D scene. Optionally, the processor 1202 can also execute program code for the following steps: constructing a grid corresponding to the preset 3D scene on multiple scale features based on the image data to be reconstructed and the reconstruction result to obtain a construction result, wherein the construction result is configured to determine 3D spatial information and light field information of the preset 3D scene on the multiple scale features; and performing implicit modeling using the construction result to obtain a modeling result.Optionally, the processor 1202 may further execute program code for the following steps: determining an enclosing bounding box corresponding to a preset 3D scene based on the image data to be reconstructed and the reconstruction result; performing multi-scale rasterization on the 3D space within the enclosing bounding box to obtain a division result; and obtaining a grid corresponding to the preset 3D scene using light field information corresponding to the division result to obtain a construction result. Optionally, the processor 1202 may further execute program code for the following steps: dividing the 3D space information and light field information in the construction result into multiple partitions based on multiple scale features to obtain a division result, wherein different partitions in the division result are configured to store 3D space information and light field information of different scale features, respectively; sampling the construction result according to a preset sampling strategy based on the capture angle of the aerial image acquisition device and the target rendering position to obtain a sampling result, wherein the preset sampling strategy is configured to determine the number of samples and the sampling step size to be used during the sampling process at the target rendering position, as well as the number of rays emitted from the target rendering position; obtaining a first multi-scale feature from the division result using the sampling result; and performing implicit modeling using the first multi-scale feature to obtain a modeling result. Optionally, the processor 1202 may further execute program code of the following steps: using a target fully connected neural network model to predict pixel values of the first multi-scale features to obtain target pixel values, wherein the target fully connected neural network model is obtained through deep learning training using multiple sets of data, and the multiple sets of data include: training images and second multi-scale features corresponding to the training images; and generating a modeling result based on the target pixel values. Optionally, the processor 1202 may further execute program code for the following steps: using the initial fully connected neural network model to predict pixel values of the second multi-scale feature to obtain training pixel values; determining a first loss by comparing the training pixel values with the true pixel values corresponding to the training image; and updating model parameters of the initial fully connected neural network model based on the first loss to obtain a target fully connected neural network model. Optionally, the processor 1202 may further execute program code for the following steps: using the initial fully connected neural network model to predict depth values of the second multi-scale feature to obtain training depth values; determining a second loss by comparing the training depth values with the true depth values corresponding to the training image; determining a sampling ray using the acquisition viewpoint and the target rendering position; determining a third loss by comparing sampling weights of sampling points in the sampling result on the sampling ray; and updating model parameters of the target fully connected neural network model based on at least one of the second loss and the third loss to obtain an updated target fully connected neural network model.Optionally, the processor 1202 may further execute program code for the following steps: under preset conditions, using an aerial image acquisition device to acquire aerial data of a preset three-dimensional scene to obtain image data to be reconstructed, wherein the preset conditions are set to determine weather conditions and flight conditions during the aerial image acquisition process. Optionally, the processor 1202 may further execute program code for the following steps: performing feature extraction on the image data to be reconstructed to obtain an extraction result; performing feature matching on the extraction result to obtain a matching result; and performing sparse reconstruction on the matching result to obtain a reconstruction result, wherein the reconstruction result is set to determine the position and pose information of the aerial image acquisition device corresponding to the image data to be reconstructed. Optionally, the processor 1202 may further execute program code for the following steps: performing preprocessing on the image data to be reconstructed to obtain a preprocessing result; and performing feature extraction on the preprocessing result to obtain an extraction result. Optionally, the processor 1202 may further execute program code for the following steps: performing image pairing on the extraction results to obtain a pairing result; performing feature matching on the pairing results to obtain a matching result. Optionally, the processor 1202 may further execute program code for the following steps: performing geometric filtering on the matching results to obtain a filtering result; performing global three-dimensional structure estimation on the filtering results to obtain an estimation result; and determining a reconstruction result based on the estimation result. Optionally, the processor 1202 may further execute program code for the following steps: performing horizon correction on the estimation result to obtain a first correction result; performing heading angle correction on the first correction result to obtain a second correction result; performing point cloud block processing on the second correction result to obtain a block result; and adjusting the data format of the block result to obtain a reconstruction result. Optionally, the processor 1202 may further execute program code for the following steps: obtaining trajectory information corresponding to the aerial image acquisition device; and performing video rendering on the modeling results according to the trajectory information to obtain a target video. The processor 1202 can call information and applications stored in the memory through the transmission device to perform the following steps: in response to an input instruction on the operation interface, display the image data to be reconstructed on the operation interface, wherein the image data to be reconstructed is set to record an image of a preset three-dimensional scene to be reconstructed; in response to a reconstruction instruction on the operation interface, display a target video on the operation interface, wherein the target video is set to perform scene roaming of the preset three-dimensional scene, and the target video is generated using a modeling result, wherein the modeling result is obtained by implicitly modeling the image data to be reconstructed and the reconstruction result, and the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed.The processor 1202 can access information and applications stored in the memory through a transmission device to perform the following steps: displaying an initial default screen on a presentation screen of a virtual reality (VR) device or augmented reality (AR) device; and driving the VR or AR device to jump from displaying the initial default screen to displaying a target video, wherein the target video is configured to perform scene navigation of a preset 3D scene to be reconstructed. The target video is generated using a modeling result, wherein the modeling result is obtained by implicitly modeling image data to be reconstructed and a reconstruction result, wherein the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of the preset 3D scene. Embodiments of the present disclosure provide a scene reconstruction solution. This solution involves obtaining image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of the preset 3D scene to be reconstructed; further performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; obtaining the modeling result by implicitly modeling the image data to be reconstructed and the reconstruction result; and then generating the target video using the modeling result, wherein the target video is configured to perform scene navigation of the preset 3D scene. Thus, the disclosed embodiments achieve the goal of rendering a scene walkthrough video by performing scene modeling based on the image data to be reconstructed through sparse reconstruction and implicit modeling, thereby achieving the technical effect of improving the accuracy of the scene modeling results and the realism of the scene walkthrough video. Furthermore, the technical problem of the prior art of scene reconstruction using display modeling, which results in numerous modeling defects and poor realism in the scene walkthrough video, is solved. Those skilled in the art will appreciate that the structure shown in FIG12 is merely illustrative, and the computer terminal may also be a smartphone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a PDA, or a mobile internet device (MID). FIG12 does not limit the structure of the computer terminal. For example, the computer terminal 120 may include more or fewer components (e.g., a network interface, a display device, etc.) than shown in FIG12 , or may have a configuration different from that shown in FIG12 . Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by a program instructing the hardware associated with the terminal device. The program can be stored in a computer-readable storage medium, which may include a flash drive, ROM, RAM, magnetic disk, or optical disk. Example 6: According to an embodiment of the present disclosure, a computer-readable storage medium is also provided.Optionally, in this embodiment, the storage medium may be configured to store program code executed by the method for generating a video based on scene reconstruction provided in Embodiment 1, Embodiment 2, or Embodiment 3. Optionally, in this embodiment, the storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group. Optionally, in this embodiment, the computer-readable storage medium may be configured to store program code configured to execute the following steps: obtaining image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; and generating a target video using the modeling result, wherein the target video is configured to perform scene navigation of the preset three-dimensional scene. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: constructing a grid corresponding to a preset 3D scene on multiple scale features based on the image data to be reconstructed and the reconstruction result, to obtain a construction result, wherein the construction result is configured to determine 3D spatial information and light field information of the preset 3D scene on the multiple scale features; performing implicit modeling using the construction result to obtain a modeling result. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: determining an enclosing bounding box corresponding to the preset 3D scene based on the image data to be reconstructed and the reconstruction result; performing multi-scale rasterization on the 3D space within the enclosing bounding box to obtain a partitioning result; and obtaining a grid corresponding to the preset 3D scene using light field information corresponding to the partitioning result to obtain a construction result. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to perform the following steps: dividing the three-dimensional spatial information and light field information in the construction result into multiple partitions based on multiple scale features to obtain a partition result, wherein different partitions in the partition result are configured to respectively store the three-dimensional spatial information and light field information of different scale features; sampling the construction result according to a preset sampling strategy based on a capture angle of an aerial image capture device and a target rendering position to obtain a sampling result, wherein the preset sampling strategy is configured to determine a number of sampling times and a sampling step size to be used in a sampling process for the target rendering position, as well as a number of rays emitted from the target rendering position; obtaining a first multi-scale feature from the partition result using the sampling result; and performing implicit modeling using the first multi-scale feature to obtain a modeling result.Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to perform the following steps: predicting pixel values of the first multi-scale feature using a target fully-connected neural network model to obtain a target pixel value, wherein the target fully-connected neural network model is trained through deep learning using multiple sets of data, the multiple sets of data including: training images and second multi-scale features corresponding to the training images; and generating a modeling result based on the target pixel value. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to perform the following steps: predicting pixel values of the second multi-scale feature using an initial fully-connected neural network model to obtain a training pixel value; determining a first loss using the training pixel value and the actual pixel value corresponding to the training image; and updating model parameters of the initial fully-connected neural network model based on the first loss to obtain a target fully-connected neural network model. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to perform the following steps: predicting depth values for the second multi-scale features using an initial fully connected neural network model to obtain a training depth value; determining a second loss using the training depth value and the true depth value corresponding to the training image; determining a sampling ray using the acquisition viewpoint and the target rendering position; determining a third loss using sampling weights of sampling points on the sampling ray in the sampling result; and updating model parameters of the target fully connected neural network model based on at least one of the second loss and the third loss to obtain an updated target fully connected neural network model. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to perform the following steps: under preset conditions, using an aerial image acquisition device to acquire aerial data of a preset three-dimensional scene to obtain image data to be reconstructed, wherein the preset conditions are configured to determine weather conditions and flight conditions during the aerial data acquisition process of the aerial image acquisition device. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: performing feature extraction on the image data to be reconstructed to obtain an extraction result; performing feature matching on the extraction result to obtain a matching result; and performing sparse reconstruction on the matching result to obtain a reconstruction result, wherein the reconstruction result is configured to determine the pose information of the aerial image acquisition device corresponding to the image data to be reconstructed. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: performing preprocessing on the image data to be reconstructed to obtain a preprocessing result; and performing feature extraction on the preprocessing result to obtain an extraction result.Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: performing image pairing on the extraction results to obtain a pairing result; performing feature matching on the pairing results to obtain a matching result. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: performing geometric filtering on the matching results to obtain a filtering result; performing global three-dimensional structure estimation on the filtering results to obtain an estimation result; and determining a reconstruction result based on the estimation result. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: performing horizon correction on the estimation result to obtain a first correction result; performing heading angle correction on the first correction result to obtain a second correction result; performing point cloud blocking processing on the second correction result to obtain a blocking result; and performing data format adjustment on the blocking result to obtain a reconstruction result. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: obtaining trajectory information corresponding to the aerial image acquisition device; and performing video rendering on the modeling results according to the trajectory information to obtain a target video. Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to execute the following steps: displaying image data to be reconstructed on the operation interface in response to an input instruction on the operation interface, wherein the image data to be reconstructed is configured to record an image of a preset 3D scene to be reconstructed; and displaying a target video on the operation interface in response to a reconstruction instruction on the operation interface, wherein the target video is configured to perform a scene walkthrough of the preset 3D scene, and the target video is generated using the modeling results, wherein the modeling results are obtained by implicitly modeling the image data to be reconstructed and the reconstruction results, and wherein the reconstruction results are obtained by sparsely reconstructing the image data to be reconstructed. Optionally, in this embodiment, a computer-readable storage medium is configured to store program code configured to execute the following steps: displaying an initial default screen on a presentation screen of a virtual reality (VR) device or augmented reality (AR) device; and driving the VR or AR device to jump from displaying the initial default screen to displaying a target video, wherein the target video is configured to perform scene navigation of a preset 3D scene to be reconstructed. The target video is generated using modeling results, which are obtained by implicitly modeling image data to be reconstructed and a reconstruction result. The reconstruction results are obtained by sparsely reconstructing the image data to be reconstructed, and the image data to be reconstructed is configured to record an image of the preset 3D scene. The serial numbers of the above-mentioned embodiments of the present disclosure are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In the above-mentioned embodiments of the present disclosure, the description of each embodiment has its own focus. For portions not detailed in a particular embodiment, reference can be made to the relevant descriptions of other embodiments.In the several embodiments provided in this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are illustrative. For example, the division of units is a logical functional division. In actual implementation, other divisions may be used. For example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. Furthermore, the coupling or direct coupling or communication connection shown or discussed between each other may be through interfaces, or indirect coupling or communication connection between units or modules, and may be electrical or other forms. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one location or distributed across multiple network units. Some or all of these units may be selected to achieve the objectives of the present embodiments according to actual needs. Furthermore, the functional units in the various embodiments of this disclosure may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units can be implemented in either hardware or software functional units. If implemented as software functional units and sold or used as independent products, the integrated units can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, or the portion that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a computer device (such as a personal computer, server, or network device) to perform all or part of the steps of the methods described in various embodiments of this disclosure. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, ROM, RAM, mobile hard drives, magnetic disks, or optical disks. The above is a preferred embodiment of the present disclosure. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this disclosure, and such improvements and modifications should also be considered within the scope of protection of this disclosure.Industrial Applicability: The method, storage medium, and system for generating videos based on scene reconstruction provided by the embodiments of the present disclosure obtain image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; further perform sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; then perform implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; and then use the modeling result to generate a target video, wherein the target video is configured to perform a scene walkthrough of the preset three-dimensional scene. Thus, the embodiments of the present disclosure achieve the goal of performing scene modeling based on the image data to be reconstructed through sparse reconstruction and implicit modeling to render a scene walkthrough video, thereby achieving the technical effect of improving the accuracy of the scene modeling results and the realism of the scene walkthrough video. This solves the technical problem of the existing technology of using display modeling for scene reconstruction, which results in many modeling defects and poor realism of the scene walkthrough video.
Claims
Claims 1. A method for generating video based on scene reconstruction, include: Acquire image data to be reconstructed, wherein the image data to be reconstructed is used to record an image of a preset three-dimensional scene to be reconstructed; perform sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; perform implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; generate a target video using the modeling result, wherein the target video is used to perform scene roaming of the preset three-dimensional scene.
2. The method according to claim 1, in, Performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain the modeling result includes: constructing a grid corresponding to the preset three-dimensional scene on multiple scale features based on the image data to be reconstructed and the reconstruction result to obtain a construction result, wherein the construction result is configured to determine three-dimensional space information and light field information of the preset three-dimensional scene on the multiple scale features; and performing implicit modeling using the construction result to obtain the modeling result.
3. The method according to claim 2, in, Based on the image data to be reconstructed and the reconstruction result, constructing a grid corresponding to the preset three-dimensional scene on the multiple scale features to obtain the construction result includes: determining an enclosing bounding box corresponding to the preset three-dimensional scene based on the image data to be reconstructed and the reconstruction result; performing multi-scale rasterization division on the three-dimensional space within the enclosing bounding box to obtain a division result; and using light field information corresponding to the division result to obtain a grid corresponding to the preset three-dimensional scene to obtain the construction result.
4. The method according to claim 2, in, Using the construction result to perform implicit modeling to obtain the modeling result includes: dividing the three-dimensional space information and the light field information in the construction result into multiple partitions according to the multiple scale features to obtain a partition result, wherein different partitions in the partition result are set to respectively store the three-dimensional space information and the light field information of different scale features; sampling the construction result according to a preset sampling strategy based on a capture angle of view of an aerial image capture device and a target rendering position to obtain a sampling result, wherein the preset sampling strategy is set to determine the number of samplings and the sampling step to be used in the sampling process of the target rendering position, and the number of light rays emitted from the target rendering position; obtaining a first multi-scale feature from the partition result using the sampling result; and using the first multi-scale feature to perform implicit modeling to obtain the modeling result.
5. The method according to claim 4, in, Using the first multi-scale feature to perform implicit modeling to obtain the modeling result includes: using a target fully connected neural network model to predict pixel values of the first multi-scale feature to obtain a target pixel value, wherein the target fully connected neural network model is obtained by deep learning training using multiple sets of data, and the multiple sets of data include: a training image and a second multi-scale feature corresponding to the training image; generating the modeling result based on the target pixel value.
6. The method according to claim 5, in, The method also includes: using an initial fully connected neural network model to predict pixel values of the second multi-scale feature to obtain training pixel values; determining a first loss through the training pixel values and real pixel values corresponding to the training image; and updating model parameters of the initial fully connected neural network model based on the first loss to obtain the target fully connected neural network model.
7. The method according to claim 6, in, The scene reconstruction method also includes: 23 The initial fully connected neural network model is used to predict the depth value of the second multi-scale feature to obtain a training depth value; a second loss is determined by the training depth value and the real depth value corresponding to the training image; a sampling ray is determined by the acquisition perspective and the target rendering position; a third loss is determined by the sampling weights of the sampling points in the sampling result on the sampling ray; and a model parameter of the target fully connected neural network model is updated based on at least one of the second loss and the third loss to obtain the updated target fully connected neural network model.
8. The method according to claim 1, in, Acquiring the image data to be reconstructed includes: under preset conditions, using an aerial image acquisition device to perform aerial data acquisition on the preset three-dimensional scene to obtain the image data to be reconstructed, wherein the preset conditions are set to determine the weather conditions and flight conditions of the aerial image acquisition device during the aerial data acquisition process.
9. The method according to claim 8, in, Performing sparse reconstruction on the image data to be reconstructed to obtain the reconstruction result includes: performing feature extraction on the image data to be reconstructed to obtain an extraction result; performing feature matching on the extraction result to obtain a matching result; performing sparse reconstruction on the matching result to obtain the reconstruction result, wherein the reconstruction result is set to determine the position and posture information of the aerial image acquisition device corresponding to the image data to be reconstructed...
10. The method for generating a video based on scene reconstruction according to claim 8, in, Generating the target video using the modeling result includes: acquiring trajectory information corresponding to the aerial image acquisition device; and performing video rendering on the modeling result according to the trajectory information to obtain the target video.
11. A method for generating video based on scene reconstruction, include: In response to an input instruction on an operation interface, image data to be reconstructed is displayed on the operation interface, wherein the image data to be reconstructed is set to record an image of a preset three-dimensional scene to be reconstructed; in response to a reconstruction instruction on the operation interface, a target video is displayed on the operation interface, wherein the target video is set to perform scene roaming of the preset three-dimensional scene, and the target video is generated using a modeling result, wherein the modeling result is obtained by implicitly modeling the image data to be reconstructed and a reconstruction result, and the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed.
12. A method for generating video based on scene reconstruction, include: Displaying an initial default screen on a presentation screen of a virtual reality (VR) device or an augmented reality (AR) device; The VR device or the AR device is driven to jump from displaying the initial default screen to displaying a target video, wherein the target video is set to perform scene roaming for a preset three-dimensional scene to be reconstructed, and the target video is generated using a modeling result, and the modeling result is obtained by implicitly modeling the image data to be reconstructed and the reconstruction result, and the reconstruction result is obtained by sparsely reconstructing the image data to be reconstructed, and the image data to be reconstructed is set to record an image of the preset three-dimensional scene.
13. A computer-readable storage medium, in, The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the method for generating a video based on scene reconstruction according to any one of claims 1 to 12.
14. A system for generating video by scene reconstruction, include: processor; The memory is connected to the processor and is configured to provide the processor with instructions for processing the following processing steps: obtaining image data to be reconstructed, wherein the image data to be reconstructed is configured to record an image of a preset three-dimensional scene to be reconstructed; performing sparse reconstruction on the image data to be reconstructed to obtain a reconstruction result; performing implicit modeling based on the image data to be reconstructed and the reconstruction result to obtain a modeling result; A target video is generated using the modeling result, wherein the target video is set to perform scene roaming of the preset three-dimensional scene.
Citation Information
Patent Citations
Voxel model and image generation method and device, and storage medium
CN114119838A
Virtual multi-view video generation method and device, electronic equipment and storage medium
CN115359173A
Three-dimensional reconstruction method, graphical interface, system and related device
CN115439606A
Production manufacturing control method and device and computer readable storage medium
CN115689120A
View synthesis of a dynamic scene
US20220301252A1
Cited By
Human body three-dimensional reconstruction method, system, equipment, medium and product
CN119810334A
