Holographic video generation method and device, equipment and storage medium

By dividing the multi-view video into multiple groups of multi-view image sequences and determining the static points of the reference frame, the problem of too long time to generate holographic video with the three-dimensional Gaussian splash technology is solved, the rapid generation of high-quality holographic video is achieved, and wireless communication networks are supported. on-demand function.

CN118540453APending Publication Date: 2024-08-23PENG CHENG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410745994.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When generating holographic videos based on 3D Gaussian splash technology, the generation time is too long, resulting in 30 minutes of 30,000 iterations to generate a high-quality 3D Gaussian point cloud, which affects the efficiency of holographic video generation.

Method used

Divide the multi-view video into multiple groups of multi-view image sequences, determine the static points of the reference frame, and generate generated frames of other time frame images based on the static points, reducing the repeated generation of static point parameters, only need to generate dynamic point parameters, and then generate High quality holographic video.

Benefits of technology

It significantly reduces the generation time of holographic videos, saving about 60% of the time, while supporting the holographic video on-demand function in wireless communication networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540453A
    Figure CN118540453A
Patent Text Reader

Abstract

The invention discloses a holographic video generation method and device, equipment and a storage medium, and relates to the technical field of holographic videos, and the method comprises the steps: obtaining a multi-view video, and dividing the multi-view video into a plurality of groups of multi-view image sequences; determining a first generation frame of a first moment frame image in the multi-view image sequence as a reference frame; determining a static point of the reference frame based on a second moment frame image of the multi-view image and the reference frame; generating a second generation frame of the second moment frame image based on the static point; and generating a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences. The generation time of the holographic video can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of holographic video technology, and in particular to a holographic video generation method, device, equipment and storage medium. Background Art

[0002] When generating holographic videos based on the 3D Gaussian splash technology, only the 3D Gaussian point cloud at each moment can be generated frame by frame. For example, it takes 30 minutes to generate a frame of high-quality 3D Gaussian point cloud on a graphics card after 30,000 iterations, which will cause the generation time of the holographic video to be too long.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide a holographic video generation method, device, equipment and storage medium, aiming to solve the technical problem of long generation time of holographic video generated by three-dimensional Gaussian splash technology.

[0005] To achieve the above objectives, the present application proposes a holographic video generation method, which includes:

[0006] Acquire a multi-view video, and divide the multi-view video into multiple groups of multi-view image sequences;

[0007] Determine a first generated frame of a frame image at a first moment in a multi-view image sequence as a reference frame;

[0008] Determine a static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame;

[0009] Based on the static point, generating a second generated frame of the frame image at the second moment;

[0010] A holographic video is generated based on the first generated frame and the second generated frame of each group of multi-view image sequences.

[0011] In one embodiment, the step of determining the static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame comprises:

[0012] Based on the frame image at the second moment, determining real images at different viewing angles;

[0013] Rendering the reference frame to determine rendered images at different viewing angles;

[0014] Based on the rendered image, the real image and the Gaussian point of the reference frame, determining the correlation between the Gaussian point and the frame image at the second moment;

[0015] When the correlation is less than or equal to a preset threshold, the Gaussian point is determined as a static point of the reference frame.

[0016] In one embodiment, the step of generating a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences further includes:

[0017] Replacing the static point parameters of the second generated frame with the parameter indexes of the static points of the reference frame to obtain a target second generated frame;

[0018] Based on the first compressed frames of each group of multi-view image sequences, a compressed holographic video of the holographic video is generated and stored, wherein the first compressed frame includes a first generated frame and a target second generated frame.

[0019] In one embodiment, the step of generating a compressed holographic video of the holographic video based on the first compressed frame of each group of multi-view image sequences, and storing the compressed holographic video comprises:

[0020] Based on the covariance codebook and the spherical harmonic codebook of each group of multi-view image sequences, the covariance matrix of the Gaussian point in the first compressed frame is replaced with the first index value, and the spherical harmonic function of the Gaussian point in the first compressed frame is replaced with the second index value, thereby obtaining a second compressed frame;

[0021] A compressed holographic video is generated according to the second compressed frame, and the compressed holographic video, the covariance codebook and the spherical harmonic function codebook are stored.

[0022] In one embodiment, the first index value includes a covariance coefficient and a covariance matrix codebook index, and the second index value includes a spherical harmonic function codebook index; wherein the step of replacing the covariance matrix of the Gaussian point in the first compressed frame with the first index value and replacing the Gaussian point spherical harmonic function in the first compressed frame with the second index value based on the covariance codebook and the spherical harmonic function codebook of each group of multi-view image sequences, and obtaining the second compressed frame comprises:

[0023] Decomposing the covariance matrix of the Gaussian points in the first compressed frame into covariance coefficients and a normalized covariance matrix;

[0024] Determine a covariance codebook for each group of multi-view image sequences according to a normalized covariance matrix of Gaussian points in a first compressed frame, and determine a spherical harmonic function codebook for each group of multi-view image sequences according to a spherical harmonic function of Gaussian points in the first compressed frame, wherein the covariance codebook is used to represent a mapping relationship between a normalized covariance matrix and a covariance codebook index, and the spherical harmonic function codebook is used to represent a mapping relationship between a spherical harmonic function and a spherical harmonic function codebook index;

[0025] After replacing the covariance matrix of the Gaussian points in the first compressed frame with the covariance coefficients and the covariance codebook index, and replacing the spherical harmonic functions of the Gaussian points in the target generated frame with the spherical harmonic function codebook, a second compressed frame is obtained.

[0026] In one embodiment, the steps of determining the covariance codebook of each group of multi-view image sequences according to the normalized covariance matrix of the Gaussian points in the first compressed frame, and determining the spherical harmonic function codebook of each group of multi-view image sequences according to the spherical harmonic function of the Gaussian points in the first compressed frame include:

[0027] Based on the vector clustering strategy, the normalized covariance matrix of the Gaussian points in the first compressed frame is compressed into a covariance codebook, and the spherical harmonic functions of the Gaussian points in the first compressed frame are compressed into a spherical harmonic function codebook.

[0028] In one embodiment, the step of replacing the covariance matrix of the Gaussian points in the first compressed frame with the covariance coefficients and the covariance codebook index, and replacing the spherical harmonics of the Gaussian points in the target generated frame with the spherical harmonics codebook, obtaining the second compressed frame comprises:

[0029] After replacing the covariance matrix of the Gaussian points in the first compressed frame with the covariance coefficient and the covariance codebook index, and replacing the spherical harmonic functions of the Gaussian points in the target generated frame with the spherical harmonic function codebook, an initial second compressed frame is obtained;

[0030] Based on the point cloud compression algorithm, the three-dimensional coordinates and opacity of the Gaussian points in the initial second compressed frame are compressed to obtain a second compressed frame.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a holographic video generation device, the holographic video generation device comprising:

[0032] An acquisition module, used for acquiring a multi-view video, and dividing the multi-view video into a plurality of groups of multi-view image sequences;

[0033] A determination module, used to determine a first generated frame of a frame image at a first moment in a multi-view image sequence as a reference frame;

[0034] The determination module is further used to determine the static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame;

[0035] A generating module, used for generating a second generated frame of the frame image at the second moment based on the static point;

[0036] The generation module is also used to generate a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a holographic video generation device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the holographic video generation method described above.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which 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, the steps of the holographic video generation method described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the holographic video generation method described above are implemented.

[0040] One or more technical solutions proposed in this application have at least the following technical effects:

[0041] The holographic video generation method, device, equipment and storage medium proposed in the present application obtain a multi-view video, divide the multi-view video into multiple groups of multi-view image sequences; determine the first generated frame of the first moment frame image in the multi-view image sequence as a reference frame; determine the static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame; generate the second generated frame of the second moment frame image based on the static point; generate a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences. The technical problem of long holographic video generation time is solved. Compared with the prior art, the present application generates holographic videos based on three-dimensional Gaussian splash technology. It is necessary to first divide the multi-view video into multiple groups of multi-view image sequences, and then determine the reference frames in each group of multi-view image sequences in turn, and then determine the static points in the reference frame based on the reference frame and the second moment frame image, and then reuse the static point parameters in the reference frame to generate the generated frames of other moment frame images. In this way, there is no need to repeatedly generate static point parameters when generating the generated frames of other moment frame images, and only dynamic point parameters except static point parameters need to be generated, so as to achieve the generation time of holographic video while generating high-quality holographic video, so as to support the on-demand function of holographic video in wireless communication network. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 A flowchart diagram of the first embodiment of the holographic video generation method of the present application is provided;

[0045] Figure 2 A schematic diagram of a multi-view image sequence of a holographic video generation method provided in Example 1 of the present application;

[0046] Figure 3 A schematic diagram of a specific process of the holographic video generation method provided in Example 1 of the present application;

[0047] Figure 4 A schematic diagram of the index of the compressed frame image provided in Example 2 of the holographic video generation method of the present application;

[0048] Figure 5 A schematic diagram of a brief flow chart of a holographic video generation method provided in Embodiment 2 of the present application;

[0049] Figure 6 This is a schematic diagram of the module structure of the holographic video generating device according to an embodiment of the present application;

[0050] Figure 7 This is a schematic diagram of the device structure of the hardware operating environment involved in the holographic video generation method in the embodiment of the present application.

[0051] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0052] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0054] The main solution of the embodiment of the present application is: obtain a multi-view video, divide the multi-view video into multiple groups of multi-view image sequences; determine the first generated frame of the first moment frame image in the multi-view image sequence as a reference frame; based on the second moment frame image of the multi-view image and the reference frame, determine the static point of the reference frame; based on the static point, generate the second generated frame of the second moment frame image; based on the first generated frame and the second generated frame of each group of multi-view image sequences, generate a holographic video.

[0055] In this embodiment, for the convenience of description, the following description is made by taking the identification of the holographic video generation device as the execution subject.

[0056] Because the existing technology can only generate three-dimensional Gaussian point clouds at each moment frame by frame when generating holographic videos based on three-dimensional Gaussian splash technology, for example, it takes 30 minutes to generate a frame of high-quality three-dimensional Gaussian point cloud on a graphics card after 30,000 iterations, which will cause the generation time of the holographic video to be too long.

[0057] The present application provides a solution. The present application generates a holographic video based on the three-dimensional Gaussian splash technology. It is necessary to first divide the multi-view video into multiple groups of multi-view image sequences, and then determine the reference frames in each group of multi-view image sequences in turn, and then determine the static points in the reference frame based on the reference frame and the second moment frame image, and then reuse the static point parameters in the reference frame to generate the generated frame images of other moment frame images. In this way, there is no need to repeatedly generate static point parameters when generating the generated frame images of other moment frame images, and only dynamic point parameters except the static point parameters need to be generated, so as to achieve the generation time of the holographic video while generating high-quality holographic video, so as to support the on-demand function of the holographic video in the wireless communication network.

[0058] It can be seen from the above embodiments that the present application obtains a multi-view video and divides the multi-view video into multiple groups of multi-view image sequences; determines the first generated frame of the first moment frame image in the multi-view image sequence as a reference frame; determines the static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame; generates the second generated frame of the second moment frame image based on the static point; generates a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences. The technical problem of long holographic video generation time is solved. Compared with the prior art, the present application generates holographic videos based on three-dimensional Gaussian splash technology. It is necessary to first divide the multi-view video into multiple groups of multi-view image sequences, and then determine the reference frames in each group of multi-view image sequences in turn, and then determine the static points in the reference frame based on the reference frame and the second moment frame image, and then reuse the static point parameters in the reference frame to generate the generated frames of other moment frame images. In this way, there is no need to repeatedly generate static point parameters when generating the generated frames of other moment frame images, and only dynamic point parameters except static point parameters need to be generated, so as to achieve the generation time of holographic video while generating high-quality holographic video, so as to support the on-demand function of holographic video in wireless communication network.

[0059] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a holographic video generation device, etc. The following takes a holographic video generation device as an example to illustrate this embodiment and the following embodiments.

[0060] Based on this, the present application embodiment provides a holographic video generation method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the holographic video generation method of the present application.

[0061] In this embodiment, the holographic video generation method includes steps S10 to S50:

[0062] Step S10, obtaining a multi-view video, and dividing the multi-view video into a plurality of groups of multi-view image sequences;

[0063] It should be noted that multi-view video refers to a video that uses multiple cameras to simultaneously shoot the same scene from different angles, that is, a multi-view video is composed of a series of continuous multi-view images.

[0064] In the specific implementation, Figure 2 As shown, the multi-view video can be evenly divided according to the time sequence to obtain multiple groups of multi-view image sequences, each group of multi-view image sequences includes M(t1,…,t M )’s multi-view images.

[0065] Step S20, determining the first generated frame of the frame image at the first moment in the multi-view image sequence as a reference frame;

[0066] It should be noted that the first moment frame image refers to the multi-perspective image corresponding to the initial moment in the multi-perspective image sequence; the first generated frame refers to the three-dimensional Gaussian point cloud obtained by processing the first moment frame image with the three-dimensional Gaussian splash technology. In the process of generating holographic video, the three-dimensional Gaussian splash technology takes the multi-perspective image as input and adopts a differentiable rendering method. Through multiple iterations, the three-dimensional Gaussian point cloud reconstructs the scene more completely in the virtual space (that is, the three-dimensional Gaussian point cloud at each moment is generated according to the multi-perspective image input frame by frame). The main difference between the three-dimensional Gaussian point cloud and the traditional point cloud lies in the data format. The point cloud format of the three-dimensional Gaussian point cloud includes three-dimensional coordinates Opacity σ∈[0,1], Spherical Harmonic (k represents the degrees of freedom of the spherical harmonics), covariance matrix Etc., where the spherical harmonic function c is a function that effectively approximates complex lighting environments and is often used in real-time rendering. Assuming that the spherical harmonic function takes the third order, the degree of freedom k = (3+1) 2 *3=48; The covariance matrix ∑ is used to represent the range of action of each point in the three-dimensional space of the three-dimensional Gaussian point cloud, which can be decomposed into ∑=Rss T R T ,in is the rotation matrix, is the scaling vector.

[0067] It can be understood that the first generated frame of the first moment frame image of each group of multi-view image sequences can be determined as the reference frame of the group of multi-view image sequences.

[0068] Step S30, determining a static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame;

[0069] It should be noted that the second moment frame image refers to the multi-view image at other moments in the multi-view image sequence except the first moment frame image. For example, the multi-view image sequence includes M moments (t1,…,t M ), then the multi-view image corresponding to time t1 is the first frame image, (t2,…,t M ) moments are the second moment frame images.

[0070] In a feasible implementation, the step of determining the static point of the reference frame based on the second moment frame image of the multi-perspective image and the reference frame includes: determining the real image at different perspectives based on the second moment frame image; rendering the reference frame to determine the rendered image at different perspectives; based on the rendered image, the real image and the Gaussian point of the reference frame, determining the correlation between the Gaussian point and the second moment frame image; when the correlation is less than or equal to a preset threshold, determining the Gaussian point as the static point of the reference frame.

[0071] It should be noted that the Gaussian points of the reference frame refer to the points in the three-dimensional Gaussian point cloud corresponding to the reference frame; since the second-time frame image is a multi-perspective image, the real image of the second-time frame image at different perspectives can be determined; rendering the reference frame refers to converting the reference frame from a 3D static image into a 2D plane image (that is, a rendered image) at multiple different perspectives.

[0072] In a specific implementation, the correlation between the Gaussian point in the reference frame and the frame image at the second moment is calculated as follows:

[0073]

[0074] Where N represents the number of views of the multi-view image, L(I′ i ,I k,i ) represents the rendered image I′ at the i-th perspective in the reference frame i The real image I of the multi-view image at the kth moment under the i-th view k,i The loss function, p represents the Gaussian point parameter, Represents the partial derivative of the loss function with respect to p.

[0075] It can be understood that when the correlation of the Gaussian point does not exceed a preset threshold, the point can be defined as a static point of the reference frame.

[0076] It should be noted that when calculating the correlation of Gaussian points, it is necessary to traverse all Gaussian points in the reference frame.

[0077] Step S40, generating a second generated frame of the frame image at the second moment based on the static point;

[0078] It should be noted that when generating the second generated frame of the second moment frame image, the static point parameters of the reference frame can be reused. Therefore, only the dynamic point parameters need to be calculated when generating the second generated frame. For example, after fixing the parameters of the static points in the reference frame, the second moment frame image is processed by the three-dimensional Gaussian splash technology to obtain the second generated frame (that is, the parameters of the dynamic points of the second generated frame are generated by the three-dimensional Gaussian splash technology).

[0079] Step S50, generating a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences.

[0080] It should be noted that the second generated frame refers to all the second generated frames corresponding to the frame images at all moments in the multi-view image sequence. The holographic video is composed of all the generated frames of each group of multi-view image sequences (the generated frames are determined by the three-dimensional Gaussian splash technology based on the multi-view images). The holographic video is presented to the audience in a three-dimensional form, and the audience can observe and perceive the depth and three-dimensional structure of the object from different angles.

[0081] It should be noted that experiments have shown that the use of this solution to generate holographic videos can significantly reduce the generation time by about 60%, and the peak signal-to-noise ratio of the generated frame image obtained using this solution has only a visual loss of no more than 0.1 dB compared to the generated frame image obtained using the three-dimensional Gaussian splash technology that does not use a reference frame.

[0082] In the specific implementation, Figure 3 As shown in the figure, first assume that the number of holographic video frames is H (that is, the number of multi-view images is H), and divide the multi-view images into multiple groups of multi-view image sequences, each group contains M moments (t1,…,t M), initialize k = 1 and the reference frame (referring to the multi-view image at the initial moment in each group of multi-view image sequences), the specific steps of generating the holographic video are as follows:

[0083] (1) Let the current time be t k (k>0), if k%M=1, t can be directly determined by the three-dimensional Gaussian splashing technique k The generated frame of the multi-view image at time f k (That is, when the current moment is the initial moment of a set of multi-view image sequences, the generated frame of the multi-view image at this moment can be directly determined by the three-dimensional Gaussian splashing technology, and the generated frame is used as the reference frame of the set of multi-view image sequences), the number of iterations is K times, and the reference frame f is updated to frame f k , then execute step (6); if k%M≠1 (that is, the current moment is not the initial moment of a set of multi-view image sequences), continue to execute step (2);

[0084] (2) Use the reference frame f to perform rendering at multiple perspectives at the current moment to obtain a rendered image I' (that is, convert the reference frame from 3D to 2D plane images at different perspectives, and the 2D plane images at different perspectives are the rendered images). Then compare the rendered image I' with the real image I at the current moment. k (i.e., the image of the multi-view image at different viewpoints at the current moment) to calculate the correlation between the Gaussian point in the reference frame and the frame image at the second moment:

[0085]

[0086] Where N represents the number of views of the multi-view image, L(I′ i ,I k,i ) represents the rendered image I′ at the i-th perspective in the reference frame i The real image I of the multi-view image at the kth moment under the i-th view k,i The loss function, p represents the Gaussian point parameter, Represents the partial derivative of the loss function with respect to p.

[0087] (3) Traverse all points p in the reference frame f. If its correlation E(p) does not exceed the threshold, we define the point as a static point.

[0088] (4) We fix the static point parameters of the reference frame f and use the reference frame f as the initial 3D Gaussian point cloud. Then, we generate t by the 3D Gaussian splashing technique. k The generated frame f of the multi-view image at time k , the number of iterations is less than K times;

[0089] (5) Replace the generated frame f kThe parameters of the static points in are the corresponding parameter indices of the reference frame f;

[0090] (6) Update k=k+1. If k>H, it means that all frames have been generated and the process ends. Otherwise, execute step (1).

[0091] The present embodiment provides a method for generating a holographic video, which obtains a multi-view video and divides the multi-view video into multiple groups of multi-view image sequences; determines a first generated frame of a frame image at a first moment in the multi-view image sequence as a reference frame; determines a static point of the reference frame based on a frame image at a second moment of the multi-view image and the reference frame; generates a second generated frame of the frame image at the second moment based on the static point; and generates a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences. The technical problem of long holographic video generation time is solved. Compared with the prior art, this embodiment generates holographic video based on three-dimensional Gaussian splash technology. It is necessary to first divide the multi-view video into multiple groups of multi-view image sequences, and then determine the reference frame in each group of multi-view image sequences in turn, and then determine the static point in the reference frame based on the reference frame and the second moment frame image, and then reuse the static point parameters in the reference frame to generate the generated frames of other moment frame images. In this way, there is no need to repeatedly generate static point parameters when generating the generated frames of other moment frame images, and only dynamic point parameters except static point parameters need to be generated, so as to achieve the generation time of holographic video while generating high-quality holographic video, so as to support the on-demand function of holographic video in wireless communication network.

[0092] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 4 After step S50, the holographic video generation method further includes steps S60 to S70:

[0093] Step S60, replacing the static point parameters of the second generated frame with the parameter indexes of the static points of the reference frame to obtain a target second generated frame;

[0094] It should be noted that the target second generated frame refers to the second generated frame after compression, and the target second generated frame is composed of dynamic point parameters and static point index values.

[0095] It should be noted that the static point parameters include three-dimensional coordinates Opacity σ∈[0,1], Spherical Harmonic (k represents the degrees of freedom of the spherical harmonics), covariance matrix wait.

[0096] It should be noted that in order to realize the on-demand function of holographic video, it is necessary to reduce the amount of storage data of holographic video. The static point parameters in the second generated frame can be replaced by the parameter index of the static point in the reference frame. In this way, when storing the second generated frame, only the dynamic point parameters and static point parameter index of the second generated frame can be stored, thereby reducing the storage space of the holographic video.

[0097] Step S70, based on the first compressed frames of each group of multi-view image sequences, generate a compressed holographic video of the holographic video, and store the compressed holographic video, wherein the first compressed frame includes a first generated frame and a target second generated frame.

[0098] It should be noted that the three-dimensional Gaussian point cloud requires a very large amount of storage space. Each Gaussian point occupies 248 bytes of storage space. A 3*3*3 square meter static scene (that is, generating a frame image) usually needs to contain 500,000 Gaussian points. The storage space of the uncompressed three-dimensional Gaussian point cloud requires 124 megabytes. Assuming that the frame rate of the holographic video based on the three-dimensional Gaussian point cloud is 30fps, the bit rate of the uncompressed holographic video is as high as 29.76Gbps, which exceeds the support range of WiFi6 (maximum download rate 9.6Gbps) and 5.5G (maximum download rate 10Gbps). Therefore, in order to realize the on-demand function of holographic video, the storage capacity of the holographic video needs to be compressed to maintain the high-quality display of the holographic video.

[0099] In a feasible implementation, the step of generating a compressed holographic video of the holographic video based on the first compressed frame of each group of multi-view image sequences, and storing the compressed holographic video includes: based on the covariance codebook and the spherical harmonic function codebook of each group of multi-view image sequences, replacing the covariance matrix of the Gaussian points in the first compressed frame with a first index value, and replacing the spherical harmonic function of the Gaussian points in the first compressed frame with a second index value, to obtain a second compressed frame; generating a compressed holographic video according to the second compressed frame, and storing the compressed holographic video, the covariance codebook and the spherical harmonic function codebook.

[0100] It should be noted that a set of multi-view image sequences corresponds to a set of generated frame sequences, and the holographic video is composed of multiple sets of generated frame sequences.

[0101] It should be noted that the covariance codebook is used to represent the mapping relationship between the covariance matrix and the covariance codebook index, and the spherical harmonic function codebook is used to represent the mapping relationship between the spherical harmonic function and the spherical harmonic function codebook index. The first index value refers to the covariance codebook index, and the second index value refers to the spherical harmonic function codebook. After replacing the covariance matrix of the Gaussian points with the first index value, the covariance matrix corresponding to the first index value can be directly determined from the covariance codebook according to the first index value. After replacing the spherical harmonic function of the Gaussian points with the second index value, the spherical harmonic function corresponding to the second index value can be directly determined from the spherical harmonic function codebook according to the second index value.

[0102] It should be noted that the compressed holographic video refers to the holographic video after compression. For each group of generated frame sequences of the holographic video, a covariance codebook, a spherical harmonic function codebook, and all the second compressed frames (i.e., all frames after compression) need to be stored.

[0103] In a specific implementation, as Figure 5 shown, the frame format of the second compressed frame includes three-dimensional coordinates, opacity, spherical harmonic function codebook index, covariance codebook index, and covariance coefficient. The second compressed frame can determine the corresponding covariance matrix and spherical harmonic function from the spherical harmonic function codebook and the covariance codebook through the spherical harmonic function codebook index, covariance codebook index, and covariance coefficient.

[0104] In a specific implementation, assume that each group of generated frame sequences contains generated frames at M moments, each generated frame contains an average of B points, and the codebook size is set to A (A < B). Then the compression ratio that can be achieved by the covariance codebook or the spherical harmonic function codebook is such that it can be determined that after the holographic video based on the three-dimensional Gaussian point cloud format is compressed, compared with the uncompressed holographic video based on the three-dimensional Gaussian point cloud format, a compression ratio of 17.8 times is achieved.

[0105] In a feasible implementation manner, the first index value includes a covariance coefficient and a covariance matrix codebook index, and the second index value includes a spherical harmonic function codebook index; wherein, the step of obtaining the second compressed frame after replacing the covariance matrix of the Gaussian point in the first compressed frame with the first index value and replacing the spherical harmonic function of the Gaussian point in the first compressed frame with the second index value based on the covariance codebook and the spherical harmonic function codebook of each group of multi-view image sequences comprises: decomposing the covariance matrix of the Gaussian point in the first compressed frame into covariance coefficients and a normalized covariance matrix; and obtaining the second compressed frame according to the normalization of the Gaussian point in the first compressed frame. The covariance matrix determines the covariance codebook of each group of multi-view image sequences, and the spherical harmonic function codebook of each group of multi-view image sequences is determined according to the spherical harmonic function of the Gaussian point in the first compressed frame, wherein the covariance codebook is used to represent the mapping relationship between the normalized covariance matrix and the covariance codebook index, and the spherical harmonic function codebook is used to represent the mapping relationship between the spherical harmonic function and the spherical harmonic function codebook index; after replacing the covariance matrix of the Gaussian points in the first compressed frame with the covariance coefficient and the covariance codebook index, and replacing the spherical harmonic function of the Gaussian point in the target generated frame with the spherical harmonic function codebook, a second compressed frame is obtained.

[0106] It should be noted that the covariance matrix of the Gaussian points Decomposed into ∑ = Rss T R T , and then decompose the scaling vector Among them, ρ = ||s||2 is the covariance coefficient, To normalize the scaling vector, substitute the scaling vector into the decomposition formula of the covariance matrix in, is the normalized covariance matrix.

[0107] In a feasible implementation, the steps of determining the covariance codebook of each group of multi-view image sequences according to the normalized covariance matrix of the Gaussian points in the first compressed frame, and determining the spherical harmonic function codebook of each group of multi-view image sequences according to the spherical harmonic function of the Gaussian points in the first compressed frame include: based on a vector clustering strategy, compressing the normalized covariance matrix of the Gaussian points in the first compressed frame into a covariance codebook, and compressing the spherical harmonic function of the Gaussian points in the first compressed frame into a spherical harmonic function codebook.

[0108] It should be noted that all normalized covariance matrices of the generated frame sequences corresponding to a set of multi-view image sequences are compressed into a covariance codebook, and all spherical harmonic functions of the generated frame sequences corresponding to a set of multi-view image sequences are compressed into a spherical harmonic function codebook.

[0109] In the specific implementation, the covariance matrix of the Gaussian points in the frame image will be generated Decomposed into ∑ = Rss T RT , and then decompose the scaling vector Among them, ρ = ||s||2 is the covariance coefficient, To normalize the scaling vector, substitute the scaling vector into the decomposition formula of the covariance matrix in, is the normalized covariance matrix. For each set of generated frame image sequences of holographic video (f1,…,f M ) is the normalized covariance matrix The vector clustering strategy is used to compress it into a covariance codebook. Since the normalized covariance matrix is ​​a symmetric matrix, it can be compressed Assuming the codebook size is A, the covariance codebook size is Finally, the covariance matrix of the frame image (ie, frame sequence) generated within the group is replaced by the covariance codebook index and covariance coefficient.

[0110] In the specific implementation, the spherical harmonics The vector clustering method is used to compress the codebook into a spherical harmonic function codebook. Assuming the codebook size is A, the spherical harmonic function codebook size is Finally, the spherical harmonics of the frame images (ie, frame sequences) generated within the group are replaced by the spherical harmonics codebook indexes.

[0111] In a feasible implementation manner, the step of obtaining a second compressed frame after replacing the covariance matrix of the Gaussian points in the first compressed frame with covariance coefficients and covariance codebook indexes, and replacing the spherical harmonics of the Gaussian points in the target generated frame with a spherical harmonics codebook includes: obtaining an initial second compressed frame after replacing the covariance matrix of the Gaussian points in the first compressed frame with covariance coefficients and covariance codebook indexes, and replacing the spherical harmonics of the Gaussian points in the target generated frame with a spherical harmonics codebook; and compressing the three-dimensional coordinates and opacity of the Gaussian points in the initial second compressed frame based on a point cloud compression algorithm to obtain a second compressed frame.

[0112] It should be noted that a point cloud compression algorithm (eg, Point Cloud Library) may be used to further compress the three-dimensional coordinates and opacity of the generated frame (ie, the initial second compressed frame).

[0113] This embodiment obtains a target second generated frame by replacing the static point parameters of the second generated frame with the parameter index of the static point of the reference frame; based on the first compressed frame of each group of multi-view image sequences, a compressed holographic video of the holographic video is generated, and the compressed holographic video is stored, wherein the first compressed frame includes the first generated frame and the target second generated frame. This embodiment replaces the static point parameters in the second generated frame by reusing the parameter index of the static point parameters of the reference frame. In this way, there is no need to store the static point parameters of the second generated frame, and only the parameter index corresponding to the static point parameters needs to be stored, which can greatly reduce the storage space of the holographic video.

[0114] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the holographic video generation method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0115] This application also provides a holographic video generation device, please refer to Figure 6 , the holographic video generating device comprises:

[0116] An acquisition module 10 is used to acquire a multi-view video and divide the multi-view video into a plurality of groups of multi-view image sequences;

[0117] A determination module 20, configured to determine a first generated frame of a frame image at a first moment in a multi-view image sequence as a reference frame;

[0118] The determination module 20 is further configured to determine a static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame;

[0119] A generating module 30, configured to generate a second generated frame of the frame image at the second moment based on the static point;

[0120] The generating module 30 is further configured to generate a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences.

[0121] The holographic video generation device provided by the present application adopts the holographic video generation method in the above embodiment, which can solve the technical problem that the generation time of the holographic video generated by the three-dimensional Gaussian splash technology is too long. Compared with the prior art, the beneficial effects of the holographic video generation device provided by the present application are the same as the beneficial effects of the holographic video generation method provided by the above embodiment, and the other technical features in the holographic video generation device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0122] The present application provides a holographic video generating device, which includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the holographic video generating method in the above-mentioned embodiment 1.

[0123] Reference below Figure 7 , which shows a schematic diagram of the structure of a holographic video generating device suitable for implementing the embodiment of the present application. The holographic video generating device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The holographic video generating device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0124] like Figure 7As shown, the holographic video generating device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the holographic video generating device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the holographic video generation device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a holographic video generation device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0125] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0126] The holographic video generation device provided by the present application adopts the holographic video generation method in the above embodiment, which can solve the technical problem that the generation time of the holographic video generated by the three-dimensional Gaussian splash technology is too long. Compared with the prior art, the beneficial effects of the holographic video generation device provided by the present application are the same as the beneficial effects of the holographic video generation method provided by the above embodiment, and the other technical features in the holographic video generation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0127] It should be understood that the various parts disclosed in this application can be implemented by 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 one or more embodiments or examples in a suitable manner.

[0128] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0129] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the holographic video generation method in the above-mentioned embodiment.

[0130] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. 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 combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0131] The computer-readable storage medium may be included in the holographic video generating device; or may exist independently without being assembled into the holographic video generating device.

[0132] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by a holographic video generating device, the holographic video generating device: obtains a multi-view video, divides the multi-view video into multiple groups of multi-view image sequences; determines the first generated frame of the first moment frame image in the multi-view image sequence as a reference frame; determines the static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame; generates the second generated frame of the second moment frame image based on the static point; generates a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences.

[0133] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

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

[0135] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0136] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned holographic video generation method, and can solve the technical problem that the generation time of holographic videos generated by three-dimensional Gaussian splash technology is too long. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the holographic video generation method provided by the above-mentioned embodiment, and will not be repeated here.

[0137] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned holographic video generation method when executed by a processor.

[0138] The computer program product provided by the present application can solve the technical problem that the generation time of the holographic video generated by the three-dimensional Gaussian splash technology is too long. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the holographic video generation method provided by the above embodiment, which will not be repeated here.

[0139] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A holographic video generation method, It is characterized in that The method comprises: Acquire a multi-view video, and divide the multi-view video into multiple groups of multi-view image sequences; Determine a first generated frame of a frame image at a first moment in a multi-view image sequence as a reference frame; Determine a static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame; Based on the static point, generating a second generated frame of the frame image at the second moment; A holographic video is generated based on the first generated frame and the second generated frame of each group of multi-view image sequences.

2. The method according to claim 1, It is characterized in that The step of determining the static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame comprises: Based on the frame image at the second moment, determining real images at different viewing angles; Rendering the reference frame to determine rendered images at different viewing angles; Based on the rendered image, the real image and the Gaussian point of the reference frame, determining the correlation between the Gaussian point and the frame image at the second moment; When the correlation is less than or equal to a preset threshold, the Gaussian point is determined as a static point of the reference frame.

3. The method according to claim 1, It is characterized in that After the step of generating a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences, the step further includes: Replacing the static point parameters of the second generated frame with the parameter indexes of the static points of the reference frame to obtain a target second generated frame; Based on the first compressed frames of each group of multi-view image sequences, a compressed holographic video of the holographic video is generated and stored, wherein the first compressed frame includes a first generated frame and a target second generated frame.

4. The method according to claim 3, It is characterized in that The step of generating a compressed holographic video of the holographic video based on the first compressed frame of each group of multi-view image sequences, and storing the compressed holographic video comprises: Based on the covariance codebook and the spherical harmonic codebook of each group of multi-view image sequences, the covariance matrix of the Gaussian point in the first compressed frame is replaced with the first index value, and the spherical harmonic function of the Gaussian point in the first compressed frame is replaced with the second index value, thereby obtaining a second compressed frame; A compressed holographic video is generated according to the second compressed frame, and the compressed holographic video, the covariance codebook and the spherical harmonic function codebook are stored.

5. The method according to claim 4, It is characterized in that The first index value includes a covariance coefficient and a covariance matrix codebook index, and the second index value includes a spherical harmonic function codebook index; wherein the step of replacing the covariance matrix of the Gaussian point in the first compressed frame with the first index value and replacing the Gaussian point spherical harmonic function in the first compressed frame with the second index value based on the covariance codebook and the spherical harmonic function codebook of each group of multi-view image sequences, and obtaining the second compressed frame comprises: Decomposing the covariance matrix of the Gaussian points in the first compressed frame into covariance coefficients and a normalized covariance matrix; Determine a covariance codebook for each group of multi-view image sequences according to a normalized covariance matrix of Gaussian points in a first compressed frame, and determine a spherical harmonic function codebook for each group of multi-view image sequences according to a spherical harmonic function of Gaussian points in the first compressed frame, wherein the covariance codebook is used to represent a mapping relationship between a normalized covariance matrix and a covariance codebook index, and the spherical harmonic function codebook is used to represent a mapping relationship between a spherical harmonic function and a spherical harmonic function codebook index; After replacing the covariance matrix of the Gaussian points in the first compressed frame with the covariance coefficients and the covariance codebook index, and replacing the spherical harmonic functions of the Gaussian points in the target generated frame with the spherical harmonic function codebook, a second compressed frame is obtained.

6. The method according to claim 5, It is characterized in that The steps of determining the covariance codebook of each group of multi-view image sequences according to the normalized covariance matrix of the Gaussian points in the first compressed frame, and determining the spherical harmonic function codebook of each group of multi-view image sequences according to the spherical harmonic function of the Gaussian points in the first compressed frame include: Based on the vector clustering strategy, the normalized covariance matrix of the Gaussian points in the first compressed frame is compressed into a covariance codebook, and the spherical harmonic functions of the Gaussian points in the first compressed frame are compressed into a spherical harmonic function codebook.

7. The method according to claim 5 or 6, It is characterized in that After replacing the covariance matrix of the Gaussian points in the first compressed frame with the covariance coefficients and the covariance codebook index, and replacing the spherical harmonic functions of the Gaussian points in the target generated frame with the spherical harmonic function codebook, the step of obtaining the second compressed frame comprises: After replacing the covariance matrix of the Gaussian points in the first compressed frame with the covariance coefficient and the covariance codebook index, and replacing the spherical harmonic functions of the Gaussian points in the target generated frame with the spherical harmonic function codebook, an initial second compressed frame is obtained; Based on the point cloud compression algorithm, the three-dimensional coordinates and opacity of the Gaussian points in the initial second compressed frame are compressed to obtain a second compressed frame.

8. A holographic video generating device, It is characterized in that The device comprises: An acquisition module, used for acquiring a multi-view video, and dividing the multi-view video into a plurality of groups of multi-view image sequences; A determination module, used to determine a first generated frame of a frame image at a first moment in a multi-view image sequence as a reference frame; The determination module is further used to determine the static point of the reference frame based on the second moment frame image of the multi-view image and the reference frame; A generating module, used for generating a second generated frame of the frame image at the second moment based on the static point; The generation module is also used to generate a holographic video based on the first generated frame and the second generated frame of each group of multi-view image sequences.

9. A holographic video generating device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the holographic video generation method according to any one of claims 1 to 7.

10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the holographic video generation method according to any one of claims 1 to 7 are implemented.