Hyperspherical structured light field construction method and system for global scene

Through the hyperspherical structured light field construction method, the correlation between spherical light field models is established, which solves the problem of discrete viewing angles in light information recording in the existing technology, realizes continuous and complete information recording of the whole scene, and expands the Applications of light fields in many technical fields.

CN118628636APending Publication Date: 2024-09-10BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410496918.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-09-10

Smart Images

  • Figure CN118628636A
    Figure CN118628636A
Patent Text Reader

Abstract

The invention relates to a hyperspherical structured light field construction method and system for a global scene, and the method comprises the steps: learning light field information from a plurality of sub-scene pictures obtained from the global scene, solving the correlation between light field views in the light field information, and obtaining a light field subspace set; constructing a spherical light field model; constructing a spatial structure perception cost network, and performing public spatial feature extraction on the public part of the two spherical light field models; meanwhile, entropy probability distribution of the public spatial features is calculated, an uncertainty map of the public spatial features is obtained, and the incidence relation between the two spherical light field models is determined; based on the incidence relation between the two spherical light field models, the spherical light field models of other light fields are used as a middle bridge for skipping, an incidence path is constructed, and according to the incidence relation between the two adjacent spherical light field models, a spatial multi-spherical aggregation relation is obtained; and finally, a hyperspherical structured light field model oriented to a global scene is constructed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of image data processing and light field technology application, and specifically relates to a method and system for constructing a hyperspherical structured light field for a global scene. Background Art

[0002] The light field can fully represent the light collection in space, and the structured light field can sense the complex three-dimensional spatial information of the scene, thereby storing the scene information more completely. The structured light field construction method initially used the full light function from the 7-dimensional space, that is, To express, Represents the position coordinates of the human eye in space, Indicates the horizontal and vertical angles of light entering the human eye. Indicates the wavelength of light, the time change of light entering the human eye is expressed by Considering the computational complexity brought by high-dimensional information, namely 7-dimensional, the 7-dimensional structured light field construction method is simplified, and then the dual-plane 4D model is used to construct the structured light field. The basic idea is to use the dual-plane model to record the light rays from different directions in space that converge to the same plane, and use Perform structured light field construction, where and They represent the positions of the light on two planes respectively. This method captures the intensity information of the light on the imaging plane and also records the direction information of the light.

[0003] Although the above-mentioned existing structured light field construction method can express the light of some scenes, the structured light field has the characteristics of discrete distribution, and there is a lack of correlation between the planes of each light field cluster. It is difficult to fully represent the complete global scene information with diverse set structures, complex occlusion relationships, and free spatial range. Moreover, it only records the light that converges on the same plane from different directions in space. The description of the global scene is limited by the representation range of the dual-plane structure, and it is impossible to record the light information at any angle and any position in the global scene. Moreover, the recorded perspective information is usually relatively discrete, and it is impossible to solve the problem of synthesizing new views in sparse perspectives, which limits the application and development of light fields in other technical fields such as three-dimensional reconstruction, depth estimation, and saliency detection. Summary of the invention

[0004] The technology of the present invention solves the problem: Overcoming the shortcomings of the prior art, providing a method and system for constructing a hyperspherical structured light field for global scenes, which can record light information at any angle and any position in the scene, and the recorded viewing angle information is continuous, so that the light field records the scene information more comprehensively and specifically, the storage of scene information is more complete, and the application is wider.

[0005] The technical solution of the present invention is as follows: In a first aspect, the present invention provides a method for constructing a hyperspherical structured light field for a global scene, comprising: a light field subspace collection step, a spherical light field model construction step, an association step, and an aggregation step; wherein: Light field subspace collection step: using the subview-based aggregation idea, learning light field information from multiple subviews, solving the correlation between light field views in the light field information, and obtaining multiple light field subspaces with uniform angular distribution and high spatial domain content correlation from each subscene picture to form a light field subspace collection; the global scene refers to the collection of observation results from all angles in the space in the target scene; The step of constructing a spherical light field model: constructing a spherical light field model based on the light field subspace set; The association step comprises: constructing a spatial structure-aware cost network between different light field subspaces in the light field subspace set and in the intersection area of ​​two adjacent spherical light field models; using the spatial structure-aware cost network to extract common space features from the common parts of the two adjacent spherical light field models to obtain common space features; introducing Laplace distribution as a priori distribution, using information entropy theory, calculating the probability distribution of the entropy value of the common space features, and obtaining an uncertainty map of the common space features; based on the common space features and their uncertainty maps, screening out credible common space features; using the credible common space features to induce Guide, aggregate the two adjacent spherical light field models, and determine the association relationship between the two adjacent spherical light field models; based on the association relationship between the two adjacent spherical light field models, by linking other spherical light field models one by one, obtain the association path between two arbitrary spherical light field models in the light field, and obtain the association relationship between the two arbitrary spherical light field models based on the association path, so as to realize the construction from the association inside a sphere to the higher-level multi-sphere association, and complete the construction of the hyperspherical structure model, so that the scene described by the light field can be represented from any angle, and finally complete the construction of the hyperspherical structured light field for the global scene.

[0006] In particular, in the light field subspace collection step, solving the correlation between light field views in the light field information is implemented as follows: using an adjacency matrix to solve the correlation between light field views, and obtaining multiple light field subspaces with uniform angular domain distribution and high spatial domain content correlation through domain value screening.

[0007] In particular, in the step of building a spherical light field model, building a spherical light field model based on the light field subspace set is implemented as follows: A sphere is constructed with the geometric center of any light field subspace as the center of the sphere and the focusing distance of the cluster plane light field as the radius, and a coordinate system is established with the sphere. The spherical mapping algorithm is used to map the perspective image contained in the light field subspace to the spherical coordinate system, and the coordinate position in the spherical coordinate system is obtained, thereby obtaining a spherical light field model of any light field subspace.

[0008] In particular, the spherical mapping algorithm adopts an area proportional constraint mapping algorithm.

[0009] In particular, in the associating step, the spatial structure-aware cost volume network includes a 2D convolution layer, a 3D convolution layer, and an inter-spherical light field fusion module; (1) Inputting the light field subspace scene pictures in the common part of the two spherical light field models into multiple 2D convolutional layers to extract the pixel representation features of the scene pictures; using the 3D convolutional layer to aggregate the shallow pixel representation features to obtain the pixel representation features of the subspace scene pictures of different light fields; the inter-spherical light field fusion module aggregates the pixel representation features of the subspace scene pictures of different light fields to obtain the spatial structure perception cost; using another 3D convolutional layer to extract the shallow pixel feature representation features and aggregate them to obtain the aggregated features, and extracting a single light field subspace feature from the aggregated features through a multi-classification activation function regression function; (2) Perform the same operation as (1) on multiple light field subspaces to obtain common subspace features.

[0010] In particular, in the aggregation step, based on the association relationship between the two spherical light field models, other light field spherical models are used as intermediate bridges for jumping, and an association path is constructed. According to the association relationship between the two adjacent spherical light field models, a spatial multi-spherical aggregation relationship is obtained, and finally a hyperspherical structured light field model for the global scene is constructed. The specific process is as follows: Starting from the source spherical light field, the weight of the relationship function of the two adjacent spherical light field models is used as the distance weight of the edge. Each time, the feature with the largest distance feature weight is selected and added to the optimal path set that has been obtained. Then, the weight from the source spherical light field to other spheres is updated until all spherical light fields are added to the optimal path and set that have been obtained, thereby obtaining the correlation between any two spherical light field models in space. Therefore, after obtaining the correlation between any two spherical light fields in space, the representation of the hyperspherical structured light field model for the global scene is realized by first determining the single spherical light field, then determining the spherical coordinate position, and finally focusing on multiple spherical light fields.

[0011] In a second aspect, the present invention proposes a hyperspherical structured light field construction system for global scenes, comprising the following contents: Light field subspace collection module: Using the subview-based clustering idea, light field information is learned from multiple subviews, and the correlation between light field views in the light field information is solved. Multiple light field subspaces with uniform angular distribution and high spatial content correlation are obtained from each subscene image, and the light field subspace collection is formed. Constructing a spherical light field model module: constructing a spherical light field model based on the light field subspace set; Association module: construct a spatial structure perception cost network between different light field subspaces in the light field subspace set and in the intersection area of ​​two adjacent spherical light field models; use the spatial structure perception cost network to extract common space features from the common parts of the two adjacent spherical light field models to obtain common space features; then introduce Laplace distribution as a priori distribution, use information entropy theory to calculate the entropy value probability distribution of the common space features, and obtain the uncertainty map of the common space features; based on the common space features and their uncertainty maps, screen out credible common space features; use the credible common space features to induce Guide, aggregate the two adjacent spherical light field models, and determine the association relationship between the two adjacent spherical light field models; based on the association relationship between the two adjacent spherical light field models, by linking other spherical light field models one by one, obtain the association path between two arbitrary spherical light field models in the light field, and obtain the association relationship between the two arbitrary spherical light field models based on the association path, so as to realize the construction from the association inside a sphere to the higher-level multi-sphere association, and complete the construction of the hyperspherical structure model, so that the scene described by the light field can be represented from any angle, and finally complete the construction of the hyperspherical structured light field for the global scene.

[0012] In a third aspect, the present invention provides an electronic device, including a processor and a memory, wherein: Memory, used to store computer programs; The processor is used to execute the computer program stored in the memory, and implement the aforementioned method or the aforementioned system when executed.

[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed, the aforementioned method or the aforementioned system is implemented.

[0014] The advantages of the present invention compared with the prior art are: (1) The present invention proposes a method and system for constructing a hyperspherical structured light field for a global scene. The method divides the light field space into multiple light field subspaces, constructs a spherical model for each light field subspace, and thus regularly represents the light information in a single light field subspace. The correlation between two adjacent spherical light field models is then explored, and the uncertainty map of the common space features is used to make the correlation more accurate and reliable. The correlation between the two adjacent spherical models is then expanded to obtain the correlation between any two light field subspaces, thereby being able to record any beam of light information in the space, so that the overall model can record continuous light information at any angle and any position in the scene, making the light field record scene information more comprehensive and specific, and the storage of scene information more complete, with wider application.

[0015] (2) The present invention decouples the light field space into multiple light field subspaces at two levels: spatial domain and angular domain, so that a more complete model can be constructed for each light field separately, making the scene information recorded by the final light field more complete and continuous.

[0016] (3) The present invention combines the adjacency matrix with the light field. Based on the traditional four-dimensional dual-plane light field model, the adjacency matrix is ​​used to learn the correlation between sub-views from the spatial domain and the angular domain, so that the correlation measurement between light field sub-views is more accurate. Then, according to the set threshold, the light field subspaces with correlation higher than the threshold are screened out from the spatial domain and the angular domain to form a light field subspace set, thereby ensuring the close coupling between the light field subspaces and the continuous and complete recorded scene information.

[0017] (4) For any light field subspace, the traditional four-dimensional two-plane light field representation method is limited by the size of the two-plane model and can only record the light that can be captured by the two planes, which destroys the continuity of the scene information. In the present invention, a spherical model is used to represent the light information in any light field subspace. Due to the increase in the representation dimension, the light information from any angle and any position in the space can be recorded, which can make the scene information recorded by the light field continuous and complete.

[0018] (5) In the present invention, a spatial structure-aware cost network is constructed to capture the common subspace features of the common parts of two adjacent spherical light field models. By alternately using 2D convolutional layers and 3D convolutional layers, the effect of blending shallow pixel features and spatial depth features can be achieved. Based on the light field disparity information, a spatial structure-aware cost is constructed in the inter-spherical light field fusion module to obtain a more accurate back-propagation cost, which ultimately makes the features of the common parts of the two adjacent spherical light field models more robust and accurate, making the final light field record the scene information more accurate.

[0019] (6) The present invention proposes a novel method for exploring the correlation between any two non-adjacent light field subspaces. That is, starting from the source spherical light field model, the optimal adjacent spherical light field model is selected each time to establish the correlation until the target spherical light field model is reached. In this way, the known adjacent spherical correlation relationship can be extended to any two non-adjacent spherical light field models in space, so that all light field subspaces can be represented by accurate models. At the same time, compared with the traditional method of directly establishing the relationship between all spherical light field models through calculation, the amount of calculation is greatly reduced, making the model building process more efficient, and improving the efficiency of the final scene information modeling. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 This is an overall implementation flow chart of a method for constructing a hyperspherical structured light field for a global scene according to an embodiment of the present invention; Figure 2 Schematic diagram of a spherical model of a light field subspace in an embodiment of the present invention; Figure 3 A spatial structure-aware cost volume network diagram in an embodiment of the present invention; Figure 4 A schematic diagram of a global scene hypersphere modeling process in an embodiment of the present invention; Figure 5 The present invention is a block diagram of a system for constructing a hyperspherical structured light field for global scenes according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0023] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0024] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings.

[0025] In traditional light field modeling methods, a dual-plane model is used to record light rays from different directions in space that converge on the same plane. Under traditional methods, the light information in the local subspace can be effectively expressed. However, the dual-plane light field obtained by free sampling at any angle and position has the characteristics of discrete distribution. There is a lack of correlation between cluster plane light fields, making it difficult to fully represent the global scene with diverse geometric structures, complex occlusion relationships, and free spatial range. This greatly reduces the continuity of the light field's storage of scene information, making it difficult to comprehensively model and represent the scene's detailed information, greatly limiting the application and development of light fields in other technical fields.

[0026] Therefore, the embodiments of the present invention provide a method and system for constructing a hyperspherical structured light field for global scenes.

[0027] Example 1 like Figure 1 As shown, a method for constructing a hyperspherical structured light field for a global scene is provided in Embodiment 1 of the present invention. The global scene refers to a collection of observation results from all spatial angles in the scene, including: (1) Light field subspace collection steps The light field subspace has the characteristic of discrete distribution in spatial distribution. Therefore, the light field subspace set is first processed to screen out the light field subspace with uniform distribution and relevant content.

[0028] (11) Divide the light field space into multiple light field subspaces, and the image in each light field subspace is called a subview; (12) Cluster multiple sub-views to obtain a light field subspace set The above clustering method is to learn light field information from multiple sub-views and obtain the correlation between the sub-views.

[0029] The correlation is solved as follows: The correlation between each subview is calculated using the correlation adjacency matrix To solve, use the following formula: , in, is the common representation of the light field subview in the traditional four-dimensional light field. ,in is the coordinate of the light field subview in the angular domain, are the coordinates of the light field subview in the spatial domain. and is the degree matrix of the light field in the spatial domain and the angular domain, and its diagonal elements are calculated by the adjacency matrix: , in, , is the adjacency matrix, and the remaining position elements are 0; The total number of subviews.

[0030] (13) A plurality of light field subspaces with uniform angular domain distribution and spatial domain content correlation higher than a set threshold are selected from the plurality of sub-views to form a light field subspace set.

[0031] Angular domain refers to the degree to which light is discretized within an angular range.

[0032] The spatial domain refers to the range recorded by the light field sensor, and the spatial domain content refers to the information contained in the light field image. The threshold is set to 0.8 in the embodiment of the present invention. After screening based on the angular domain and the spatial domain, the screened light field subspace set is a light field subspace set with a high degree of relevance to the scene content representation, wherein the light field subspace has a high degree of coupling and the scene content represented is more specific and complete.

[0033] (2) Steps to construct a spherical light field model For the light field subspace set obtained in the previous step, although the image information in the set is related, the spatial distribution is still discrete. Therefore, it is necessary to construct a more refined model for each light field subspace, that is, to construct a spherical light field model of any light field subspace based on the light field subspace set.

[0034] like Figure 3 As shown, the spherical light field model of each light field subspace is constructed as follows: The spherical model is used to record the light information at various angles and positions in the light field subspace.

[0035] (21) Taking the geometric center of any light field subspace as the center of the sphere and the focusing distance of the light field subspace as the radius R, a basic spherical model can be constructed: ,like Figure 2 As shown, a spherical coordinate system is established based on the spherical model. In this coordinate system, the center point of each light field subspace can be represented by the spherical coordinate vector Determine, among which is the first light field subspace, is the angle between the center point of the light field subspace and the positive X-axis, is the angle between the center point of the light field subspace and the positive Z axis, from which the structural definition of the light field subspace in the spherical light field can be given: , in, is the coordinate representation of any ray in the light field subspace, are the coordinates of the subview in the light field subspace in the traditional four-dimensional biplane light field.

[0036] Afterwards, all subviews in the light field can be mapped to the sphere using a spherical mapping algorithm based on area proportional constraints, thereby completing the definition of a spherical model for any light field subspace and the mapping relationship of the subviews in the spherical light field model.

[0037] (22) At the same time Figure 2 As shown in the figure, the projection similarity ratio is calculated for the projection area of ​​the sub-view in the light field subspace, and then the sub-view is vector-projected, and the corresponding position in the spherical coordinate system is obtained based on the projection area. In this way, the coordinate position of the sub-view in the spherical coordinate system can be obtained, thus forming a complete spherical light field model for any light field subspace.

[0038] (3) Association steps In the previous step, the spherical light field model representation method of each light field subspace is obtained, but no correlation relationship is established between different light field subspaces. Therefore, in this step, the correlation relationship between different light field subspaces is determined.

[0039] (31) Figure 3 As shown, a spatial structure-aware cost network is constructed between different light field subspaces in the light field subspace set and in the intersection area of ​​two adjacent spherical light field models; The spatial structure-aware cost volume network includes 2D convolutional layers, 3D convolutional layers, and inter-spherical light field fusion modules; (311) Inputting the subviews in the common part of the two spherical light field models into multiple 2D convolutional layers to extract the pixel representation features of the subviews; using the 3D convolutional layer to aggregate the shallow pixel representation features to obtain the pixel representation features of the subviews in different light field subspaces; the inter-spherical light field fusion module aggregates the pixel representation features of the subviews in different light field subspaces to obtain the spatial structure perception cost; using another 3D convolutional layer to extract the shallow pixel feature representation features and aggregate them to obtain aggregated features, and extracting a single light field subspace feature from the aggregated features through a multi-classification activation function regression function; (312) After obtaining the features of the common part of the two light field subspaces, in order to ensure its reliability and accuracy, the Laplace distribution is introduced as a prior distribution to evaluate the obtained features. After obtaining the credible features of the common part of the two light field subspaces, the relationship between the two light field spherical models is established based on the features. The entropy map is used to reflect the information content and uncertainty of the features. If the features of the common part of the two light field subspaces extracted can well distinguish different categories of data, the smaller its entropy value is. The calculation formula of the entropy map is as follows: , in, The features of the common parts of the two light field subspaces extracted by the spatial structure cost network, is the number of channels of the feature map, which is set to 512 in the embodiment of the present invention. Indicates the first channels, with a value of 1 to .

[0040] The uncertainty map can be obtained by function mapping : , Jointly learning features of the common parts of two light field subspaces and uncertainty diagram The common features of the two credible light field subspaces can be obtained: F valid = 1 | L valid | [ 1 U (|D|+log(U)] , in, Represents all subviews within the overlapped region of two spheres.

[0041] Using the features of the common part of the two credible light field subspaces as a guide, the spherical light field models corresponding to the two light field subspaces are mapped using a variable vector Indicates The first The relationship vector between the spherical light field models satisfies: , in, Indicates The sphere and the The spherical surface extracts the common features of the two light field subspaces. and The mapping relationship between them is expressed as: , in, is the radius of the spherical model of the light field subspace, is a vector with positive The angle of the axis, is a vector with positive The angle of the axis.

[0042] (36) Based on the association relationship between the two adjacent spherical light field models, by linking other spherical light field models one by one, the association path between two arbitrary spherical light field models in the light field is obtained, and the association relationship between the two arbitrary spherical light field models is obtained based on the association path, thereby realizing the construction from the association within a sphere to a higher-level multi-sphere association, completing the construction of the hyperspherical structure model, so that the scene described by the light field can be represented from any angle, and finally completing the construction of the hyperspherical structured light field for the global scene.

[0043] like Figure 4 As shown, the process of obtaining the association path between two arbitrary spherical light field models in the light field by linking other spherical light field models one by one is as follows: (41) After obtaining the mapping relationship between the two light field spherical models, the hypersphere modeling is performed for the global light field scene. The mapping relationship between the two spheres mentioned in the above steps is constructed based on the common parts of the two light field subspaces. When the two light field subspaces have no common parts, it is necessary to use the spherical models corresponding to other light field subspaces with common parts as an intermediate bridge for jumping. The spherical models corresponding to the two light field subspaces without common parts that need to be connected are called the source spherical model and the target spherical model. At the same time, a set of spherical models of the light field subspace is maintained as the optimal path set. Initially, there is only the source spherical model in the set. For any two light field subspaces with common parts in the space, the relationship value between the relationship vectors of the two spherical models obtained in the previous step of the two light field subspaces is used as the weight, and the weight is used to construct the connected edge path, and all the light field subspaces in the entire space are converted into a weighted undirected graph.

[0044] (42) Then, a light field subspace with the largest edge weight with the optimal path set is found, and the spherical model corresponding to the light field subspace is added to the optimal path set. At this time, the above operation is repeated, and the light field subspace with the largest edge weight with the spherical model in the optimal path set is found again, and the spherical model is added to the optimal path set. The above operation is repeated until the target spherical model is added to the optimal path set. Thus, by transferring the spherical model in the optimal path set, the association relationship between the source spherical model and the target spherical model can be established, and the association path between any two spherical light field models in the light field can be obtained.

[0045] like Figure 4 As shown, first, for the 5 spherical models in space Assumptions is the source sphere, For the target sphere, calculate the relationship value between the spherical model relationship vectors as the edge weight , and maintain an optimal path set, which initially only contains the source sphere ; Then select the sphere with the largest edge weight distance to the optimal path set and add it to the optimal path set. For example, The spherical model corresponding to the larger edge is added to the optimal path set; the above process is repeated until the target spherical model is added to the optimal path set. At this time, the source spherical model and the target spherical model can be gradually linked by the optimal path set to obtain the association relationship between the source spherical model and the target spherical model.

[0046] like Figure 5 As shown, another embodiment of the present invention further provides a hyperspherical structured light field construction system for global scenes, including a light field subspace collection module, a spherical light field model construction module and an association module; wherein: Light field subspace collection module: Using the subview-based clustering idea, light field information is learned from multiple subviews, and the correlation between light field views in the light field information is solved. Multiple light field subspaces with uniform angular distribution and high spatial content correlation are obtained from each subscene image, and the light field subspace collection is formed. Constructing a spherical light field model module: constructing a spherical light field model based on the light field subspace set; Association module: construct a spatial structure perception cost network between different light field subspaces in the light field subspace set and in the intersection area of ​​two adjacent spherical light field models; use the spatial structure perception cost network to extract common space features from the common parts of the two adjacent spherical light field models to obtain common space features; then introduce Laplace distribution as a priori distribution, use information entropy theory to calculate the entropy value probability distribution of the common space features, and obtain the uncertainty map of the common space features; based on the common space features and their uncertainty maps, screen out credible common space features; use the credible common space features to induce Guide, aggregate the two adjacent spherical light field models, and determine the association relationship between the two adjacent spherical light field models; based on the association relationship between the two adjacent spherical light field models, by linking other spherical light field models one by one, obtain the association path between two arbitrary spherical light field models in the light field, and obtain the association relationship between the two arbitrary spherical light field models based on the association path, so as to realize the construction from the association inside a sphere to the higher-level multi-sphere association, and complete the construction of the hyperspherical structure model, so that the scene described by the light field can be represented from any angle, and finally complete the construction of the hyperspherical structured light field for the global scene.

[0047] The specific implementation process of each module in the above system is similar to the content of the method.

[0048] Optionally, another embodiment of the present invention provides an electronic device (computer, server, smart phone, network device, etc.), including a memory and a processor, wherein the memory is used to store a computer program executable by the processor, and when the processor executes the computer program, the above-mentioned method embodiment or system embodiment is implemented.

[0049] Optionally, another embodiment of the present invention provides a program product, such as a computer-readable storage medium, including a program, which is used to execute the above method embodiment or system embodiment when executed by a processor.

[0050] In short, the hyperspherical light field model for global scenes can record light information at any angle and position. At the same time, by screening the spatial and angular domain features of light, the problem of perspective discreteness in the light field modeling process is solved, and the coupling of light to the global scene is improved; and by modeling the spherical model of a single light field subspace and generalizing it to the hyperspherical structured light field modeling of all global scenes, a more refined light field modeling method for the domain scene is established, making the light field record of the entire scene information more continuous and complete, and the way of recording content is more specific, expanding the possibility of exploring other fields of technology in the light field. The traditional dual-plane light field model can only record light information through the intersection of light rays in different directions. The recorded scene information is discretely distributed and has poor coupling, making it difficult to fully represent the global scene with diverse geometric structures, complex occlusion relationships, and free spatial range.

[0051] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for constructing a hyperspherical structured light field for a global scene, characterized in that: include: The light field subspace collection step, the spherical light field model construction step, and the association step; wherein: Light field subspace set step: dividing the light field space into multiple light field subspaces, where the pictures in the light field subspaces are called subviews, and clustering the subviews to obtain a light field subspace set; The step of constructing a spherical light field model is as follows: constructing a spherical light field model of any light field subspace based on the light field subspace set; The association step comprises: constructing a spatial structure-aware cost network between different light field subspaces in the light field subspace set and in the intersection area of ​​two adjacent spherical light field models; using the spatial structure-aware cost network to extract common space features from the common parts of the two adjacent spherical light field models to obtain common space features; introducing Laplace distribution as a priori distribution, using information entropy theory, calculating the probability distribution of the entropy value of the common space features, and obtaining an uncertainty map of the common space features; based on the common space features and their uncertainty maps, screening out credible common space features; using the credible common space features to induce Guide, aggregate the two adjacent spherical light field models, and determine the association relationship between the two adjacent spherical light field models; based on the association relationship between the two adjacent spherical light field models, by linking other spherical light field models one by one, obtain the association path between two arbitrary spherical light field models in the light field, and obtain the association relationship between the two arbitrary spherical light field models based on the association path, so as to realize the construction from the association inside a sphere to the higher-level multi-sphere association, and complete the construction of the hyperspherical structure model, so that the scene described by the light field can be represented from any angle, and finally complete the construction of the hyperspherical structured light field for the global scene.

2. The method for hyperspherical structured light field for global scenes according to claim 1, characterized in that: In the light field subspace set step, the clustering method is to learn light field information from the multiple sub-views, solve the correlation between the sub-views, and screen out multiple light field subspaces with uniform angular domain distribution and spatial domain content correlation higher than a set threshold from the multiple sub-views to form a light field subspace set.

3. The method for hyperspherical structured light field for global scenes according to claim 2, characterized in that: In the light field subspace collection step, the correlation between the subviews is solved using the correlation adjacency matrix Solve, the formula is as follows: , in, is the common representation of the light field subview in the traditional four-dimensional light field. and is the degree matrix of the light field in the spatial domain and the angular domain, and its diagonal elements are calculated by the adjacency matrix: , in, , is the adjacency matrix, and k is the total number of subviews.

4. The method for constructing a hyperspherical structured light field for a global scene according to any one of claims 1 to 3, characterized in that: In the step of constructing a spherical light field model, a spherical light field model of each light field subspace is constructed based on the light field subspace set as follows: Taking the geometric center of any light field subspace as the center of the sphere, a set of viewing scenes that can observe the light field subspace is composed into a viewing cluster plane light field, taking the focusing distance of the viewing cluster plane light field as the radius, a sphere is constructed, and a coordinate system is established with the sphere; using the spherical mapping algorithm, the viewing image contained in the light field subspace is mapped to the spherical coordinate system, and the coordinate position in the spherical coordinate system is obtained, thereby obtaining a spherical light field model of any light field subspace.

5. The method for constructing a hyperspherical structured light field for a global scene according to any one of claims 1 to 4, characterized in that: In the associating step, the spatial structure perception cost volume network includes a 2D convolution layer, a 3D convolution layer and an inter-spherical light field fusion module; (1) Inputting the subviews in the common part of the two spherical light field models into multiple 2D convolutional layers to extract the pixel representation features of the subviews; using the 3D convolutional layer to aggregate the shallow pixel representation features to obtain the pixel representation features of the subviews in different light field subspaces; the inter-spherical light field fusion module aggregates the pixel representation features of the subviews in different light field subspaces to obtain the spatial structure perception cost; using another 3D convolutional layer to extract the shallow pixel feature representation features and aggregate them to obtain aggregated features, and extracting a single light field subspace feature from the aggregated features through a multi-classification activation function regression function; (2) Performing the same operation as (1) on multiple light field subspaces to obtain common subspace features, and determining the association relationship between the two adjacent spherical light field models based on the common subspace features.

6. The method for constructing a hyperspherical structured light field for a global scene according to any one of claims 1 to 5, characterized in that: In the association step, the process of obtaining the association path between two arbitrary spherical light field models in the light field by linking other spherical light field models one by one is as follows: Starting from the source spherical light field model, the weight of the relationship function of two adjacent spherical light field models is used as the distance weight of the edge. The feature with the largest distance feature weight is selected each time, and the largest feature is added to the optimal path set that has been obtained. Then, the weights from the source spherical light field model to other spherical light field models are updated until all spherical light field models are added to the optimal path and set that have been obtained, and the associated path between two arbitrary spherical light field models in the light field is obtained.

7. A hyperspherical structured light field construction system for global scenes, characterized by include: Light field subspace collection module: divides the light field space into multiple light field subspaces, where the pictures in the light field subspaces are called subviews, and clusters the subviews to obtain a light field subspace collection; Constructing a spherical light field model module: constructing a spherical light field model of any light field subspace based on the light field subspace set; Association module: constructing a spatial structure-aware cost network between different light field subspaces in the light field subspace set and in the intersection area of ​​two adjacent spherical light field models; using the spatial structure-aware cost network to extract common spatial features from the common parts of the two adjacent spherical light field models to obtain common spatial features; Then, the Laplace distribution is introduced as a prior distribution, and the information entropy theory is used to calculate the probability distribution of the entropy value of the common space feature, and the uncertainty map of the common space feature is obtained; based on the common space feature and its uncertainty map, a credible common space feature is screened out; the two adjacent spherical light field models are guided by the credible common space feature to aggregate and determine the correlation between the two adjacent spherical light field models; based on the correlation between the two adjacent spherical light field models, the correlation path between two arbitrary spherical light field models in the light field is obtained by linking other spherical light field models one by one, and the correlation between the two arbitrary spherical light field models is obtained based on the correlation path, so as to realize the construction from the correlation inside a sphere to the correlation between multiple spheres at a higher level, and complete the construction of the hyperspherical structure model, so that the scene described by the light field can be represented from any angle, and finally the construction of the hyperspherical structured light field for the global scene is completed.

8. An electronic device, characterized in that: comprising a processor and a memory, wherein: Memory, used to store computer programs; A processor, used to execute a computer program stored in a memory, and to implement the method described in any one of claims 1 to 6, or the system described in claim 7 when executed.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method described in any one of claims 1 to 6 or the system described in claim 7 is implemented.