Video human body three-dimensional reconstruction method and device based on neural radiation field, equipment and storage medium
By using MLP network and dual quaternary skinning algorithm to optimize the neural radiation field in three-dimensional human body reconstruction technology, the problems of high cost and low efficiency are solved, and efficient three-dimensional human body video reconstruction is achieved.
Patent Information
- Application Number
- CN202411007447.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-01
AI Technical Summary
The existing three-dimensional human body reconstruction technology based on neural radiation fields has problems of high cost and low efficiency, especially because the training of neural radiation fields is time-consuming and computational cost is high, resulting in low virtual digital human reconstruction efficiency.
The SMPL model is transformed forward by using the first MLP network module and dual quaternary skinning algorithm, and the observed color value is obtained through random sampling points and voxel rendering equations, and the network parameters are optimized based on the loss function to obtain the target neural radiation field. Then reconstruct the three-dimensional video image.
The efficiency of three-dimensional human body reconstruction is improved, the cost is reduced, and the accuracy of reconstruction results is improved by optimizing network parameters.
Smart Images

Figure CN118887341A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a method, device, equipment and storage medium for three-dimensional reconstruction of a human body through video based on a neural radiation field. Background Art
[0002] The production pipeline of traditional 3D human reconstruction relies heavily on high-precision sensor equipment, which means that high-quality and realistic 3D human reconstruction and capture can only be produced in restricted environments such as laboratories, and it requires costs that ordinary people cannot afford. The high production cost also greatly restricts further modification and editing in the later stage, resulting in a bottleneck in the entire production pipeline and difficulty in efficient iteration. For this reason, vision-based 3D human reconstruction technology has gradually attracted people's attention. It uses a set of 2D images or video sequences as input, and directly reconstructs the corresponding 3D shape and appearance features of the human body on this basis, so that a large number of users can also easily reconstruct the human body at low cost based on hardware such as mobile phones.
[0003] Recently, the rapid development of two types of technologies has led to a rapid improvement in the field of visual 3D human reconstruction. The first is the development of visual human information understanding technology represented by tasks such as human key point detection, human semantic segmentation, and 3D human shape estimation. The other is the development and progress of differentiable rendering technology represented by neural radiance fields. Using estimated human information and static neural radiance fields to capture dynamic human features greatly reduces the cost of reconstruction and improves the accuracy of the results, making visual 3D human reconstruction technology increasingly likely to be applied on a large scale. However, the training of neural radiance fields is usually very time-consuming. The large number of sampling points required for high-quality rendering and the network coding structure that couples all spatial information slow down the overall operating efficiency. At the same time, the lack of large-scale high-quality 3D human data sets makes it impossible to train a generalized human neural radiance field with good results, so that capturing digital humans still needs to be trained scene by scene. The combination of these two factors leads to the fact that virtual digital human reconstruction based on neural radiance fields still requires significant computational costs and low reconstruction efficiency.
[0004] Therefore, there is an urgent need for a video human body 3D reconstruction method based on neural radiation field, which can effectively improve the efficiency of 3D human body reconstruction and reduce the cost of 3D human body reconstruction. Summary of the invention
[0005] The main purpose of the present invention is to provide a method, device, equipment and storage medium for three-dimensional reconstruction of the human body through video based on neural radiation field, aiming to solve the technical problems of high cost and low reconstruction efficiency of three-dimensional human body reconstruction in the prior art.
[0006] To achieve the above object, the present invention provides a method for 3D reconstruction of a human body from a video based on a neural radiation field, the method comprising the following steps:
[0007] The local feature space in the SMPL model is forward transformed through the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model;
[0008] Selecting a ray according to the camera parameters in the current posture model, and randomly assigning sampling points on the ray, and obtaining an observed color value of the ray based on the sampling points through a second MLP network module and a voxel rendering equation;
[0009] Comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field;
[0010] A three-dimensional video image of a human body is reconstructed based on the target nerve radiation field and the camera parameters.
[0011] Optionally, before the step of forward transforming the local feature space in the SMPL model by the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model, the step further includes:
[0012] Convert human body video input data into a picture sequence according to a preset frame rate;
[0013] Downsampling each of the image sequences to reduce the resolution of the image sequence to obtain an image sequence of a preset resolution;
[0014] Pre-estimation is performed based on the picture sequence to obtain human body posture parameters, SMPL model parameters and human body pixel template.
[0015] Optionally, before the step of forward transforming the local feature space in the SMPL model by the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model, the step further includes:
[0016] Uniformly distribute a preset number of local feature spaces on the surface of the SMPL model based on the farthest point sampling strategy, and determine the center position of each of the local feature spaces;
[0017] After determining the center position of each local feature space, dividing the influence area range of each local feature space to cover the potential human body modeling area;
[0018] The local feature space is encoded based on an explicit feature voxel grid and tensor decomposition technology to obtain a feature vector, and the local feature space is used to store the human body geometry and appearance features within the corresponding impact area.
[0019] Optionally, the step of forward transforming the local feature space in the SMPL model through the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model includes:
[0020] Optimizing the human body posture parameters through a first MLP network module to obtain optimized human body posture parameters;
[0021] Optimizing the SMPL model parameters based on the direct optimization offset value to obtain optimized SMPL model parameters;
[0022] Based on the dual quaternion skinning algorithm, the optimized human posture parameters and the optimized SMPL model parameters, the local feature space in the SMPL model is forward transformed to obtain a current posture model.
[0023] Optionally, the step of selecting a ray according to camera parameters in the current posture model, randomly assigning sampling points on the ray, and obtaining an observed color value of the ray based on the sampling points through a second MLP network module and a voxel rendering equation includes:
[0024] Building a training data set based on the human pixel template, selecting multiple image blocks from the training data set, selecting rays according to camera parameters in the current posture model, and randomly and evenly distributing sampling points within the scene area of each ray;
[0025] Filter out a target sampling point set according to the union of the attenuation area ranges of each of the local feature spaces;
[0026] Transforming the target sampling point set into each of the local feature spaces to obtain the corresponding feature vectors, and performing weighted fusion on the feature vectors based on distance weights to obtain a target feature vector;
[0027] Inputting the target feature vector into a second MLP network module to obtain voxel density and emission radiance;
[0028] Substitute the voxel density and the emitted radiance into the voxel rendering equation to obtain the observed color value of the ray.
[0029] Optionally, the step of comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain the target neural radiation field includes:
[0030] Construct a preset loss function based on learning-perceptual image block similarity loss, mean square error loss, and background loss;
[0031] Compare the information difference between the observed color value and the true color value according to a preset loss function to obtain a comparison result;
[0032] Based on the comparison result, the gradient information of the image corresponding to the observed color value and the image corresponding to the true color value is determined, and based on the gradient information, the network parameters of the first MLP network module and the second MLP network module are optimized to obtain the target neural radiation field.
[0033] Optionally, after the step of reconstructing a three-dimensional video image of a human body based on the target nerve radiation field and the camera parameters, the method further includes:
[0034] Peak signal-to-noise ratio, structural similarity and learning-perceptual image patch similarity are selected as quantitative evaluation indicators;
[0035] The reconstruction result is evaluated according to the quantitative evaluation index.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes a video human body three-dimensional reconstruction device based on neural radiation field, the device comprising:
[0037] A data processing module is used to perform forward transformation on the local feature space in the SMPL model through the first MLP network module and the dual quaternion skinning algorithm to obtain a current posture model;
[0038] A color output module, used for selecting a ray according to the camera parameters in the current posture model, and randomly assigning sampling points on the ray, and obtaining an observed color value of the ray based on the sampling points through a second MLP network module and a voxel rendering equation;
[0039] A parameter optimization module, used for comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field;
[0040] An information reconstruction module is used to reconstruct a three-dimensional video image of a human body based on the target nerve radiation field and the camera parameters.
[0041] In addition, to achieve the above-mentioned objectives, the present invention also proposes a three-dimensional reconstruction device for a human body through video based on a neural radiation field, the device comprising: a memory, a processor, and a three-dimensional reconstruction program for a human body through video based on a neural radiation field stored in the memory and executable on the processor, the three-dimensional reconstruction program for a human body through video based on a neural radiation field being configured to implement the steps of the three-dimensional reconstruction method for a human body through video based on a neural radiation field as described above.
[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a video human body three-dimensional reconstruction program based on neural radiation field is stored. When the video human body three-dimensional reconstruction program based on neural radiation field is executed by a processor, the steps of the video human body three-dimensional reconstruction method based on neural radiation field as described above are implemented.
[0043] The present invention discloses a method of forward transforming the local feature space in the SMPL model through a first MLP network module and a dual quaternion skinning algorithm to obtain a current posture model; selecting rays in the current posture model according to camera parameters, and randomly assigning sampling points on the rays, and obtaining the observed color value of the rays based on the sampling points through a second MLP network module and a voxel rendering equation; comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field; and reconstructing a three-dimensional video image of a human body based on the target neural radiation field and the camera parameters. The present invention reconstructs a three-dimensional video image of a human body based on the target neural radiation field and the camera parameters. Compared with the prior art, the present invention not only improves the efficiency of three-dimensional human body reconstruction, but also reduces the cost of three-dimensional human body reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of the first embodiment of the method for 3D reconstruction of a human body through video based on neural radiation field of the present invention;
[0045] Figure 2 This is a schematic diagram of a tree structure of key joints of a human body in an embodiment of the present invention;
[0046] Figure 3 This is a schematic diagram of initializing a local feature space in an embodiment of the present invention;
[0047] Figure 4 This is a schematic diagram of the overall architecture of the transformation network in an embodiment of the present invention;
[0048] Figure 5 A schematic diagram of a local feature space and a feature decoder in an embodiment of the present invention;
[0049] Figure 6A schematic diagram of an index-based computing operation in an embodiment of the present invention;
[0050] Figure 7 This is a schematic diagram of the overall network process in an embodiment of the present invention;
[0051] Figure 8 It is a flow chart of a second embodiment of the method for 3D reconstruction of a human body through video based on neural radiation field of the present invention;
[0052] Fig. 9 It is a flow chart of a third embodiment of the method for 3D reconstruction of a human body through video based on neural radiation field of the present invention;
[0053] Fig.10 It is a structural block diagram of the first embodiment of the apparatus for 3D reconstruction of human body through video based on neural radiation field of the present invention;
[0054] Fig.11 It is a structural schematic diagram of a device for three-dimensional reconstruction of a human body through video based on a neural radiation field in a hardware operating environment involved in an embodiment of the present invention.
[0055] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0056] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0057] The embodiment of the present invention provides a method for 3D reconstruction of a human body through video based on a neural radiation field. Figure 1 , Figure 1 It is a flowchart diagram of the first embodiment of the method for three-dimensional reconstruction of human body through video based on neural radiation field of the present invention.
[0058] In this embodiment, the method for 3D reconstruction of a human body from a video based on a neural radiation field comprises the following steps:
[0059] Step S10: forward transform the local feature space in the SMPL model through the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model.
[0060] It should be noted that the execution subject of this embodiment can be a computer server device with data processing, network communication and program running functions, such as a personal computer, a laptop computer, etc., or an electronic device capable of realizing the above functions, a video human body 3D reconstruction device based on a neural radiation field, etc. The following takes a system including a video human body 3D reconstruction device based on a neural radiation field as an example to illustrate this embodiment and the following embodiments.
[0061] In the specific implementation, it is necessary to first obtain human video input data, then obtain a picture sequence based on the human video input data, and obtain a training data set based on the picture sequence. Finally, the picture sequence can be pre-estimated to obtain human posture parameters, SMPL model parameters and human pixel template.
[0062] The human body posture parameter p is composed of the positions and rotations of a series of key joints of the human body, and is parameterized by dual quaternions. These key joints form a tree-like skeleton structure, which can well reflect the general posture of the human body. The skeleton structure used in the embodiment of the present invention is as follows: Figure 2 As shown. The SMPL model parameter β encodes the shape feature information of the static person. The human pixel template can be a pixel template with the same resolution as the input image. The pixel template can be a binary image, where 1 indicates that the current pixel belongs to the human body part, and 0 indicates that the current pixel belongs to the background.
[0063] It should be noted that based on the forward process provided by the SMPL model, the two parameters of human posture parameter p and SMPL model parameter β can predict a rough three-dimensional human body model, as shown in formula (1), where the output is the three-dimensional coordinates of 6890 vertices of the three-dimensional human body model.
[0064]
[0065] Among them, p is the human posture parameter, β is the SMPL model parameter, Represents the set of real numbers.
[0066] It should be explained that, before step S10, the following steps are also included:
[0067] Step S011: uniformly distribute a preset number of local feature spaces on the surface of the SMPL model based on the farthest point sampling strategy, and determine the center position of each local feature space.
[0068] It should be understood that the SMPL model is a naked, vertex-based three-dimensional human model that can accurately represent different shapes and poses of the human body. The first MLP network module includes an MLP network.
[0069] According to the idea of the farthest point sampling strategy, the center positions are allocated one by one, and each time the vertex farthest from the currently selected vertex set is selected from the unselected SMPL vertices and added to the set, and this step is repeated until the number of selected vertices reaches a predefined number, which can be set to 512 in the embodiment of the present invention, or can be set to other values. This embodiment takes 512 as an example for explanation. These vertex positions are used as the center positions of the local feature space. The distance from a single vertex to a vertex set is defined as the minimum value of the distance from the vertex to all vertices in the set. The position allocation result of the center position of the local feature space in the embodiment of the present invention can be seen Figure 3 Shown on the left.
[0070] Step S012: After determining the center position of each local feature space, divide the influence area range of each local feature space to cover the potential human body modeling area.
[0071] The influence area of the local feature space is limited to the inside of a square area, so defining the size of the influence area is equivalent to determining the side length of the square area. Each local feature space first uses the distance to the other local feature space closest to it to initialize the size of the influence area, and then continuously increases the side length of the area to eliminate holes. For each human posture parameter in the training data set, an observation ray is constructed within a 360-degree range around it to determine whether it intersects with the local feature space before contacting the SMPL model. If not, the local feature space closest to the intersection is selected, and the size of its influence area is expanded so that it can intersect with the ray first, thereby ensuring that the coverage area of all local feature spaces can completely include the SMPL model, that is, the potential human body modeling area. The initialization result of the influence area in the embodiment of the present invention is as follows. Figure 3 Shown right.
[0072] Step S013: encoding the local feature space based on an explicit feature voxel grid and tensor decomposition technology to obtain a feature vector, wherein the local feature space is used to store the human body geometry and appearance features within the corresponding impact area.
[0073] It should be explained that the tensor decomposition technique can be to decompose the three-dimensional feature grid along each coordinate axis, that is, to use three one-dimensional feature sequences to approximate the three-dimensional grid, each feature sequence represents a coordinate axis, and use the components corresponding to the local coordinates to perform linear interpolation to obtain features. The three sub-features are added together to obtain the final feature vector, as shown in formula (2) and Figure 4 As shown:
[0074]
[0075] Where V irepresents the three-dimensional feature grid corresponding to the i-th local feature space, and V i x 、V i y and V i z is the characteristic sequence corresponding to each coordinate axis. ix 、x iy and x iz The local coordinate x i The value on the corresponding coordinate component. In this embodiment, the feature sequence resolution of each coordinate axis can be set to 32, and the size of the feature vector can be set to 16.
[0076] In addition, considering that the size of each local feature space is small enough, it is reasonable to assume that only rigid transformation occurs. Although each feature space only undergoes rigid transformation, sufficient feature spaces combined together can model arbitrarily complex motions with sufficiently powerful expression capabilities. On the other hand, since each feature space is only responsible for encoding features in a small area around it, a lighter network structure can be used for encoding, thereby reducing the computational and storage overhead of evaluation. The world space coordinate x can be transformed to the local coordinate x by formula (3). i .
[0077]
[0078] Among them, R i With t i They respectively represent the rotation matrix and displacement of the ith local feature space under the current human body posture parameters, and r represents the size of the influence area of the local feature space.
[0079] In order to let the network explicitly learn the influence area of the local feature space and save computation, each local feature space has a corresponding attenuation area. When the world space coordinate x is in this area, the feature vector obtained will gradually decay to the background feature vector H. b , as shown in formula (4).
[0080]
[0081] Wherein, s is a hyperparameter for controlling the attenuation range, and in this embodiment is set to the square root of 3, that is, the attenuation area is between the inscribed circle and the circumscribed circle of the cube's influence area, thereby ensuring that it includes the entire influence area. i (x i) represents the feature acquisition process of the i-th local feature space, lerp is a linear interpolation function, which uses the third parameter to linearly interpolate the first and second parameters, and saturate is a truncation function, which truncates the input to the range of 0 to 1. In particular, when the sampling point is outside the attenuation region of a local feature space, the feature vector acquired is completely attenuated to the background feature vector H b To save computation.
[0082] In a specific implementation, in order to optimize the human posture parameter p and the SMPL model parameter β to improve the fitting accuracy and thereby reduce the reconstruction error caused by inaccurate estimation, step S10 includes:
[0083] Step S101: Optimizing the human body posture parameters through a first MLP network module to obtain optimized human body posture parameters.
[0084] Step S102: Optimizing the SMPL model parameters based on the direct optimization offset value to obtain optimized SMPL model parameters.
[0085] It should be noted that, for example, reference Figure 4 , Figure 4 Schematic diagram of the overall architecture of the transformation network in the embodiment of the present invention. In the standard space (i.e., the initial SMPL model), the human posture parameter p is optimized by an MLP network (i.e., the first MLP network module) to output the corresponding joint position offset value Δp, and then the dual quaternion multiplication is performed. is optimized, and the SMPL model parameter β is optimized based on the direct optimization offset value Δβ. p′ and β′ represent the optimized human posture parameters and SMPL model parameters, respectively. In this embodiment, the depth of the MLP network can be set to 3, and the hidden variable size can be set to 256.
[0086] The optimization process of SMPL model parameters and human posture parameters is shown in formula (5) and formula (6):
[0087] β′=β+Δβ (5)
[0088]
[0089] Among them, p′ is the optimized human posture parameter, and β′ is the optimized SMPL model parameter.
[0090] Step S103: forward transforming the local feature space in the SMPL model based on the dual quaternion skinning algorithm, the optimized human body posture parameters and the optimized SMPL model parameters to obtain a current posture model.
[0091] It should be noted that the current posture model is a human body model obtained by forward transforming the local feature space in the SMPL model.
[0092] Since the local feature spaces are distributed on the vertices of the SMPL model, the skin weight data provided by it can be directly used to linearly interpolate the dual quaternion corresponding to the global transformation of the key joints of the human body to obtain the dual quaternion corresponding to each local feature space, and then convert it into a rotation matrix R i With displacement t i , as shown in formula (7), where o i and ω i are the initial center coordinates and skin weight of the i-th local feature space, and DQS represents the dual quaternion skinning transformation algorithm.
[0093]
[0094] Commonly used deep learning frameworks do not encapsulate the skeleton forward motion algorithm and the commonly used dual quaternion operators. The former is difficult to parallelize and relies on loop implementation because the child keypoints need the data of the parent keypoints, while the latter relies on a large number of index operations due to the nature of dual quaternion multiplication. This results in a large number of operator operations being called when the two algorithms are simply implemented using a deep learning framework. Each operator needs to be slowly decoded and implemented by Python, added to the underlying calculation graph of the deep learning framework, and wait for the call execution of the CUDA kernel, which greatly reduces the speed of the operation and even becomes one of the bottlenecks of the entire training.
[0095] Therefore, in this embodiment, a custom-written CUDA kernel function is used for acceleration, and the commonly used dual quaternion operations and forward motion algorithms are encapsulated into a Python interface, so that the calculation can be completed with only one call, which greatly speeds up the operation efficiency.
[0096] Step S20: selecting a ray in the current posture model according to the camera parameters, and randomly assigning sampling points on the ray, and obtaining the observed color value of the ray based on the sampling points through a second MLP network module and a voxel rendering equation.
[0097] It should be noted that step S20 includes:
[0098] Step S201: construct a training data set based on the human pixel template, select multiple picture blocks from the training data set, select rays according to camera parameters in the current posture model, and randomly and evenly distribute sampling points within the scene area of each ray.
[0099] It should be noted that the above-mentioned selection of multiple image blocks from the training data set can be to select the image to be processed in the current iteration from the training data set with a medium probability, and then randomly select the center point coordinates of the image block from the human pixel set in the corresponding human pixel template with a probability of 90%, and select the center point coordinates from the remaining pixel set with a probability of the remaining 10%. In the embodiment of the present invention, 4 image blocks are selected to form a batch of data in each training iteration, and the size of each image block can be 32×32.
[0100] It should be understood that the camera parameters include parameters of the camera's internal properties and parameters of the camera's position and posture in the world coordinate system, that is, the camera's internal and external parameters.
[0101] In a specific implementation, the camera internal and external parameter matrices provided by the training data set can be used to convert the screen space pixels contained in the image block into corresponding world space rays, and then perform an intersection test with the axisymmetric bounding box formed by all local feature spaces to obtain its range in the scene. The allocation of sampling points first divides the range evenly into several segments, and then performs random uniform sampling in each segment. In this embodiment, the fixed sampling of a single ray can be 128 sampling points.
[0102] Step S202: Filter out a target sampling point set according to the union of the attenuation area ranges of each of the local feature spaces.
[0103] It should be noted that the union of the attenuation areas of all local feature spaces constitutes a potential modeling area. The sampling points outside this area skip their calculations and directly use the default values (usually 0) as their voxel density and emission radiance. The remaining sampling points inside the potential modeling area can be transformed into each local feature space to obtain and fuse the corresponding feature vectors, and then regress the voxel density and emission radiance based on the second MLP network module.
[0104] In this embodiment, all sampling points and local feature space serial number index pairs that meet the following conditions are first calculated by distance: the corresponding sampling point is inside the attenuation region of the local feature space. Then, the serial numbers of the sampling points are aggregated to obtain the serial numbers of the sampling points inside the above potential modeling area, so as to achieve screening and obtain the target sampling point set. The entire search algorithm is implemented based on a custom CUDA kernel program to speed up execution.
[0105] Step S203: transforming the target sampling point set into each of the local feature spaces to obtain the corresponding feature vectors, and performing weighted fusion on the feature vectors based on distance weights to obtain a target feature vector.
[0106] The feature vectors are weighted fused based on the distance weight to obtain the target feature vector, as shown in formula (8):
[0107]
[0108] Where Ψ represents the feature fusion operation, H i is the feature vector obtained from the i-th local feature space, M represents the number of local feature spaces, ω i represents the weight of the weighted sum, and is modeled using a three-dimensional Gaussian distribution with a variance σ 2 Used to control the relative influence of different local feature spaces on sampling points.
[0109] The above operation can be implemented based on the serial index pair calculated in the above steps. Each filtered sampling point first uses the index pair to obtain the feature vector provided by the local feature space where the attenuation area covers its position, and multiplies it by the corresponding distance weight to perform weighted summation. Then, the distance weight sum of all local feature spaces is calculated according to formula (9), and then the distance weight sum of the local feature space that has been obtained is subtracted to obtain the distance weight sum of the remaining local feature space. Since the positions of the sampling points are all outside the attenuation area of these remaining local feature spaces, the acquired feature vectors have all been attenuated to the background feature vector H b , multiply the vector by the remaining weight sum, and add it to the weighted sum vector calculated previously to get the final value, and save a lot of calculations. The calculation method of the index operation is as follows Figure 6 As shown, Figure 6 The original space in the figure represents the feature space where all sampling points are located, the batch space represents the feature space where the sampling points outside the influence area of all local feature spaces are filtered out, and the local space represents the feature space where the local feature space and the corresponding sampling points are located; different colors represent different local feature spaces; the solid points in the original space represent all sampling points, the solid points in the batch space represent the sampling points in the local feature space, the hollow points represent the sampling points outside the local feature space, and the solid points in the local space represent the sampling points in different local feature spaces.
[0110]
[0111] Among them, s i and i are the center position and initial center coordinates of the i-th local feature space respectively.
[0112] In this embodiment, the calculation of formula (9) is implemented based on a custom CUDA kernel program, thereby avoiding repeated read and write operations caused by the deep learning framework, and the index pairs are sorted and blocked according to the local feature space serial numbers, and virtual indexes are used to meet the needs of blocking, so that the local feature space serial numbers in each block of data are the same. Therefore, only one reading and writing is required during calculation, which speeds up the network operation speed.
[0113] Step S204: input the target feature vector into the second MLP network module to obtain voxel density and emission radiance.
[0114] It should be noted that the above second MLP network module, i.e., the shallow decoder, can be composed of two MLP sub-modules, such as formula (10):
[0115]
[0116] Where H represents the target feature vector, and The two MLP submodules represent the voxel density decoder and the emission radiance decoder respectively, while γ represents the sine-cosine position encoding, and σ and c represent the voxel density and emission radiance of the sampling point respectively.
[0117] In the embodiment of the present invention, The depth is 3, The depth is 4, the hidden variable size is 128, and it is implemented based on the tiny-cuda-nn framework. The position encoding function includes three functions: congruence, cosx, and sinx. The network structure corresponding to the second MLP network module can be as follows: Figure 5 The feature decoder in is shown. Figure 5 is a schematic diagram of a local feature space and a feature decoder in an embodiment of the present invention, Figure 5 It means that in this embodiment, a target sampling point set is screened out according to the union of the attenuation area ranges of each local feature space; the target sampling point set is transformed into each local feature space to obtain the corresponding feature vector, and the feature vector is weightedly fused based on the distance weight to obtain the target feature vector; the target feature vector is input into the second MLP network module (i.e., the feature decoder) to obtain the voxel density σ and the emission radiance c.
[0118] Step S205: Substitute the voxel density and the emitted radiance into a voxel rendering equation to obtain an observed color value of the ray.
[0119] It should be noted that the voxel rendering equation calculation is based on an approximate calculation using a discrete numerical solution, such as formula (11):
[0120]
[0121] Among them, C(r) represents the observed color value of the ray, and σ i and c i They represent the voxel density and emitted radiance corresponding to the i-th sampling point on the ray, respectively, and t iThen represents the distance between the ith sampling point and the origin. The sampling points mentioned here are all sampling points, including sampling points outside and inside the potential modeling area mentioned above.
[0122] Step S30: Compare the information difference between the observed color value and the true color value according to a preset loss function, and optimize the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field.
[0123] Figure 7 : is a schematic diagram of the overall network flow in an embodiment of the present invention. In a specific implementation, the human body posture parameters are optimized by the first MLP network module to obtain the optimized human body posture parameters; the SMPL model parameters are optimized based on the direct optimization offset value to obtain the optimized SMPL model parameters; based on the dual quaternion skinning algorithm, the optimized human body posture parameters and the optimized SMPL model parameters, the local feature space in the SMPL model (i.e., the initial SMPL model or the standard space) is forward transformed to obtain the current posture model (i.e., the observation space); in the current posture model, rays are selected according to the camera parameters, and the scene area of each ray is randomly and uniformly selected. Assign sampling points; filter out the target sampling point set according to the union of the attenuation area range of each local feature space; transform the target sampling point set into each local feature space to obtain the corresponding feature vector, and perform weighted fusion on the feature vector based on the distance weight to obtain the target feature vector; input the target feature vector into the second MLP network module to obtain the voxel density σ and the emission radiance c; then perform voxel rendering on the voxel density σ and the emission radiance c to obtain the observed color value of the ray (the horizontal axis in the figure represents RayDistance (i.e., ray distance), and the vertical axis represents the voxel density σ), and then use the preset loss function to compare the information difference between the observed color value and the true color value.
[0124] Step S40: reconstructing a three-dimensional video image of a human body based on the target nerve radiation field and the camera parameters.
[0125] In the specific implementation, the input ray can be constructed from the input camera parameters (i.e., the camera internal and external parameters), input into the target neural radiation field to calculate the observed color value, and the reconstructed human body three-dimensional video image is output to the display device for display; at the same time, quantitative evaluation indicators are defined to evaluate the final reconstruction results, including:
[0126] During inference rendering, this embodiment first determines whether the ray intersects with any local feature space, filters out those rays that do not intersect at all, and then uses the previous training process to perform calculations to reduce the computational overhead. In specific implementation, projection is used for quick judgment. The influence area of each local feature space is a three-dimensional sphere. The camera's projection matrix can be used to project it into an elliptical area in the viewing plane. The covered pixels can be quickly marked with the help of the GPU rasterization algorithm. After merging the marks provided by all feature spaces, rays that do not intersect with any space can be filtered out.
[0127] The quantitative evaluation indicators include: peak signal-to-noise ratio PSNR, structural similarity SSIM and learning-perceptual image block similarity LPIPS.
[0128] This embodiment selects ten representative monocular RGB human video sequences from the PeopleSnapshot data set for relevant experiments, namely male-2-sport, male-3-casual, male-4-casual, male-5-sport, male-9-plaza, female-1-casual, female-3-casual, female-4-casual, female-6-plaza and female-8-plaza. Each video consists of different characters rotating in A posture in front of the camera for multiple cycles, which covers the detailed features of the character's whole body. The last rotation in the video is selected as the test set, and the previous video clips are selected as the training set to divide the data set. This embodiment can directly use the camera parameters, background segmentation templates and estimated human postures provided in the data set for training.
[0129] This embodiment discloses forward transformation of the local feature space in the SMPL model through a first MLP network module and a dual quaternion skinning algorithm to obtain a current posture model; selecting rays in the current posture model according to camera parameters, and randomly assigning sampling points on the rays, and obtaining the observed color value of the rays based on the sampling points through a second MLP network module and a voxel rendering equation; comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field; reconstructing a three-dimensional video image of the human body based on the target neural radiation field and the camera parameters. This embodiment reconstructs a three-dimensional video image of the human body based on the target neural radiation field and the camera parameters. Compared with the prior art, this embodiment not only improves the efficiency of three-dimensional human body reconstruction, but also reduces the cost of three-dimensional human body reconstruction.
[0130] refer to Figure 8 , Figure 8 Schematic diagram of the flow chart of the second embodiment of the method for three-dimensional reconstruction of human body through video based on neural radiation field of the present invention.
[0131] Based on the first embodiment above, in this embodiment, before step S10, the following steps are further included:
[0132] Step S01: converting human body video input data into a picture sequence according to a preset frame rate.
[0133] Step S02: down-sampling each of the picture sequences to reduce the resolution of the picture sequence to obtain a picture sequence of a preset resolution.
[0134] It should be noted that the image downsampling operation reduces these image sequences to a preset resolution, simplifies the algorithm design and reduces the pressure of storage and reading by unifying the data format. In this embodiment, the preset resolution can be set to 512, or it can be set to other values. This embodiment takes 512 as an example for explanation.
[0135] Step S03: pre-estimating based on the picture sequence to obtain human body posture parameters, SMPL model parameters and human body pixel template.
[0136] This embodiment discloses converting human video input data into a picture sequence at a preset frame rate; performing picture downsampling on each of the picture sequences to reduce the resolution of the picture sequence to obtain a picture sequence of preset resolution; performing pre-estimation based on the picture sequence to obtain human posture parameters, SMPL model parameters and human pixel template. Since this embodiment converts human video input data into a picture sequence at a preset frame rate; performs picture downsampling on each of the picture sequences to obtain a picture sequence of preset resolution, compared with the prior art, this embodiment reduces the resolution of the picture sequence and reduces the pressure of data storage and reading.
[0137] refer to Fig. 9 , Fig. 9 It is a flowchart diagram of the third embodiment of the method for three-dimensional reconstruction of a human body through video based on neural radiation field of the present invention.
[0138] Based on the above embodiments, in this embodiment, step S30 includes:
[0139] Step S301: constructing a preset loss function based on learning perceived image block similarity loss, mean square error loss and background loss.
[0140] Step S302: comparing the information difference between the observed color value and the true color value according to a preset loss function to obtain a comparison result.
[0141] Step S303: Determine the gradient information of the image corresponding to the observed color value and the image corresponding to the true color value based on the comparison result, and optimize the network parameters of the first MLP network module and the second MLP network module based on the gradient information to obtain the target neural radiation field.
[0142] It should be noted that the above preset loss function is shown in formula (12):
[0143]
[0144] Among them, L LPIPS In order to learn the perceived image block similarity loss, it is implemented based on the network VGG16 pre-trained on the large-scale image dataset ImageNet-1k-v1. Therefore, it is good at capturing the visual perception information in the image and introduces rich prior information for network training.
[0145] The learning-based perception of image block similarity loss first obtains the feature maps of the two compared images through the network operation and normalizes them. Then, the two feature maps corresponding to each scale are subtracted and sent to the convolutional network to regress the pixel-by-pixel difference value at that scale. After arithmetic averaging, the overall difference value at the corresponding scale can be obtained. The sum of the difference values at each scale can be used as the final loss function.
[0146] The L MSE is the mean square error loss, as shown in formula (13):
[0147]
[0148] Among them I ij It represents the pixel value of the i-th row and j-th column predicted by the algorithm, and contains four components of RGBA, while It represents the true value in the corresponding data set, and M represents the size of the picture block; the A component, that is, the transparency uses the human pixel template data as the true value, and the prediction can be calculated by removing the color term of the voxel rendering equation.
[0149] The background loss L BG It is used to supervise that the background voxel density obtained by the decoder from the background features should be 0, so as to facilitate the training of the network, as shown in formula (14):
[0150] The lambda L , M and λ B are the weights corresponding to each loss item.
[0151] It should be explained that the above quantitative evaluation indicators include: peak signal-to-noise ratio PSNR, structural similarity SSIM and learning-perceptual image block similarity LPIPS;
[0152] The calculation method of the peak signal-to-noise ratio PSNR is shown in formula (15), which is calculated based on the mean square error loss of formula (13). Since the value of the peak signal-to-noise ratio has a large dynamic range, it is usually expressed in logarithmic decibel units, where MAX I Then represents the maximum possible power of the signal to be reconstructed;
[0153]
[0154] The structural similarity SSIM is calculated pixel by pixel and the average is used as the final indicator. For each pixel, the indicator collects the statistical information of brightness, contrast and structure in the image block centered on it for calculation, and the method is shown in formula (16). Where x and y subscripts represent the two images to be compared, respectively, and SSIM ij It represents the structural similarity value calculated based on the pixel in the i-th row and j-th column of the image and its surrounding information.
[0155]
[0156] In the formula, μ x is the average value of the image patches centered at i and j in x, μ y is the average value of the image patch centered at i and j in y, σ x 2 is the variance of the image patch centered at i and j in x, σ y 2 is the variance of image patches centered at i and j in y, σ xy is the covariance of the image blocks centered on i and j in x and y, C1, C2 and C3 can be constants to avoid computational instability when the denominator is close to 0, where C1 = (k1L) 2 、C2=(k2L) 2 And C3=C2 / 2, k1 and k2 can be defaulted to 0.01 and 0.03 respectively, L represents the range of image pixel values (0-255), L is related to the pixel positions of pictures x and y (i.e., i and j), α, β, γ are constants, and in this embodiment, they can take values of 1 or other values, which are not limited in this embodiment.
[0157] The learning-perceptual image block similarity LPIPS is similar to the loss function and is also implemented based on a deep network model pre-trained in a large-scale image dataset. The difference is that it uses AlexNet as the network framework.
[0158] This embodiment discloses constructing a preset loss function based on learning perceived image block similarity loss, mean square error loss and background loss; comparing the information difference between the observed color value and the true color value according to the preset loss function to obtain a comparison result; determining the gradient information of the image corresponding to the observed color value and the image corresponding to the true color value based on the comparison result, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the gradient information to obtain a target neural radiation field. Since this embodiment constructs a preset loss function based on learning perceived image block similarity loss, mean square error loss and background loss, the network parameters of the first MLP network module and the second MLP network module are optimized by determining the gradient information of the image corresponding to the observed color value and the image corresponding to the true color value to obtain a target neural radiation field. Compared with the prior art, this embodiment ensures the quality of video three-dimensional human body reconstruction.
[0159] In addition, an embodiment of the present invention also proposes a storage medium, on which a three-dimensional reconstruction program of a human body through video based on a neural radiation field is stored. When the three-dimensional reconstruction program of a human body through video based on a neural radiation field is executed by a processor, the steps of the three-dimensional reconstruction method of a human body through video based on a neural radiation field as described above are implemented.
[0160] Reference Fig.10 , Fig.10 This is a structural block diagram of the first embodiment of the video human body three-dimensional reconstruction device based on neural radiation field of the present invention.
[0161] like Fig.10 As shown, the apparatus for 3D reconstruction of a human body through video based on neural radiation field proposed in the embodiment of the present invention includes: a data processing module 501 , a color output module 502 , a parameter optimization module 503 and an information reconstruction module 504 .
[0162] The data processing module 501 is used to perform forward transformation on the local feature space in the SMPL model through the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model.
[0163] The color output module 502 is used to select rays according to camera parameters in the current posture model, and randomly assign sampling points on the rays, and based on the sampling points, obtain the observed color value of the rays through the second MLP network module and the voxel rendering equation.
[0164] The parameter optimization module 503 is used to compare the information difference between the observed color value and the true color value according to a preset loss function, and optimize the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field.
[0165] The information reconstruction module 504 is used to reconstruct a three-dimensional video image of a human body based on the target nerve radiation field and the camera parameters.
[0166] The data processing module 501 is also used to evenly distribute a preset number of local feature spaces on the surface of the SMPL model based on the farthest point sampling strategy, and determine the center position of each local feature space; after determining the center position of each local feature space, divide the influence area of each local feature space to cover the potential human body modeling area; encode the local feature space based on an explicit feature voxel grid and tensor decomposition technology to obtain a feature vector, and the local feature space is used to store the human body geometry and appearance features within the corresponding influence area.
[0167] The data processing module 501 is also used to optimize the human body posture parameters through the first MLP network module to obtain optimized human body posture parameters; optimize the SMPL model parameters based on the direct optimization offset value to obtain optimized SMPL model parameters; and forward transform the local feature space in the SMPL model based on the dual quaternion skinning algorithm, the optimized human body posture parameters and the optimized SMPL model parameters to obtain the current posture model.
[0168] The color output module 502 is also used to construct a training data set based on the human pixel template, select multiple image blocks from the training data set, select rays according to camera parameters in the current posture model, and randomly and evenly distribute sampling points within the scene area of each ray; filter out a target sampling point set according to the union of the attenuation area ranges of each local feature space; transform the target sampling point set into each local feature space to obtain the corresponding feature vector, and weightedly fuse the feature vector based on the distance weight to obtain a target feature vector; input the target feature vector into the second MLP network module to obtain voxel density and emission radiance; substitute the voxel density and the emission radiance into the voxel rendering equation to obtain the observed color value of the ray.
[0169] The information reconstruction module 504 is further used to select peak signal-to-noise ratio, structural similarity and learning-perceptual image block similarity as quantitative evaluation indicators; and evaluate the reconstruction result according to the quantitative evaluation indicators.
[0170] This embodiment discloses forward transformation of the local feature space in the SMPL model through a first MLP network module and a dual quaternion skinning algorithm to obtain a current posture model; selecting rays in the current posture model according to camera parameters, and randomly assigning sampling points on the rays, and obtaining the observed color value of the rays based on the sampling points through a second MLP network module and a voxel rendering equation; comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field; reconstructing a three-dimensional video image of the human body based on the target neural radiation field and the camera parameters. This embodiment reconstructs a three-dimensional video image of the human body based on the target neural radiation field and the camera parameters. Compared with the prior art, this embodiment not only improves the efficiency of three-dimensional human body reconstruction, but also reduces the cost of three-dimensional human body reconstruction.
[0171] Based on the first embodiment of the apparatus for 3D reconstruction of a human body through video based on neural radiation field of the present invention, a second embodiment of the apparatus for 3D reconstruction of a human body through video based on neural radiation field of the present invention is proposed.
[0172] In this embodiment, the data processing module 501 is also used to convert the human body video input data into a picture sequence according to a preset frame rate; downsample each of the picture sequences to reduce the resolution of the picture sequence to obtain a picture sequence of a preset resolution; and perform pre-estimation based on the picture sequence to obtain human body posture parameters, SMPL model parameters and human body pixel template.
[0173] Other embodiments or specific implementations of the video human body three-dimensional reconstruction device based on neural radiation field of the present invention can refer to the above-mentioned method embodiments, which will not be repeated here.
[0174] The present application provides a three-dimensional reconstruction device of a human body through video based on a neural radiation field. The three-dimensional reconstruction device of a human body through video based on a neural radiation field comprises: 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 three-dimensional reconstruction method of a human body through video based on a neural radiation field in the above-mentioned embodiment one.
[0175] Reference below Fig.11 , which shows a schematic diagram of the structure of a video human body 3D reconstruction device based on neural radiation field suitable for implementing the embodiment of the present application. Since the present invention involves implementation based on a custom CUDA kernel program to speed up the execution speed, the video human body 3D reconstruction device based on neural radiation field in the embodiment of the present application can be various terminal devices including those with a graphics card. Fig.11The video human body three-dimensional reconstruction device based on neural radiation field shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0176] like Fig.11 As shown, the video human body 3D reconstruction device based on neural radiation field 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 video human body 3D reconstruction device based on neural radiation field are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the video human body three-dimensional reconstruction device based on the neural radiation field to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a video human body three-dimensional reconstruction device based on the neural radiation field with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0177] 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.
[0178] The three-dimensional reconstruction device of a human body through video based on neural radiation field provided by the present application adopts the three-dimensional reconstruction method of a human body through video based on neural radiation field in the above-mentioned embodiment, which can solve the technical problems of high cost and low reconstruction efficiency of three-dimensional human body reconstruction in the prior art. Compared with the prior art, the beneficial effects of the three-dimensional reconstruction device of a human body through video based on neural radiation field provided by the present application are the same as the beneficial effects of the three-dimensional reconstruction method of a human body through video based on neural radiation field provided by the above-mentioned embodiment, and the other technical features of the three-dimensional reconstruction device of a human body through video based on neural radiation field are the same as the features disclosed in the method of the previous embodiment, which will not be described in detail here.
[0179] 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.
[0180] 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.
[0181] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0182] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0183] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0184] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for 3D reconstruction of human body from video based on neural radiation field, characterized in that: The method includes: The local feature space in the SMPL model is forward transformed through the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model; Selecting a ray according to the camera parameters in the current posture model, and randomly assigning sampling points on the ray, and obtaining an observed color value of the ray based on the sampling points through a second MLP network module and a voxel rendering equation; Comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field; A three-dimensional video image of a human body is reconstructed based on the target nerve radiation field and the camera parameters.
2. The method according to claim 1, characterized in that Before the step of forward transforming the local feature space in the SMPL model by the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model, the method further includes: Convert human body video input data into a picture sequence according to a preset frame rate; Downsampling each of the image sequences to reduce the resolution of the image sequence to obtain an image sequence of a preset resolution; Pre-estimation is performed based on the picture sequence to obtain human body posture parameters, SMPL model parameters and human body pixel template.
3. The method according to claim 2, characterized in that Before the step of forward transforming the local feature space in the SMPL model by the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model, the method further includes: Uniformly distribute a preset number of local feature spaces on the surface of the SMPL model based on the farthest point sampling strategy, and determine the center position of each of the local feature spaces; After determining the center position of each local feature space, dividing the influence area range of each local feature space to cover the potential human body modeling area; The local feature space is encoded based on an explicit feature voxel grid and tensor decomposition technology to obtain a feature vector, and the local feature space is used to store the human body geometry and appearance features within the corresponding impact area.
4. The method according to claim 2, characterized in that The step of forward transforming the local feature space in the SMPL model through the first MLP network module and the dual quaternion skinning algorithm to obtain the current posture model includes: Optimizing the human body posture parameters through a first MLP network module to obtain optimized human body posture parameters; Optimizing the SMPL model parameters based on the direct optimization offset value to obtain optimized SMPL model parameters; Based on the dual quaternion skinning algorithm, the optimized human posture parameters and the optimized SMPL model parameters, the local feature space in the SMPL model is forward transformed to obtain a current posture model.
5. The method according to claim 3, characterized in that The step of selecting a ray according to the camera parameters in the current posture model, randomly assigning sampling points on the ray, and obtaining the observed color value of the ray through a second MLP network module and a voxel rendering equation based on the sampling points includes: Building a training data set based on the human pixel template, selecting multiple image blocks from the training data set, selecting rays according to camera parameters in the current posture model, and randomly and evenly distributing sampling points within the scene area of each ray; Filter out a target sampling point set according to the union of the attenuation area ranges of each of the local feature spaces; Transforming the target sampling point set into each of the local feature spaces to obtain the corresponding feature vectors, and performing weighted fusion on the feature vectors based on distance weights to obtain a target feature vector; Inputting the target feature vector into a second MLP network module to obtain voxel density and emission radiance; The voxel density and the emitted radiance are substituted into the voxel rendering equation to obtain the observed color value of the ray.
6. The method according to claim 1, characterized in that The step of comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain the target neural radiation field includes: Construct a preset loss function based on learning-perceptual image block similarity loss, mean square error loss, and background loss; Compare the information difference between the observed color value and the true color value according to a preset loss function to obtain a comparison result; Based on the comparison result, the gradient information of the image corresponding to the observed color value and the image corresponding to the true color value is determined, and based on the gradient information, the network parameters of the first MLP network module and the second MLP network module are optimized to obtain the target neural radiation field.
7. The method according to claim 1, characterized in that After the step of reconstructing a three-dimensional video image of a human body based on the target nerve radiation field and the camera parameters, the method further includes: Peak signal-to-noise ratio, structural similarity and learning-perceptual image patch similarity are selected as quantitative evaluation indicators; The reconstruction result is evaluated according to the quantitative evaluation index.
8. A video human body 3D reconstruction device based on neural radiation field, characterized in that: The device comprises: A data processing module is used to perform forward transformation on the local feature space in the SMPL model through the first MLP network module and the dual quaternion skinning algorithm to obtain a current posture model; A color output module, used for selecting a ray according to the camera parameters in the current posture model, and randomly assigning sampling points on the ray, and obtaining an observed color value of the ray based on the sampling points through a second MLP network module and a voxel rendering equation; A parameter optimization module, used for comparing the information difference between the observed color value and the true color value according to a preset loss function, and optimizing the network parameters of the first MLP network module and the second MLP network module based on the comparison result to obtain a target neural radiation field; An information reconstruction module is used to reconstruct a three-dimensional video image of a human body based on the target nerve radiation field and the camera parameters.
9. A video human body 3D reconstruction device based on neural radiation field, characterized in that: The device includes: a memory, a processor, and a three-dimensional reconstruction program of a human body through video based on a neural radiation field, which is stored in the memory and can be run on the processor. The three-dimensional reconstruction program of a human body through video based on a neural radiation field is configured to implement the steps of a three-dimensional reconstruction method of a human body through video based on a neural radiation field as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a three-dimensional reconstruction program of the human body through video based on the neural radiation field. When the three-dimensional reconstruction program of the human body through video based on the neural radiation field is executed by the processor, the steps of the three-dimensional reconstruction method of the human body through video based on the neural radiation field are implemented.
Citation Information
Cited By
Nerve radiation field rendering method and device based on nerve base and tensor decomposition
CN119180898A
Three-dimensional radiation field modeling method and system based on contrast voxel module and medium
CN119600181A
