Panoramic video depth estimation method, system, device, and storage medium
By using spherical sensing noise initialization and cube correction temporal modeling in the panoramic video depth diffusion model, the problems of geometric accuracy and temporal consistency in panoramic video depth estimation are solved, and stable and high-precision panoramic depth prediction is achieved.
Patent Information
- Application Number
- CN202611656381.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-26
- Publication Date
- 2026-11-24
AI Technical Summary
Existing panoramic video depth estimation methods suffer from geometric accuracy and temporal consistency issues when processing videos in equidistant cylindrical projection format. In particular, severe stretching and nonlinear motion distortion occur in polar regions, leading to unstable depth estimation and low accuracy.
A progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism are adopted. Through a panoramic video depth diffusion model, the system gradually adapts to the geometric characteristics of the panoramic spherical surface and performs cross-frame temporal modeling in a low-distortion cube space to output a continuous panoramic depth sequence.
It significantly improves the geometric accuracy and temporal consistency of panoramic video depth estimation, achieves stable and high-precision depth prediction in complex scenes, and reduces depth flicker and inter-frame instability.
Smart Images

Figure CN123160629A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to panoramic video depth estimation methods, systems, devices, and storage media. Background Technology
[0002] Panoramic video depth estimation is a key technology in applications such as virtual reality, robot navigation, 3D reconstruction, and world modeling. Its goal is to predict the depth map of each frame from a continuous 360° RGB video and maintain stable and consistent results between frames.
[0003] Currently, panoramic videos are generally stored and processed using the equidistant cylindrical projection (ERP) format. However, this projection method has inherent geometric defects that can cause significant technical problems. ERP severely stretches the polar regions of the image, resulting in a mismatch between the pixel sampling density and the real spherical space. It also causes non-linear changes in the motion trajectories of objects in the video, with motion distortion being particularly prominent in the polar regions, greatly interfering with depth estimation.
[0004] Currently, mainstream panoramic video depth estimation methods can be divided into three categories: First, single-frame panoramic depth estimation methods, which independently predict depth for each frame of the panoramic image. These methods can handle ERP image distortion but lack cross-frame temporal constraints, making them prone to depth flickering and inter-frame inconsistencies when applied to video. Second, perspective video depth estimation methods, based on video diffusion models or temporal attention methods, can generate relatively stable depth sequences in ordinary perspective videos. However, their design is mainly based on perspective images and is difficult to directly adapt to spatial distortion and nonlinear temporal motion in ERP panoramic videos. Third, post-processing alignment methods, which first predict depth frame by frame and then perform inter-frame alignment through geometric optimization or reprojection constraints. These methods typically have high computational costs and are prone to instability when dynamic objects or complex camera motions are present.
[0005] Therefore, there is an urgent need for a panoramic video depth estimation method that can improve the geometric accuracy and temporal consistency of panoramic video depth estimation and achieve stable and high-precision depth prediction in complex scenes.
[0006] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0007] The main objective of this application is to provide a panoramic video depth estimation method, system, device, and storage medium, aiming to solve the technical problem of how to improve the geometric accuracy and temporal consistency of panoramic video depth estimation and achieve stable and high-precision depth prediction in complex scenes.
[0008] To achieve the above objectives, this application proposes a panoramic video depth estimation method, which includes: Obtain panoramic red, green, and blue RGB video; The panoramic RGB video is input into a pre-trained panoramic video depth diffusion model. Through spherical sensing noise initialization and cube correction temporal modeling, a continuous panoramic depth sequence is output. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
[0009] In one embodiment, the step of inputting the panoramic RGB video into a pre-trained panoramic video depth diffusion model, and outputting a continuous panoramic depth sequence through a spherical sensing noise initialization strategy and cube correction temporal modeling processing includes: In the pre-trained panoramic video depth diffusion model, the panoramic RGB video is encoded using a variational autoencoder to obtain RGB latent features; Based on the spherical sensing noise initialization strategy, an initial depth noise latent variable is constructed. The RGB latent features and the initial depth noise latent variables are input into the video diffusion denoising network; In the video diffusion denoising network, the RGB latent features are projected onto a cube projection space for temporal modeling to obtain low-distortion temporal features. The low-distortion temporal features are then projected onto a panoramic equidistant cylindrical projection space for fusion correction. After multiple rounds of iterative denoising optimization, the final target depth latent variable is output. The target depth latent variable is decoded by the variational autoencoder, and a continuous panoramic depth sequence corresponding to the panoramic RGB video is output.
[0010] In one embodiment, prior to the steps in the pre-trained panoramic video depth diffusion model that inputs the panoramic RGB video, the following steps are included: Encode the true depth map corresponding to the panoramic RGB video to obtain the depth latent variable; A progressive spherical sensing noise initialization strategy is adopted to perform noise latent variable initialization processing on the initial panoramic video depth diffusion model, generating mixed noise that conforms to the panoramic spherical geometry. Cube correction temporal modeling is performed on the depth latent variable features corresponding to the mixed noise to optimize the cross-frame temporal feature capture capability of the initial panoramic video depth diffusion model, thus obtaining the trained panoramic video depth diffusion model.
[0011] In one embodiment, the step of performing noise latent variable initialization processing on the initial panoramic video depth diffusion model using a progressive spherical sensing noise initialization strategy to generate mixed noise that conforms to the panoramic spherical geometry includes: For the initial panoramic video depth diffusion model, the basic noise is sampled based on the three-dimensional spherical geometric space; Based on the mapping relationship between pixels of panoramic equidistant cylindrical projection and spherical space, spherical perceived noise is obtained; Regular planar noise is collected, and a progressive training strategy is used to weight and fuse the spherical perceived noise and the regular planar noise to obtain a mixed noise that conforms to the geometric characteristics of the panoramic spherical surface.
[0012] In one embodiment, the step of using a progressive training strategy to weightedly fuse the spherical sensing noise and the conventional planar noise to obtain a hybrid noise that conforms to the panoramic spherical geometry includes: Assign corresponding weights to the conventional planar noise and the spherical perceived noise, respectively; Based on the weights configured for the conventional planar noise and the spherical sensing noise, the spherical sensing noise and the conventional planar noise are weighted and fused to obtain the weighted fused mixed noise; The weighted and fused mixed noise is constrained by a preset variance constraint condition to obtain mixed noise that conforms to the geometric characteristics of the panoramic spherical surface; Specifically, in the initial training phase of the initial panoramic video depth diffusion model, the weight of the conventional planar noise is increased, and the weight of the spherical perception noise is decreased. During the training iteration phase of the initial panoramic video depth diffusion model, the weight of the conventional planar noise is reduced, and the weight of the spherical sensing noise is increased.
[0013] In one embodiment, the step of performing cube-corrected temporal modeling processing on the depth latent variable features corresponding to the mixed noise to optimize the cross-frame temporal feature capture capability of the initial panoramic video depth diffusion model and obtain the trained panoramic video depth diffusion model includes: In the initial panoramic video depth diffusion model, the panoramic equidistant cylindrical projection features corresponding to the depth latent variable features are extracted, and the panoramic equidistant cylindrical projection features are converted into cubic features in the cubic projection space. Within the cube projection space, the cube features are temporally modeled to obtain low-distortion temporal features; By using a preset back projection operation, the low-distortion cross-frame temporal features are mapped back to the panoramic equidistant cylindrical projection space to generate panoramic equidistant cylindrical projection correction features. The panoramic equidistant cylindrical projection correction features are fused with the temporal modeling results of the panoramic equidistant cylindrical projection main branch, and the fused features are output to complete the temporal feature correction and optimization of the initial panoramic video depth diffusion model, thus obtaining the trained panoramic video depth diffusion model.
[0014] In one embodiment, the step of performing temporal modeling on the cube features to obtain low-distortion temporal features includes: The cube features are split to obtain low-distortion split features in the cube projection space; Obtain the semantic condition features corresponding to the cube features, and input the low distortion splitting features and the semantic condition features into the temporal modeling layer of the initial panoramic video depth diffusion model; The temporal modeling layer performs cross-frame temporal modeling on the low-distortion splitting features based on the semantic condition features, and fits the inter-frame linear motion correlation of the panoramic spherical scene to obtain low-distortion temporal features.
[0015] Furthermore, to achieve the above objectives, this application also proposes a panoramic video depth estimation system, which includes: The acquisition module is used to acquire panoramic red-green-blue RGB video. The inference module is used to input the panoramic RGB video into a pre-trained panoramic video depth diffusion model, and output a continuous panoramic depth sequence through spherical sensing noise initialization and cube correction temporal modeling processing. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
[0016] In addition, to achieve the above objectives, this application also proposes a panoramic video depth estimation device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the panoramic video depth estimation method as described above.
[0017] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the panoramic video depth estimation method described above.
[0018] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the panoramic video depth estimation method described above.
[0019] This application proposes a panoramic video depth estimation method, system, device, and storage medium. The method includes: acquiring panoramic RGB video; inputting the panoramic RGB video into a pre-trained panoramic video depth diffusion model; and outputting a continuous panoramic depth sequence through spherical sensing noise initialization and cube correction temporal modeling. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism. This scheme solves the problems of poor model training adaptability and pre-training prior failure by using a progressive mixed noise initialization method adapted to the geometric characteristics of the panoramic spherical surface. Simultaneously, it completes cross-frame temporal modeling through a cube correction temporal modeling mechanism to correct ERP spatial nonlinear motion distortion, effectively improving the geometric accuracy and temporal consistency of panoramic video depth estimation. It can achieve stable and high-precision continuous depth prediction in complex panoramic scenes, significantly improving the overall performance and robustness of panoramic video depth estimation. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating an embodiment of the panoramic video depth estimation method of this application. Figure 2 This is a flowchart illustrating Embodiment 2 of the panoramic video depth estimation method of this application; Figure 3 This is a flowchart illustrating Embodiment 3 of the panoramic video depth estimation method of this application; Figure 4 This is a flowchart illustrating Embodiment 4 of the panoramic video depth estimation method of this application; Figure 5 This is a schematic diagram of the module structure of the panoramic video depth estimation system according to an embodiment of this application; Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the panoramic video depth estimation method in this application embodiment.
[0023] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0024] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0025] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0026] The main solution of this application embodiment is: to acquire panoramic red-green-blue RGB video; to input the panoramic RGB video into a pre-trained panoramic video depth diffusion model, and to output a continuous panoramic depth sequence through spherical sensing noise initialization and cube correction temporal modeling processing, wherein the panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
[0027] In this embodiment, for ease of description, the panoramic video depth estimation system will be used as the execution subject for the following description.
[0028] Existing methods for depth estimation in panoramic video suffer from the following shortcomings: 1. Single-frame panoramic depth estimation methods lack temporal consistency, and frame-by-frame prediction can easily lead to flickering, scale drift, and inter-frame instability in video depth results.
[0029] 2. Perspective video depth models are difficult to directly adapt to panoramic ERP representations. ERP images suffer from dimensionality-dependent stretching, resulting in uneven spatial information density; simultaneously, ERP distortion causes non-linear changes in motion trajectories within the video, making it difficult for ordinary temporal modules to effectively model them.
[0030] 3. Post-processing alignment methods are computationally complex and have limited robustness. These methods rely on test-time optimization and are prone to failure when dealing with dynamic objects, complex motions, or unstable camera poses.
[0031] This application provides a solution that directly predicts continuous depth sequences from panoramic RGB video, reducing reliance on post-processing optimization during testing. Simultaneously, it proposes a progressive spherical sensing noise initialization strategy, enabling the diffusion model to gradually adapt from ordinary planar noise to spherical geometric distribution, mitigating the impact of uneven ERP information density. Furthermore, this solution proposes cubic graph correction temporal modeling processing, projecting ERP features onto a low-distortion cubic space for auxiliary temporal modeling, and then mapping them back to the ERP space, thereby enhancing the model's ability to model nonlinear temporal dynamics.
[0032] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions. The following description uses a personal computer as an example to illustrate this embodiment and the subsequent embodiments.
[0033] Based on this, embodiments of this application provide a panoramic video depth estimation method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the panoramic video depth estimation method of this application.
[0034] In this embodiment, the panoramic video depth estimation method includes steps S10~S20: Step S10: Acquire panoramic RGB video; In this embodiment, a continuous panoramic RGB video segment is received, denoted as... Where T represents the number of video frames. Indicates the first Frame-by-frame panoramic RGB images. Each frame is stored in ERP format.
[0035] Step S20: Input the panoramic RGB video into the pre-trained panoramic video depth diffusion model, and output a continuous panoramic depth sequence through spherical sensing noise initialization and cube correction temporal modeling. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
[0036] It should be noted that the continuous panoramic depth sequence is a continuous frame-level depth map sequence that perfectly matches the timing and resolution of the input panoramic RGB video. It can represent the real spatial depth information corresponding to each pixel in each frame of the panoramic scene and can accurately restore the spatial structure of the 360° panoramic scene.
[0037] Understandably, while panoramic RGB video in ERP format can represent a complete 360° horizontal field of view, it exhibits significant stretching in the polar regions. Directly applying a general perspective video depth model to ERP video would make it difficult for the model to correctly handle the spatial features and temporal motion in the polar regions. Therefore, step S20 is executed to avoid the geometric mismatch and temporal modeling distortion defects of traditional perspective depth models when adapted to panoramic ERP video through spherical perception noise initialization and low-distortion spatial-temporal correction mechanisms. This effectively improves the geometric accuracy and temporal consistency of panoramic video depth estimation, enabling stable and high-precision continuous depth prediction in complex panoramic scenes.
[0038] In one feasible embodiment, step S20 may include steps S21 to S25: Step S21: In the pre-trained panoramic video depth diffusion model, the panoramic RGB video is encoded using a variational autoencoder to obtain RGB latent features. It should be noted that the Variational Autoencoder (VAE) is a pre-trained feature and reconstruction model with bidirectional mapping capability between the image pixel space and the latent feature space. It can achieve efficient feature compression and reconstruction while preserving the core semantic and structural information of the scene.
[0039] In this embodiment, the panoramic RGB video is input into the encoder of a pre-trained variational autoencoder, mapping the high-resolution original RGB pixel space to a low-dimensional latent feature space. This completes pixel-level redundant information filtering and feature compression, resulting in lower-dimensional, more semantically focused RGB latent features. This process can be represented as: ,in, Indicates VAE encoder, This represents the potential features of RGB video.
[0040] By using latent space modeling, the computational overhead of subsequent diffusion denoising can be significantly reduced, eliminating the need to perform iterative denoising operations in high-resolution pixel space and effectively improving the efficiency of panoramic depth generation.
[0041] Step S22: Construct initial depth noise latent variables based on the spherical sensing noise initialization strategy; In this embodiment, the basic noise is sampled in three-dimensional spherical space, and the mapping relationship between ERP pixels and spherical space is combined to generate spherical perception noise that is adapted to the panoramic geometry. Then, conventional planar noise is combined with weighted fusion and variance constraints to generate mixed noise that conforms to the panoramic spherical distribution, which serves as the initial depth noise latent variable required for diffusion inference.
[0042] Step S23: Input the RGB latent features and the initial depth noise latent variables into the video diffusion denoising network; In this embodiment, the encoded RGB latent features are used as semantic conditional features of the panoramic scene to provide scene structure and texture priors for depth generation; at the same time, the constructed initial depth noise latent variables are used as the initial input for the network iterative denoising and are fed into the video diffusion denoising network built into the panoramic video depth diffusion model to provide an input basis for subsequent temporal modeling and progressive denoising generation.
[0043] Step S24: In the video diffusion denoising network, the RGB latent features are projected onto a cube projection space for temporal modeling to obtain low-distortion temporal features, and the low-distortion temporal features are projected onto a panoramic equidistant cylindrical projection space for fusion correction. After multiple rounds of iterative denoising optimization, the final target depth latent variable is output. In this embodiment, in the intermediate feature layer of the video diffusion denoising network, the RGB latent features with polar stretching distortion are spatially transformed and mapped to the cubemap low-distortion space through forward projection from ERP to Cubemap. Cross-frame temporal modeling is then performed within the cube space, fitting linear and stable inter-frame motion relationships to obtain low-distortion temporal features that avoid nonlinear distortion. The corrected cube temporal features are then projected back into the ERP space and fused with the ERP main branch features for further correction. Through multiple rounds of iterative denoising optimization by the video diffusion denoising network, redundant noise in the initial noise latent variables is gradually removed, ultimately yielding geometrically accurate and temporally smooth target depth latent variables.
[0044] The ERP space is an equidistant cylindrical projection space, which is the mainstream image storage and representation space for panoramic videos. It can unfold 360° spherical panoramic information, but it has inherent defects such as pixel stretching in the two extreme regions and nonlinear motion distortion.
[0045] The Cubemap is a projection method that maps a panoramic spherical image onto the six faces of a cube. It features small single-face distortion, near-perspective projection, and high motion linearity.
[0046] Step S25: Decode the target depth latent variable using the variational autoencoder to output a continuous panoramic depth sequence corresponding to the panoramic RGB video.
[0047] In this embodiment, the decoder of the pre-trained variational autoencoder is invoked to reconstruct and upsample the target depth latent variables output by the video diffusion denoising network, restore the low-dimensional latent features to pixel-level depth maps, and finally output a continuous panoramic depth sequence that completely corresponds to the number of frames, resolution and temporal rhythm of the input panoramic RGB video.
[0048] Through the above steps, a progressive spherical sensing noise initialization strategy is introduced to address the inherent geometric distortion problem of ERP panoramic videos. This strategy ensures that the initial noise distribution during the inference phase conforms to the real geometric characteristics of the panoramic sphere. Simultaneously, based on the cube correction temporal modeling mechanism, cross-frame motion modeling is completed in the low-distortion cube space. This effectively overcomes the nonlinear distortion defect of ERP polar motion, significantly improves the geometric accuracy and temporal stability of panoramic video depth estimation, and enables high-precision, flicker-free continuous depth prediction in various complex panoramic scenes.
[0049] The above-described embodiments are used to acquire panoramic RGB video. This panoramic RGB video is then input into a pre-trained panoramic video depth diffusion model. Through progressive spherical sensing noise initialization and cube correction temporal modeling, a continuous panoramic depth sequence is output. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism. This scheme addresses the problems of poor model training adaptability and pre-training prior failure by using a progressive mixed noise initialization method adapted to the geometric characteristics of the panoramic spherical surface. Simultaneously, the cube correction temporal modeling mechanism completes cross-frame temporal modeling to correct ERP spatial nonlinear motion distortion, effectively improving the geometric accuracy and temporal consistency of panoramic video depth estimation. This enables stable and high-precision continuous depth prediction in complex panoramic scenes, significantly improving the overall performance and robustness of panoramic video depth estimation.
[0050] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 Before step S20, the panoramic video depth estimation method further includes steps S201 to S203: Step S201: Encode the real depth map corresponding to the panoramic RGB video to obtain the depth latent variable; It should be noted that the true depth map is a pixel-level ground truth depth image that is time-aligned, viewpoint-aligned, and consistent with the ERP projection format of the input panoramic RGB video. Each frame of the true depth map is matched one-to-one with the corresponding frame of the panoramic RGB image, which is used for supervision and constraints during the model training phase.
[0051] In this embodiment, the acquired true depth map is first preprocessed, converting the true depth values into a model-adapted disparity form or a normalized depth representation, and the depth map channel dimensions are copied and expanded to match the dimensionality format of the variational autoencoder (VAE) input channels. Then, a pre-trained VAE encoder is used to perform feature compression encoding to obtain the depth latent variables. This encoding process can be represented as: Where D represents the depth map sequence, This represents a deep latent variable.
[0052] Step S202: A progressive spherical sensing noise initialization strategy is used to perform noise latent variable initialization processing on the initial panoramic video depth diffusion model to generate mixed noise that conforms to the panoramic spherical geometry. It should be noted that the hybrid noise that conforms to the panoramic spherical geometry is a composite noise obtained by dynamically weighting and fusing conventional planar Gaussian noise and spherical perception noise. It eliminates the defects of the uniform distribution of traditional planar noise, fits the pixel density distribution of panoramic ERP images and the real geometric characteristics of three-dimensional spheres, and takes into account the prior knowledge of pre-trained models and panoramic geometric adaptability through progressive weight adjustment and variance constraints.
[0053] Optionally, step S202 may include steps A1 to A3: Step A1: For the initial panoramic video depth diffusion model, sample the basic noise based on the three-dimensional spherical geometric space; In this embodiment, Gaussian noise is sampled within the complete three-dimensional spherical geometric space to obtain the original basic noise that fits the panoramic three-dimensional spatial properties, ensuring that the initial sampling dimension of the noise is consistent with the panoramic spherical imaging dimension, thus providing a basis for the subsequent generation of geometrically adapted noise.
[0054] Step A2: Based on the mapping relationship between the pixels of the panoramic equidistant cylindrical projection and the spherical space, the spherical perceived noise is obtained; In this embodiment, a pixel-to-pixel mapping relationship is established between the three-dimensional spherical space and the two-dimensional ERP image plane. The basic noise sampled from the three-dimensional spherical space is allocated to the corresponding pixel positions of the ERP latent features through the projection mapping rules from the sphere to the ERP plane, completing the noise spatial dimension transformation and obtaining spherical perception noise adapted to the panoramic ERP projection characteristics. This process can be represented as: ,in, This represents the noise sampled in the spherical geometric space. This represents a projection operation from the Sphere spherical space to the ERP planar space. This represents the final spherical sensing noise. Unlike ordinary planar noise, which is uniformly distributed globally in ERP images, this spherical sensing noise matches the non-uniform distribution characteristics of ERP polar stretching and equatorial density, thus conforming to the real imaging rules of panoramic images.
[0055] Step A3: Collect conventional planar noise and use a progressive training strategy to weightedly fuse the spherical perceived noise and the conventional planar noise to obtain a mixed noise that conforms to the panoramic spherical geometry.
[0056] In this embodiment, conventional Gaussian plane noise uniformly distributed in a two-dimensional plane is collected, and the two types of noise are dynamically weighted and fused using a progressive transition training strategy. The mixed noise fusion formula is as follows:
[0057] in, This represents ordinary plane Gaussian noise. Indicates spherical perceived noise. Indicates ordinary noise weight. This represents the spherical noise weight.
[0058] Through the above steps, without introducing additional learnable parameters or changing the backbone structure of the original diffusion model, the panoramic video depth diffusion model can gradually adapt to the non-uniform information density of ERP, thereby improving the geometric stability of panoramic depth estimation.
[0059] Step S203: Perform cube correction temporal modeling processing on the depth latent variable features corresponding to the mixed noise to optimize the cross-frame temporal feature capture capability of the initial panoramic video depth diffusion model, and obtain the trained panoramic video depth diffusion model.
[0060] It should be noted that the cross-frame temporal feature capture capability is the feature extraction and fitting capability of the panoramic video depth diffusion model to mine the motion law of objects between frames in the panoramic scene based on the features of continuous frames, constrain the nonlinear distortion motion of polar regions, eliminate the jitter of inter-frame depth abrupt changes, and accurately restore the real motion trajectory in three-dimensional space. It is the core model performance that ensures the temporal coherence and geometric accuracy of the panoramic depth results.
[0061] Optionally, step S203 may include steps B1 to B4: Step B1: Extract the panoramic equidistant cylindrical projection features corresponding to the depth latent variable features in the initial panoramic video depth diffusion model, and convert the panoramic equidistant cylindrical projection features into cubic features in the cubic projection space. In this embodiment, the ERP panoramic features corresponding to the depth latent variable features of the mixed noise are extracted. These features suffer from polar stretching and motion nonlinear distortion. By using a preset ERP-to-Cubemap forward projection operator, the ERP features are converted into cube features in the cube projection space.
[0062] in, This represents the projection operation from the ERP plane to the cubemap cube space; Represents the features of a cube; It features a panoramic equidistant cylindrical projection. ( Indicates batch size. Indicates the number of video frames. Indicates the number of feature channels. and (These represent the feature height and width, respectively). Since a Cubemap contains six faces (front, back, left, right, top, and bottom), the converted six faces can be treated as extended batch dimensions for processing.
[0063] Step B2: In the cube projection space, perform temporal modeling on the cube features to obtain low-distortion temporal features; In this embodiment, each facet of the Cubemap cubic space closely resembles the effect of ordinary perspective imaging, with minimal local geometric distortion and linear motion trajectories of objects. The transformed six-sided cube features are used as the processing object, and cross-frame temporal modeling is performed in the low-distortion cube space. This replaces the traditional ERP spatial distortion modeling method, accurately fitting the real inter-frame motion relationships of the panoramic scene, effectively eliminating polar nonlinear motion distortion interference, and outputting high-fidelity, low-distortion cross-frame temporal features.
[0064] Step B3: Through a preset back projection operation, the low-distortion cross-frame temporal features are mapped back to the panoramic equidistant cylindrical projection space to generate panoramic equidistant cylindrical projection correction features. In this embodiment, the back projection operator from Cubemap to ERP is called to uniformly map the low-distortion temporal features optimized in the cube space back to the original ERP feature space, restoring them to a feature form that is completely consistent with the original panoramic feature size, dimension, and arrangement, thus obtaining ERP correction features that incorporate low-distortion temporal information, ensuring the dimensionality adaptability of subsequent feature fusion.
[0065] Specifically, the corrected cubemap features are reprojected back into the ERP space:
[0066] in, This represents the back projection operation from the Cubemap to the ERP. This represents the ERP correction features obtained from the reconstruction. It is a low-distortion cross-frame temporal feature.
[0067] This feature contains timing information obtained from modeling in a low-distortion cubemap space, which can be used to assist in timing correction of the original ERP branch.
[0068] Step B4: The panoramic equidistant cylindrical projection correction features are fused with the temporal modeling results of the panoramic equidistant cylindrical projection main branch. The fused features are then output to complete the temporal feature correction and optimization of the initial panoramic video depth diffusion model, resulting in the trained panoramic video depth diffusion model.
[0069] In this embodiment, to avoid the Cubemap branch causing instability to the backbone network during the early stages of training, a zero-initialization projection layer is used for stable fusion. Specifically, the final output features are represented as follows:
[0070] in, This represents the time-series modeling results of the ERP main branch. Z(·) represents the semantic conditional features of ERP, and Z(·) represents the zero-initialized projection layer. This represents the output features after fusion.
[0071] The zero-initialization projection layer serves to ensure that its output is close to zero in the early stages of training, making the model mainly rely on the original ERP main branch. As training progresses, the projection layer gradually learns how to effectively incorporate the correction information of the Cubemap branch, thereby ensuring the stability of the training process.
[0072] Through the above steps, this scheme can complete the cross-frame temporal relationship modeling of panoramic video within the cubemap projection space with smaller distortion, effectively correct the nonlinear motion deviation of ERP polar regions caused by projection distortion, and significantly improve the temporal consistency of panoramic depth prediction results; at the same time, it reuses the original temporal network structure of the model and, together with the zero-initialization feature fusion strategy, ensures that the overall training process of the model converges smoothly.
[0073] By utilizing the above-described methods, the spherical perception mixed noise is adapted to the panoramic geometric distribution, while relying on the low-distortion cubic space to correct temporal distortion. This approach effectively solves the problems of unstable training, polar temporal distortion, and depth jitter in traditional panoramic depth models without adding a large number of learnable parameters or altering the backbone network structure, and significantly improves the model's ability to capture cross-frame motion features of panoramic videos.
[0074] Based on the second embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to that in the second embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 Further elaborating on step A3, the panoramic video depth estimation method also includes steps A31 to A33: Step A31: Assign corresponding weights to the conventional planar noise and the spherical sensing noise respectively; In this embodiment, adjustable planar noise weights are configured for conventional planar Gaussian noise to meet the adaptation needs of different training stages of the model. Simultaneously, corresponding spherical noise weights are configured for spherical sensing noise. The two types of weights are matched and adjusted in a coordinated manner, providing parameter support for the gradual fusion of noise. The weight parameters can be dynamically and adaptively adjusted according to the training iteration rounds.
[0075] Step A32: Based on the corresponding weights configured for the conventional planar noise and the spherical sensing noise, the spherical sensing noise and the conventional planar noise are weighted and fused to obtain the weighted fused mixed noise; In this embodiment, a progressive weighting dynamic transition mechanism is used to combine the configured planar noise weights and spherical noise weights to perform linear weighted fusion calculations on the two types of noise, resulting in unconstrained initial mixed noise. It should be noted that in the initial training stage of the initial panoramic video depth diffusion model, the weight of the conventional planar noise is increased while the weight of the spherical perceived noise is decreased. This prioritizes preserving the original distribution prior of the pre-trained perspective video model, preventing panoramic spherical noise from damaging the model's basic feature extraction capabilities and avoiding oscillations and non-convergence issues in the early stages of training. During the training iteration stage of the initial panoramic video depth diffusion model, the weight of the conventional planar noise is gradually decreased while the weight of the spherical perceived noise is simultaneously increased. This guides the initial panoramic video depth diffusion model to progressively adapt to the spherical geometric distribution and non-uniform pixel distribution characteristics of the panoramic ERP image, smoothly completing the model training feature transfer.
[0076] Step A33: The weighted and fused mixed noise is constrained by a preset variance constraint condition to obtain mixed noise that conforms to the panoramic spherical geometry.
[0077] In this embodiment, to address the issues of overall variance shift and unstable distribution of the mixed noise during dynamic weight adjustment, a preset variance normalization constraint is used to correct the initial mixed noise after weighted fusion. The constraint formula satisfies... ,in, For plane noise weights, This represents the spherical noise weight.
[0078] This constraint method ensures that the overall variance of the mixed noise remains stable throughout the entire training process, regardless of how the planar noise weights and spherical noise weights are dynamically iterated. It prevents sudden changes in noise distribution due to weight switching, further improving the stability and convergence efficiency of model training, and ultimately obtaining a standard mixed noise that is evenly distributed, conforms to the geometric characteristics of the panoramic sphere, and is adapted to the training rhythm of the model.
[0079] Through the methods described in the above embodiments, this embodiment refines the hierarchical decomposition of the fusion process between spherical perception noise and planar noise. By adjusting weights in stages, it achieves a smooth transition from perspective prior to panoramic geometric characteristics. Combined with a variance constraint mechanism, it completely solves the noise distribution shift problem during progressive training. This refinement strategy requires no new learnable parameters and does not alter the core structure of the model. It effectively preserves the general features of the pre-trained model while accurately adapting to the spherical imaging characteristics of panoramic ERP, significantly improving the instability and poor geometric adaptability of panoramic video depth diffusion models.
[0080] Based on the second embodiment of this application, in the fourth embodiment of this application, the content that is the same as or similar to that in the second embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 4 Further elaborating on step B2, the panoramic video depth estimation method also includes steps B21 to B23: Step B21: The cube features are split to obtain low-distortion split features in the cube projection space; In this embodiment, the overall feature of the six-sided cube obtained by ERP projection transformation is divided into independent single-face sub-features according to the structural dimensions of the six faces of the cube: front, back, left, right, top, and bottom. The six face features are then used as extended batch dimensions for regularization processing to obtain a cube low-distortion split feature with regular dimensions and no distortion, thus eliminating the feature distortion problem caused by ERP polar stretching distortion.
[0081] Step B22: Obtain the semantic condition features corresponding to the cube features, and input the low distortion splitting features and the semantic condition features into the temporal modeling layer of the initial panoramic video depth diffusion model; In this embodiment, panoramic semantic condition features corresponding one-to-one with the cube features are extracted. These features include prior semantic information such as panoramic scene texture, object structure, and spatial location. The low-distortion split cube features are used as the main features for temporal modeling, and the semantic condition features are used as the constraint prior features. They are jointly input into the temporal attention layer or the video diffusion temporal modeling module to provide semantic constraints for cross-frame motion fitting.
[0082] Step B23: Based on the semantic condition features, the temporal modeling layer performs cross-frame temporal modeling on the low-distortion splitting features to fit the inter-frame linear motion correlation of the panoramic spherical scene in order to obtain low-distortion temporal features.
[0083] In this embodiment, temporal modeling is performed using a cubic space:
[0084] in, This represents the temporal modeling layer, which can be a temporal attention layer or a temporal module in a video diffusion model. This represents the semantic conditional features corresponding to the Cubemap.
[0085] Leveraging the high linearity of motion in Cubemap space, the nonlinear and distorted inter-frame motion trajectories in ERP space are corrected into linear and smooth motion relationships, accurately capturing the real cross-frame motion patterns of panoramic scenes, effectively avoiding the distortion problem in polar temporal modeling, and finally obtaining low-distortion temporal features with high temporal consistency and small geometric errors.
[0086] Through the methods described above, this embodiment refines the complete process of cubic spatial temporal modeling. By feature decomposition, semantic constraint modeling, and linear motion fitting, it completely solves the defect that traditional ERP temporal modeling cannot adapt to panoramic nonlinear motion, significantly improves the inter-frame stability and geometric accuracy of panoramic video depth estimation, and ensures the overall training process is stable and reliable by relying on the zero-initialization fusion mechanism.
[0087] For example, the method in this embodiment is divided into two core stages: offline model pre-training and online inference. The specific implementation process is as follows: This embodiment first performs an offline pre-training phase, acquiring panoramic RGB video and real depth map data pairs aligned in time sequence, viewpoint, and projection format to iteratively optimize model parameters. During the training phase, the preprocessed real depth map is encoded using a VAE encoder to obtain depth latent variables. Simultaneously, based on sampling fundamental noise in a 3D spherical space, spherical perception noise is generated by combining the mapping relationship between the sphere and ERP space. A progressive training strategy is used to dynamically adjust the fusion weights of planar Gaussian noise and spherical perception noise, combined with variance constraints to generate stable hybrid noise that fits the panoramic geometry. Further, for the depth latent variable features corresponding to the hybrid noise, a bidirectional projection transformation between ERP features and Cubemap features is performed. Cross-frame temporal modeling is performed within a low-distortion cube space to correct nonlinear motion distortion in the ERP polar regions. The model's cross-frame temporal feature capture capability is optimized through dual-branch feature fusion. After iterative convergence, the trained panoramic video depth diffusion model is obtained.
[0088] Secondly, during the online inference phase, the panoramic RGB video in ERP format to be detected is acquired in real time. Continuous frames of panoramic RGB video are input into a pre-trained panoramic video depth diffusion model. The panoramic RGB video is feature-compressed using a VAE encoder to obtain low-dimensional RGB latent features. Simultaneously, a progressive spherical sensing noise initialization strategy is used to construct initial depth noise latent variables specific to inference. The RGB latent features and initial depth noise latent variables are jointly input into a video diffusion denoising network. Relying on a cube correction temporal modeling mechanism, temporal feature optimization and multi-round iterative denoising are completed to obtain refined target depth latent variables. Finally, the target depth latent variables are upsampled and reconstructed using a VAE decoder to output a high-precision continuous panoramic depth sequence that perfectly matches the temporal and resolution information of the input panoramic RGB video, thus completing the panoramic video depth estimation task.
[0089] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the panoramic video depth estimation method of this application. Any simple transformations based on this technical concept are within the protection scope of this application.
[0090] This application also provides a panoramic video depth estimation system; please refer to [link / reference].Figure 5 The panoramic video depth estimation system includes: Module 10 is used to acquire panoramic red-green-blue RGB video; The inference module 20 is used to input the panoramic RGB video into a pre-trained panoramic video depth diffusion model, and output a continuous panoramic depth sequence through spherical sensing noise initialization and cube correction temporal modeling processing. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
[0091] The panoramic video depth estimation system provided in this application, employing the panoramic video depth estimation method described in the above embodiments, can solve the technical problem of how to improve the geometric accuracy and temporal consistency of panoramic video depth estimation, and achieve stable and high-precision depth prediction in complex scenes. Compared with the prior art, the beneficial effects of the panoramic video depth estimation system provided in this application are the same as those of the panoramic video depth estimation method provided in the above embodiments, and other technical features of the panoramic video depth estimation system are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0092] This application provides a panoramic video depth estimation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the panoramic video depth estimation method in the above embodiment 1.
[0093] The following is for reference. Figure 6 The diagram illustrates a structural schematic of a panoramic video depth estimation device suitable for implementing embodiments of this application. The panoramic video depth estimation device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The panoramic video depth estimation device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0094] like Figure 6As shown, the panoramic video depth estimation device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the panoramic video depth estimation device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the panoramic video depth estimation device to communicate wirelessly or wiredly with other devices to exchange data. While panoramic video depth estimation devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0095] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0096] The panoramic video depth estimation device provided in this application, employing the panoramic video depth estimation method described in the above embodiments, can solve the technical problem of how to improve the geometric accuracy and temporal consistency of panoramic video depth estimation, and achieve stable and high-precision depth prediction in complex scenes. Compared with the prior art, the beneficial effects of the panoramic video depth estimation device provided in this application are the same as those of the panoramic video depth estimation method provided in the above embodiments, and other technical features in this panoramic video depth estimation device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0097] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0098] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0099] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the panoramic video depth estimation method in the above embodiments.
[0100] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0101] The aforementioned computer-readable storage medium may be included in the panoramic video depth estimation device; or it may exist independently and not assembled into the panoramic video depth estimation device.
[0102] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the panoramic video depth estimation device, the panoramic video depth estimation device: acquires panoramic RGB video; inputs the panoramic RGB video into a pre-trained panoramic video depth diffusion model, and outputs a continuous panoramic depth sequence through spherical sensing noise initialization and cube correction temporal modeling processing, wherein the panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
[0103] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0104] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0105] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0106] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described panoramic video depth estimation method. This addresses the technical problem of improving the geometric accuracy and temporal consistency of panoramic video depth estimation, and achieving stable and high-precision depth prediction in complex scenes. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the panoramic video depth estimation method provided in the above embodiments, and will not be elaborated upon here.
[0107] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the panoramic video depth estimation method described above.
[0108] The computer program product provided in this application can solve the technical problem of how to improve the geometric accuracy and temporal consistency of panoramic video depth estimation and achieve stable and high-precision depth prediction in complex scenes. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the panoramic video depth estimation method provided in the above embodiments, and will not be repeated here.
[0109] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for depth estimation in panoramic video, characterized in that, The panoramic video depth estimation method includes: Obtain panoramic red, green, and blue RGB video; The panoramic RGB video is input into a pre-trained panoramic video depth diffusion model. Through spherical sensing noise initialization and cube correction temporal modeling, a continuous panoramic depth sequence is output, including: In the pre-trained panoramic video depth diffusion model, the panoramic RGB video is encoded using a variational autoencoder to obtain RGB latent features; Based on the spherical sensing noise initialization strategy, an initial depth noise latent variable is constructed. The RGB latent features and the initial depth noise latent variables are input into the video diffusion denoising network; In the video diffusion denoising network, the RGB latent features are projected onto a cube projection space for temporal modeling to obtain low-distortion temporal features. The low-distortion temporal features are then projected onto a panoramic equidistant cylindrical projection space for fusion correction. After multiple rounds of iterative denoising optimization, the final target depth latent variable is output. The target depth latent variable is decoded by the variational autoencoder, and a continuous panoramic depth sequence corresponding to the panoramic RGB video is output. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
2. The panoramic video depth estimation method as described in claim 1, characterized in that, Prior to the steps in the pre-trained panoramic video depth diffusion model using panoramic RGB video input, the following steps are included: Encode the true depth map corresponding to the panoramic RGB video to obtain the depth latent variable; A progressive spherical sensing noise initialization strategy is adopted to perform noise latent variable initialization processing on the initial panoramic video depth diffusion model, generating mixed noise that conforms to the panoramic spherical geometry. Cube correction temporal modeling is performed on the depth latent variable features corresponding to the mixed noise to optimize the cross-frame temporal feature capture capability of the initial panoramic video depth diffusion model, thus obtaining the trained panoramic video depth diffusion model.
3. The panoramic video depth estimation method as described in claim 2, characterized in that, The step of performing noise latent variable initialization processing on the initial panoramic video depth diffusion model using a progressive spherical sensing noise initialization strategy to generate mixed noise that conforms to the panoramic spherical geometry includes: For the initial panoramic video depth diffusion model, the basic noise is sampled based on the three-dimensional spherical geometric space; Based on the mapping relationship between pixels of panoramic equidistant cylindrical projection and spherical space, spherical perceived noise is obtained; Regular planar noise is collected, and a progressive training strategy is used to weight and fuse the spherical perceived noise and the regular planar noise to obtain a mixed noise that conforms to the geometric characteristics of the panoramic spherical surface.
4. The panoramic video depth estimation method as described in claim 3, characterized in that, The step of using a progressive training strategy to weightedly fuse the spherical perceived noise and the conventional planar noise to obtain a hybrid noise that conforms to the geometric characteristics of a panoramic spherical surface includes: Assign corresponding weights to the conventional planar noise and the spherical perceived noise, respectively; Based on the weights configured for the conventional planar noise and the spherical sensing noise, the spherical sensing noise and the conventional planar noise are weighted and fused to obtain the weighted fused mixed noise; The weighted and fused mixed noise is constrained by a preset variance constraint condition to obtain mixed noise that conforms to the geometric characteristics of the panoramic spherical surface; Specifically, in the initial training phase of the initial panoramic video depth diffusion model, the weight of the conventional planar noise is increased, and the weight of the spherical perception noise is decreased. During the training iteration phase of the initial panoramic video depth diffusion model, the weight of the conventional planar noise is reduced, and the weight of the spherical sensing noise is increased.
5. The panoramic video depth estimation method as described in claim 2, characterized in that, The steps of performing cube-corrected temporal modeling on the depth latent variable features corresponding to the mixed noise, optimizing the cross-frame temporal feature capture capability of the initial panoramic video depth diffusion model, and obtaining the trained panoramic video depth diffusion model include: In the initial panoramic video depth diffusion model, the panoramic equidistant cylindrical projection features corresponding to the depth latent variable features are extracted, and the panoramic equidistant cylindrical projection features are converted into cubic features in the cubic projection space. Within the cube projection space, the cube features are temporally modeled to obtain low-distortion temporal features; By using a preset back projection operation, the low-distortion temporal features are mapped back to the panoramic equidistant cylindrical projection space to generate panoramic equidistant cylindrical projection correction features. The panoramic equidistant cylindrical projection correction features are fused with the temporal modeling results of the panoramic equidistant cylindrical projection main branch, and the fused features are output to complete the temporal feature correction and optimization of the initial panoramic video depth diffusion model, thus obtaining the trained panoramic video depth diffusion model.
6. The panoramic video depth estimation method as described in claim 5, characterized in that, The step of performing temporal modeling on the cube features to obtain low-distortion temporal features includes: The cube features are split to obtain low-distortion split features in the cube projection space; Obtain the semantic condition features corresponding to the cube features, and input the low distortion splitting features and the semantic condition features into the temporal modeling layer of the initial panoramic video depth diffusion model; The temporal modeling layer performs cross-frame temporal modeling on the low-distortion splitting features based on the semantic condition features, and fits the inter-frame linear motion correlation of the panoramic spherical scene to obtain low-distortion temporal features.
7. A panoramic video depth estimation system, characterized in that, The panoramic video depth estimation system includes: The acquisition module is used to acquire panoramic red-green-blue RGB video. The inference module is used to input panoramic RGB video into a pre-trained panoramic video depth diffusion model. Through spherical sensing noise initialization and cube correction temporal modeling, it outputs a continuous panoramic depth sequence, including: In the pre-trained panoramic video depth diffusion model, the panoramic RGB video is encoded using a variational autoencoder to obtain RGB latent features; Based on the spherical sensing noise initialization strategy, an initial depth noise latent variable is constructed. The RGB latent features and the initial depth noise latent variables are input into the video diffusion denoising network; In the video diffusion denoising network, the RGB latent features are projected onto a cube projection space for temporal modeling to obtain low-distortion temporal features. The low-distortion temporal features are then projected onto a panoramic equidistant cylindrical projection space for fusion correction. After multiple rounds of iterative denoising optimization, the final target depth latent variable is output. The target depth latent variable is decoded by the variational autoencoder, and a continuous panoramic depth sequence corresponding to the panoramic RGB video is output. The panoramic video depth diffusion model is trained based on a progressive spherical sensing noise initialization strategy and a cube correction temporal modeling mechanism.
8. A panoramic video depth estimation device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the panoramic video depth estimation method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the panoramic video depth estimation method as described in any one of claims 1 to 6.
