A method, device, equipment and storage medium for determining a virtual human three-dimensional model
By collecting multiple two-dimensional depth images and converting them into three-dimensional point cloud data, extracting and fusion features, and using the depth implicit representation network to identify the occupancy of coordinate points, the problem of low accuracy and low efficiency in three-dimensional model reconstruction under sparse perspectives is solved. for more efficient 3D model reconstruction.
Patent Information
- Application Number
- CN202410985990.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Existing virtual human 3D model reconstruction based on 2D depth images has low accuracy and sensitivity to noise under sparse viewing angles, cannot effectively handle occlusion areas, and relies on complex networks, resulting in low efficiency.
By collecting multiple two-dimensional depth images and converting them into three-dimensional point cloud data, extracting relative depth features and performing high-frequency mapping, integrating frequency domain, image and spatial features, and using the multi-head attention mechanism and deep implicit representation network to identify the occupancy of coordinate points rate, generate a three-dimensional model, and remove invalid coordinate points to improve reconstruction accuracy and efficiency.
It improves the reconstruction accuracy and efficiency of 3D models under sparse viewing angles, simplifies the network structure, reduces the impact of noise, and enhances the reconstruction ability of occluded areas.
Smart Images

Figure CN118521719B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing and virtual human technology, and in particular to a method, device, equipment and storage medium for determining a three-dimensional model of a virtual human. Background Art
[0002] The three-dimensional model reconstruction of a virtual human based on a two-dimensional depth image takes as input a two-dimensional depth image with sparse view angles (3-4 view angles) and outputs a three-dimensional model. Traditional three-dimensional model reconstruction based on two-dimensional depth images is often transformed into a three-dimensional model reconstruction problem based on three-dimensional point clouds. However, for point cloud input with sparse view angles, the reconstruction accuracy is low, and such algorithms are sensitive to input noise and cannot solve the problem of noisy image input well. There are many occluded areas in two-dimensional depth images with sparse view angles. Existing algorithms often rely too much on the image features of the input two-dimensional depth images and lack a priori knowledge of the three-dimensional model structure, which is not enough to solve the reconstruction problem of occluded areas well. In addition, existing algorithms rely on complex networks to extract high-dimensional semantic information in images, resulting in low efficiency in three-dimensional model reconstruction. Summary of the invention
[0003] The present application provides a method, device, equipment and storage medium for determining a three-dimensional model of a virtual human.
[0004] An embodiment of the present application provides a method for determining a three-dimensional model of a virtual human, the method comprising:
[0005] Collecting multiple two-dimensional depth images of the target object and converting them into corresponding multiple three-dimensional point cloud data, wherein the multiple two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of multiple coordinate points;
[0006] Determine relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data;
[0007] Performing feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth image to obtain fused feature data of the coordinate point in the two-dimensional depth image, wherein the image feature data is obtained by performing feature extraction on the two-dimensional depth image, and the spatial feature data is obtained by performing feature extraction on the three-dimensional point cloud data corresponding to the two-dimensional depth image;
[0008] Performing feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point;
[0009] Inputting the multi-view fusion feature data of the coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the coordinate point;
[0010] A three-dimensional model of the target object is determined based on the plurality of coordinate points and the occupancy value of each coordinate point.
[0011] Wherein, determining the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data includes:
[0012] Determine the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth map based on the three-dimensional point cloud data;
[0013] Relative depth feature data of the coordinate point is determined based on the depth and the projection value of the coordinate point.
[0014] The step of fusing the fused feature data of the coordinate point in each two-dimensional depth image includes:
[0015] Determine the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image;
[0016] The multi-view fusion feature data of the coordinate point is determined through the multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fusion feature data of the coordinate point in each two-dimensional depth image.
[0017] The method further comprises:
[0018] Removing invalid coordinate points from the plurality of coordinate points based on relative depth feature data of the plurality of coordinate points in a plurality of two-dimensional depth images to obtain a plurality of target coordinate points, wherein the invalid coordinate points are coordinate points outside the target object determined based on the relative depth feature data;
[0019] Performing feature fusion on the frequency domain feature data, image feature data and spatial feature data of the target coordinate point in the two-dimensional depth map to obtain fused feature data of the target coordinate point in the two-dimensional depth map;
[0020] Performing feature fusion on the fused feature data of the target coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the target coordinate point;
[0021] Inputting the multi-view fusion feature data of the target coordinate point into a deep implicit representation network for recognition, and obtaining an occupancy value of the target coordinate point;
[0022] A three-dimensional model of the target object is determined based on the plurality of target coordinate points and the occupancy value of each target coordinate point.
[0023] Wherein, removing invalid coordinate points from the multiple coordinate points based on the relative depth feature data of the multiple coordinate points in the multiple two-dimensional depth images includes:
[0024] If any relative depth feature data of the coordinate point in the plurality of two-dimensional depth images indicates that the coordinate point is outside the target object, the coordinate point is determined as an invalid coordinate point.
[0025] Another aspect of the present application provides a device for determining a three-dimensional model of a virtual human, the device comprising:
[0026] An acquisition module, used to acquire multiple two-dimensional depth images of a target object and convert them into corresponding multiple three-dimensional point cloud data, wherein the multiple two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of multiple coordinate points, and the multiple coordinate points are created based on the target object;
[0027] A calculation module is used to determine the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; perform feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth map to obtain fused feature data of the coordinate point in the two-dimensional depth map, wherein the image feature data is obtained by feature extraction of the two-dimensional depth map, and the spatial feature data is obtained by feature extraction of the three-dimensional point cloud data corresponding to the two-dimensional depth map; perform feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point; and input the multi-view fused feature data of the coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the coordinate point;
[0028] A processing module is used to determine the three-dimensional model of the target object based on the multiple coordinate points and the occupancy value of each coordinate point.
[0029] Among them, the calculation module is also used to determine the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth map based on the three-dimensional point cloud data; and determine the relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point.
[0030] Among them, the calculation module is also used to determine the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image; and determine the multi-perspective fusion feature data of the coordinate point through the multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fusion feature data of the coordinate point in each two-dimensional depth image.
[0031] In another aspect, the present application provides an electronic device, including: a collection device and a processor;
[0032] The acquisition device acquires a plurality of two-dimensional depth images of the target object and converts them into corresponding plurality of three-dimensional point cloud data;
[0033] The processor determines the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and performs high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; performs feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth map to obtain fused feature data of the coordinate point in the two-dimensional depth map; performs feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point; inputs the multi-view fused feature data of the coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the coordinate point; and determines the three-dimensional model of the target object based on the multiple coordinate points and the occupancy value of each coordinate point.
[0034] On the other hand, the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is used to collect multiple two-dimensional depth images of a target object and convert them into corresponding multiple three-dimensional point cloud data; determine the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; perform feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth map to obtain the fused feature data of the coordinate point in the two-dimensional depth map; perform feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point; input the multi-view fused feature data of the coordinate point into a deep implicit representation network for recognition to obtain the occupancy value of the coordinate point; and determine the three-dimensional model of the target object based on the multiple coordinate points and the occupancy value of each coordinate point.
[0035] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become readily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:
[0037] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0038] Figure 1 A flowchart of a method for determining a three-dimensional model of a virtual human according to an embodiment of the present application is shown;
[0039] Figure 2 A schematic structural diagram of a model for implementing a method for determining a three-dimensional model of a virtual human according to an embodiment of the present application is shown;
[0040] Figure 3 A flowchart of a method for determining a three-dimensional model of a virtual human according to another embodiment of the present application is shown;
[0041] Figure 4 A flowchart of a method for determining a three-dimensional model of a virtual human according to another embodiment of the present application is shown;
[0042] Figure 5 A flowchart of a method for determining a three-dimensional model of a virtual human according to another embodiment of the present application is shown;
[0043] Figure 6 A schematic diagram showing the structure of a device for determining a three-dimensional model of a virtual human according to an embodiment of the present application is shown;
[0044] Figure 7 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0045] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0046] In order to improve the accuracy and efficiency of three-dimensional model reconstruction under sparse perspective two-dimensional depth images, an embodiment of the present application provides a method for determining a three-dimensional model of a virtual human, such as Figure 1 As shown, the method includes:
[0047] Step 101 , collecting multiple two-dimensional depth images of a target object and converting them into corresponding multiple three-dimensional point cloud data, wherein the multiple two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of multiple coordinate points.
[0048] When a three-dimensional model of a target object needs to be reconstructed, multiple two-dimensional depth images of the target object from different perspectives may be acquired, such as three two-dimensional depth images of the front, side, and back of the target object.
[0049] Convert the 2D depth image of each perspective into the corresponding 3D point cloud data. For a single 2D depth image, determine the pixels in the 2D depth image that have corresponding depth data (for example, the depth data corresponding to some pixels is empty. For another example, after the 2D depth image is processed for background removal, the pixels whose corresponding depth data is 0 are also determined to have no corresponding depth data), and then convert the pixels that have corresponding depth data into point cloud data. pixels, then determine this There are 100,000 pixels with corresponding depth data, and then these 100,000 pixels with corresponding depth data are converted into Point cloud data.
[0050] Step 102: determine relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data.
[0051] For example, Figure 2 As shown, based on the two-dimensional depth image and the corresponding three-dimensional point cloud data, the relative depth feature data of each coordinate point in the two-dimensional depth image is determined, and finally the relative depth feature data of each coordinate point in each two-dimensional depth image is determined. The relative depth feature data of the coordinate point is then subjected to high-frequency feature mapping to obtain the corresponding frequency domain feature data.
[0052] For another example, two-dimensional depth image A, two-dimensional depth image B, and two-dimensional depth image C are collected and converted into corresponding three-dimensional point cloud data A, three-dimensional point cloud data B, and three-dimensional point cloud data C, and four coordinate points are determined, namely coordinate point A, coordinate point B, coordinate point C, and coordinate point D. For coordinate point A, based on three-dimensional point cloud data A, the relative depth feature data of coordinate point A in two-dimensional depth image A is determined. Based on three-dimensional point cloud data B, the relative depth feature data of coordinate point A in two-dimensional depth image B is determined. Based on three-dimensional point cloud data C, the relative depth feature data of coordinate point A in two-dimensional depth image C is determined. For coordinate point B, coordinate point C, and coordinate point D, the relative depth feature data of each coordinate point in each two-dimensional depth image is also determined.
[0053] Specifically, the relative depth feature data of the coordinate point can be mapped to high-frequency features based on the following formula to obtain the frequency domain feature data of the coordinate point: :
[0054]
[0055] in, , ,..., is the first weight coefficient, , ,..., is the second weight coefficient, is the relative depth feature data of the coordinate point. The first weight coefficient and the second weight coefficient are both preset weight coefficients, which can be set according to the specific scenario or according to different training strategies. For example, in the early stage of training, the first weight coefficient of the high-frequency part can be taken as a smaller value, and in the middle and late stages of training, the weight coefficient of the high-frequency part can be gradually increased to promote the rapid convergence of the network and better learn the high-frequency features and other detailed information.
[0056] Step 103, feature fusion is performed on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth image to obtain the fused feature data of the coordinate point in the two-dimensional depth image, wherein the image feature data is obtained by feature extraction of the two-dimensional depth image, and the spatial feature data is obtained by feature extraction of the three-dimensional point cloud data corresponding to the two-dimensional depth image.
[0057] For example, Figure 2 As shown, a two-dimensional depth image feature extraction network is used to extract features from each two-dimensional depth image to obtain image feature data of each coordinate point in each two-dimensional depth image. A three-dimensional point cloud data feature extraction network is used to extract features from the three-dimensional point cloud data corresponding to each two-dimensional depth image to obtain spatial feature data corresponding to each coordinate point and each two-dimensional depth image. The frequency domain feature data, image feature data, and spatial feature data of each coordinate point in the two-dimensional depth image are then input into the feature fusion module for feature fusion to obtain fused feature data of each coordinate point in the two-dimensional depth image. After processing multiple two-dimensional depth images, the fused feature data of each coordinate point in each two-dimensional depth image is obtained.
[0058] In this embodiment, the two-dimensional depth image feature extraction network can use HRNet (High-ResolutionNetworks, a neural network architecture for computer vision tasks), and the three-dimensional point cloud data feature extraction network can use sparse convolution 3D SpConv (Sparse Convolution 3D, a three-dimensional convolutional neural network).
[0059] For another example, two-dimensional depth image A, two-dimensional depth image B and two-dimensional depth image C are collected and converted into corresponding three-dimensional point cloud data A, three-dimensional point cloud data B and three-dimensional point cloud data C, and four coordinate points are determined, namely coordinate point A, coordinate point B, coordinate point C and coordinate point D;
[0060] Perform feature extraction on the two-dimensional depth image A to obtain image feature data of coordinate point A in the two-dimensional depth image A, image feature data of coordinate point B in the two-dimensional depth image A, image feature data of coordinate point C in the two-dimensional depth image A, and image feature data of coordinate point D in the two-dimensional depth image A;
[0061] Perform feature extraction on the two-dimensional depth image B to obtain image feature data of coordinate point A in the two-dimensional depth image B, image feature data of coordinate point B in the two-dimensional depth image B, image feature data of coordinate point C in the two-dimensional depth image B, and image feature data of coordinate point D in the two-dimensional depth image B;
[0062] Perform feature extraction on the two-dimensional depth image C to obtain image feature data of coordinate point A in the two-dimensional depth image C, image feature data of coordinate point B in the two-dimensional depth image C, image feature data of coordinate point C in the two-dimensional depth image C, and image feature data of coordinate point D in the two-dimensional depth image C;
[0063] Perform feature extraction on the three-dimensional point cloud data A to obtain spatial feature data corresponding to the coordinate point A and the two-dimensional depth image A, spatial feature data corresponding to the coordinate point B and the two-dimensional depth image A, image feature data corresponding to the coordinate point C and the two-dimensional depth image A, and spatial feature data corresponding to the coordinate point D and the two-dimensional depth image A;
[0064] Perform feature extraction on the three-dimensional point cloud data B to obtain spatial feature data corresponding to the coordinate point A and the two-dimensional depth image B, spatial feature data corresponding to the coordinate point B and the two-dimensional depth image B, image feature data corresponding to the coordinate point C and the two-dimensional depth image B, and spatial feature data corresponding to the coordinate point D and the two-dimensional depth image B;
[0065] Perform feature extraction on the three-dimensional point cloud data C to obtain spatial feature data corresponding to the coordinate point A and the two-dimensional depth image C, spatial feature data corresponding to the coordinate point B and the two-dimensional depth image C, image feature data corresponding to the coordinate point C and the two-dimensional depth image C, and spatial feature data corresponding to the coordinate point D and the two-dimensional depth image C;
[0066] The frequency domain feature data, image feature data and spatial feature data of the coordinate point A in the two-dimensional depth image A are feature-fused to obtain the fused feature data of the coordinate point A in the two-dimensional depth image A; the frequency domain feature data, image feature data and spatial feature data of the coordinate point B in the two-dimensional depth image A are feature-fused to obtain the fused feature data of the coordinate point B in the two-dimensional depth image A; the frequency domain feature data, image feature data and spatial feature data of the coordinate point C in the two-dimensional depth image A are feature-fused to obtain the fused feature data of the coordinate point C in the two-dimensional depth image A; the frequency domain feature data, image feature data and spatial feature data of the coordinate point D in the two-dimensional depth image A are feature-fused to obtain the fused feature data of the coordinate point D in the two-dimensional depth image A;
[0067] The frequency domain feature data, image feature data and spatial feature data of the coordinate point A in the two-dimensional depth image B are feature-fused to obtain the fused feature data of the coordinate point A in the two-dimensional depth image B; the frequency domain feature data, image feature data and spatial feature data of the coordinate point B in the two-dimensional depth image B are feature-fused to obtain the fused feature data of the coordinate point B in the two-dimensional depth image B; the frequency domain feature data, image feature data and spatial feature data of the coordinate point C in the two-dimensional depth image B are feature-fused to obtain the fused feature data of the coordinate point C in the two-dimensional depth image B; the frequency domain feature data, image feature data and spatial feature data of the coordinate point D in the two-dimensional depth image B are feature-fused to obtain the fused feature data of the coordinate point D in the two-dimensional depth image B;
[0068] The frequency domain feature data, image feature data and spatial feature data of coordinate point A in the two-dimensional depth image C are feature fused to obtain the fused feature data of coordinate point A in the two-dimensional depth image C; the frequency domain feature data, image feature data and spatial feature data of coordinate point B in the two-dimensional depth image C are feature fused to obtain the fused feature data of coordinate point B in the two-dimensional depth image C; the frequency domain feature data, image feature data and spatial feature data of coordinate point C in the two-dimensional depth image C are feature fused to obtain the fused feature data of coordinate point C in the two-dimensional depth image C; the frequency domain feature data, image feature data and spatial feature data of coordinate point D in the two-dimensional depth image C are feature fused to obtain the fused feature data of coordinate point D in the two-dimensional depth image C.
[0069] Step 104 , performing feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point.
[0070] For example, Figure 2 As shown, based on the fused feature data of the coordinate point in each two-dimensional depth image, a multi-head attention mechanism is used to determine the multi-view fused feature data of the coordinate point.
[0071] It should be pointed out that in this embodiment, the fused feature data of the coordinate points in each two-dimensional depth image can be fused through a multi-head attention mechanism. In other implementations, any method capable of performing feature fusion can also be used.
[0072] For another example, a two-dimensional depth image A, a two-dimensional depth image B, and a two-dimensional depth image C are collected, and four coordinate points are determined, namely, coordinate point A, coordinate point B, coordinate point C, and coordinate point D. The fused feature data of coordinate point A in the two-dimensional depth image A, the fused feature data in the two-dimensional depth image B, and the fused feature data in the two-dimensional depth image C are fused using a multi-head attention mechanism to obtain multi-view fused feature data of coordinate point A. The fused feature data of coordinate point B in the two-dimensional depth image A, the fused feature data in the two-dimensional depth image B, and the fused feature data in the two-dimensional depth image C are fused using a multi-head attention mechanism to obtain multi-view fused feature data of coordinate point B. The fused feature data of coordinate point C in the two-dimensional depth image A, the fused feature data in the two-dimensional depth image B, and the fused feature data in the two-dimensional depth image C are fused using a multi-head attention mechanism to obtain multi-view fused feature data of coordinate point C.
[0073] Step 105: input the multi-view fusion feature data of the coordinate point into a deep implicit representation network for recognition to obtain the occupancy value of the coordinate point.
[0074] For example, Figure 2 As shown, the multi-view fusion feature data of the coordinate point is input into the deep implicit representation network for recognition, and the occupancy value of the coordinate point is output.
[0075] Step 106: Determine a three-dimensional model of the target object based on the multiple coordinate points and the occupancy value of each coordinate point.
[0076] For example, Figure 2 As shown, the three-dimensional model of the target object is determined using an isosurface extraction algorithm based on multiple coordinate points and the occupancy value of each coordinate point.
[0077] In this embodiment, the three-dimensional model of the target object is determined based on multiple coordinate points and the occupancy value of each coordinate point, which can be achieved by an isosurface extraction algorithm. In other embodiments, any algorithm that can determine the three-dimensional model of the target object based on multiple coordinate points and the occupancy value of each coordinate point can be selected.
[0078] It should be pointed out that Figure 2 What is shown is an example of the internal structure of the model. Each network and module in the model can be replaced by other networks or modules with similar functions. In this embodiment, when the model is trained, the training samples used are two-dimensional depth sample images, multiple coordinate points of the two-dimensional depth sample images, and the occupancy value label of each coordinate point. The training is performed for the purpose of minimizing the loss value, and the loss function can be selected as binary cross entropy loss.
[0079] In the above scheme, by fusing the relative depth feature data of the coordinate points, the fused feature data contains the prior information provided by the relative depth, so that the subsequent extraction of high-dimensional semantic information in the image no longer relies on complex networks, and the complexity of the network structure is simplified (for example, 3D sparse convolution can be used to replace the original 3D convolution for feature extraction of three-dimensional point cloud data. For another example, a lighter HRNet (a 2D feature extraction network) and a more streamlined multi-layer perceptron (decoder) can be used for feature extraction of two-dimensional depth images), which significantly reduces the time cost of three-dimensional model reconstruction and improves the efficiency of three-dimensional model reconstruction. By using the spatial features in the three-dimensional point cloud data to enhance the image features of the two-dimensional depth image, while retaining local details, the network has the ability to infer the global structure of the occluded or invisible area. By fusing the fused feature data of multiple perspectives, the multi-perspective information can be used to reduce the influence of noise in a single perspective. This significantly improves the accuracy of three-dimensional model reconstruction under sparse perspective two-dimensional depth images.
[0080] In an example of the present application, a method for determining a virtual human three-dimensional model is also provided. Figure 3 As shown, the determining the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data includes:
[0081] Step 201 : determining the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth image based on the three-dimensional point cloud data.
[0082] First, a projection point of the coordinate point on the two-dimensional depth image is determined, and then a depth value of the projection point is determined based on the two-dimensional depth image, and the depth value of the projection point is used as the projection value of the coordinate point on the two-dimensional depth image.
[0083] It should be noted that the depth of a coordinate point refers to the distance between the coordinate point and the two-dimensional depth image.
[0084] Step 202: Determine relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point.
[0085] Specifically, the relative depth feature data of the coordinate point can be determined based on the following formula :
[0086]
[0087] in, is the coordinate point The projection value on the two-dimensional depth image, is the coordinate point Depth.
[0088] In an example of the present application, a method for determining a virtual human three-dimensional model is also provided. Figure 4 As shown, the step of fusing the fused feature data of the coordinate point in each two-dimensional depth image includes:
[0089] Step 301 : determining the weight of each two-dimensional depth image of the coordinate point based on relative depth feature data of the coordinate point in each two-dimensional depth image.
[0090] The coordinate point can be determined by the following formula The weights of a 2D depth image :
[0091]
[0092] in, is the number of input perspectives (i.e. the number of 2D depth images), For the The weight coefficients of the two-dimensional depth image, The coordinate point is Relative depth feature data in a two-dimensional depth image, For the The weight coefficients of the two-dimensional depth image, The coordinate point is The relative depth feature data in the two-dimensional depth image, the weight coefficients are all preset coefficients. The calculation process is essentially similar to normalization. The sign of is related to the absolute value. The sign of is positive, indicating that the spatial point is visible from this perspective. At this time, the corresponding feature data is more valuable for reference. Therefore, the corresponding weight coefficient needs to be set higher. The smaller the absolute value of the viewing angle is, the more reliable the coordinate point information provided is. Therefore, the corresponding weight coefficient needs to be set higher.
[0093] Step 302: determine the multi-view fusion feature data of the coordinate point through the multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fusion feature data of the coordinate point in each two-dimensional depth image.
[0094] Specifically, the multi-view fusion feature data of the coordinate point can be determined by the following formula :
[0095]
[0096] in, is a multi-head attention mechanism, The coordinate point The weights of a 2D depth image, The coordinate point is The fused feature data in the two-dimensional depth image.
[0097] In the above scheme, by determining the weights of each two-dimensional depth image of the coordinate point, and then inputting the weights of each two-dimensional depth image of the coordinate point and the fusion feature data of the coordinate point in each two-dimensional depth image into the multi-head attention mechanism, the multi-view fusion feature data is finally output. The multi-view fusion feature data can simultaneously contain local and complete information in the two-dimensional depth images of multiple perspectives, further improving the accuracy of three-dimensional model reconstruction.
[0098] In an example of the present application, a method for determining a virtual human three-dimensional model is also provided. Figure 5 As shown, the method also includes:
[0099] Step 401, based on the relative depth feature data of the multiple coordinate points in multiple two-dimensional depth images, remove invalid coordinate points from the multiple coordinate points to obtain multiple target coordinate points, wherein the invalid coordinate points are coordinate points outside the target object determined based on the relative depth feature data.
[0100] After determining the relative depth feature data of the coordinate points in each two-dimensional depth image, the coordinate points can also be screened based on the relative depth feature data. The relative depth feature data contains the spatial information of the coordinate points on the two-dimensional depth image. Therefore, the relative depth feature data is used to determine that a portion of the coordinate points must be outside the target object, that is, invalid coordinate points. After removing the invalid coordinate points, the remaining coordinate points are determined as target coordinate points.
[0101] Step 402 : Fusing the frequency domain feature data, image feature data and spatial feature data of the target coordinate point in the two-dimensional depth map to obtain fused feature data of the target coordinate point in the two-dimensional depth map.
[0102] Step 403 : performing feature fusion on the fused feature data of the target coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the target coordinate point.
[0103] Step 404: input the multi-view fusion feature data of the target coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the target coordinate point.
[0104] Step 405 : determining a three-dimensional model of the target object based on the multiple target coordinate points and the occupancy value of each target coordinate point.
[0105] The subsequent processing is performed based on the target coordinate point. The subsequent processing process is the same as the processing process without filtering the coordinate point, and will not be repeated here.
[0106] In the above scheme, by filtering out some coordinate points that are definitely outside the target object through relative depth feature data, the number of coordinate points that need to be calculated in subsequent processing can be significantly reduced. This can reduce the network burden and make the network more focused on key points, thereby improving the efficiency of 3D model reconstruction and further improving the accuracy of 3D model reconstruction.
[0107] In an example of the present application, a method for determining a three-dimensional model of a virtual human is also provided, wherein the method of removing invalid coordinate points from the plurality of coordinate points based on relative depth feature data of the plurality of coordinate points in the plurality of two-dimensional depth images comprises:
[0108] If any relative depth feature data of the coordinate point in the plurality of two-dimensional depth images indicates that the coordinate point is outside the target object, the coordinate point is determined as an invalid coordinate point.
[0109] In this embodiment, whether the coordinate point is outside the target object can be determined by setting a preset range. If any relative depth feature data of the relative depth feature data of the coordinate point in multiple two-dimensional depth images is outside the preset range, the coordinate point is determined to be outside the target object.
[0110] In an example of the present application, a method for determining a virtual human three-dimensional model is also provided, the method further comprising:
[0111] When collecting the training sample set of the model, noise data is introduced to simulate the noise effect of the real depth sensor.
[0112] In this embodiment, ToF (Time of Flight, a type of depth sensor) depth sensor noise may be introduced. In other implementations, various other noise data may also be introduced.
[0113] Because the conditions for generating training sample sets of existing algorithms are too idealized, such as: setting the camera's pitch angle fixed, the distance from the person fixed, based on weak perspective projection or orthogonal projection, etc., the model obtained under such ideal data training performs poorly for actual scene data.
[0114] Therefore, by introducing a variety of different noise data when collecting training sample sets and simulating the noise effect of real depth sensors, the trained model is made more generalized and has better reconstruction effect on different actual scene data.
[0115] In order to implement the above-mentioned method for determining the virtual human three-dimensional model, Figure 6 As shown, an example of the present application provides a device for determining a three-dimensional model of a virtual human, comprising:
[0116] An acquisition module 10 is used to acquire a plurality of two-dimensional depth images of a target object and convert them into a plurality of corresponding three-dimensional point cloud data, wherein the plurality of two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of a plurality of coordinate points, and the plurality of coordinate points are created based on the target object;
[0117] A calculation module 20 is used to determine the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; perform feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth map to obtain fused feature data of the coordinate point in the two-dimensional depth map, wherein the image feature data is obtained by performing feature extraction on the two-dimensional depth map, and the spatial feature data is obtained by performing feature extraction on the three-dimensional point cloud data corresponding to the two-dimensional depth map; perform feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point; and input the multi-view fused feature data of the coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the coordinate point;
[0118] The processing module 30 is configured to determine a three-dimensional model of the target object based on the multiple coordinate points and the occupancy value of each coordinate point.
[0119] Among them, the calculation module 20 is also used to determine the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth map based on the three-dimensional point cloud data; and determine the relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point.
[0120] Among them, the calculation module 20 is also used to determine the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image; and determine the multi-perspective fusion feature data of the coordinate point through the multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fusion feature data of the coordinate point in each two-dimensional depth image.
[0121] The calculation module 20 is further used to remove invalid coordinate points from the multiple coordinate points based on the relative depth feature data of the multiple coordinate points in the multiple two-dimensional depth images to obtain multiple target coordinate points, wherein the invalid coordinate points are coordinate points outside the target object determined based on the relative depth feature data; perform feature fusion on the frequency domain feature data, image feature data and spatial feature data of the target coordinate point in the two-dimensional depth map to obtain fused feature data of the target coordinate point in the two-dimensional depth map; perform feature fusion on the fused feature data of the target coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the target coordinate point; and input the multi-view fused feature data of the target coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the target coordinate point;
[0122] The processing module 30 is further configured to determine the three-dimensional model of the target object based on the multiple target coordinate points and the occupancy value of each target coordinate point.
[0123] The calculation module 20 is further configured to determine the coordinate point as an invalid coordinate point if any relative depth feature data of the coordinate point in a plurality of two-dimensional depth images indicates that the coordinate point is outside the target object.
[0124] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0125] Figure 7 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0126] like Figure 7As shown, the electronic device 500 includes a collection device 501 and a processor 502, and the collection device 501 and the processor 502 are electrically connected;
[0127] The acquisition device 501 acquires a plurality of two-dimensional depth images of the target object and converts them into a plurality of corresponding three-dimensional point cloud data;
[0128] The processor 502 determines the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and performs high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; performs feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth map to obtain fused feature data of the coordinate point in the two-dimensional depth map; performs feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point; inputs the multi-view fused feature data of the coordinate point into a deep implicit representation network for recognition to obtain the occupancy value of the coordinate point; and determines the three-dimensional model of the target object based on the multiple coordinate points and the occupancy value of each coordinate point.
[0129] The processor 502 determines the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth map based on the three-dimensional point cloud data; and determines the relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point.
[0130] In which, the processor 502 determines the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image; and determines the multi-perspective fusion feature data of the coordinate point through the multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fusion feature data of the coordinate point in each two-dimensional depth image.
[0131] Among them, the processor 502 removes invalid coordinate points from the multiple coordinate points based on the relative depth feature data of the multiple coordinate points in the multiple two-dimensional depth images to obtain multiple target coordinate points; performs feature fusion on the frequency domain feature data, image feature data and spatial feature data of the target coordinate points in the two-dimensional depth map to obtain the fused feature data of the target coordinate points in the two-dimensional depth map; performs feature fusion on the fused feature data of the target coordinate points in each two-dimensional depth image to obtain multi-perspective fused feature data of the target coordinate points; inputs the multi-perspective fused feature data of the target coordinate points into a deep implicit representation network for identification to obtain the occupancy value of the target coordinate points; and determines the three-dimensional model of the target object based on the multiple target coordinate points and the occupancy value of each target coordinate point.
[0132] The processor 502 determines the coordinate point as an invalid coordinate point when any relative depth feature data of the coordinate point in a plurality of two-dimensional depth images indicates that the coordinate point is outside the target object.
[0133] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), integrated systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0134] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0135] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0137] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0138] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0139] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0140] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0141] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for determining a three-dimensional model of a virtual human, the method comprising: Collecting multiple two-dimensional depth images of the target object and converting them into corresponding multiple three-dimensional point cloud data, wherein the multiple two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of multiple coordinate points; Determine relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; Performing feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth image to obtain fused feature data of the coordinate point in the two-dimensional depth image, wherein the image feature data is obtained by performing feature extraction on the two-dimensional depth image, and the spatial feature data is obtained by performing feature extraction on the three-dimensional point cloud data corresponding to the two-dimensional depth image; Performing feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point; Inputting the multi-view fusion feature data of the coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the coordinate point; determining a three-dimensional model of the target object based on the plurality of coordinate points and the occupancy value of each coordinate point; The determining the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data comprises: determining the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth image based on the three-dimensional point cloud data; determining the relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point; The method of fusing the fused feature data of the coordinate point in each two-dimensional depth image includes: determining the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image; and determining the multi-view fused feature data of the coordinate point through a multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fused feature data of the coordinate point in each two-dimensional depth image.
2. The method according to claim 1, further comprising: Removing invalid coordinate points from the plurality of coordinate points based on relative depth feature data of the plurality of coordinate points in a plurality of two-dimensional depth images to obtain a plurality of target coordinate points, wherein the invalid coordinate points are coordinate points outside the target object determined based on the relative depth feature data; Performing feature fusion on the frequency domain feature data, image feature data and spatial feature data of the target coordinate point in the two-dimensional depth image to obtain fused feature data of the target coordinate point in the two-dimensional depth image; Performing feature fusion on the fused feature data of the target coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the target coordinate point; Inputting the multi-view fusion feature data of the target coordinate point into a deep implicit representation network for recognition, and obtaining an occupancy value of the target coordinate point; A three-dimensional model of the target object is determined based on the plurality of target coordinate points and the occupancy value of each target coordinate point.
3. The method according to claim 2, wherein the removing invalid coordinate points from the plurality of coordinate points based on the relative depth feature data of the plurality of coordinate points in the plurality of two-dimensional depth images comprises: If any relative depth feature data of the coordinate point in the plurality of two-dimensional depth images indicates that the coordinate point is outside the target object, the coordinate point is determined as an invalid coordinate point.
4. A device for determining a three-dimensional model of a virtual human, the device comprising: An acquisition module, used to acquire multiple two-dimensional depth images of a target object and convert them into corresponding multiple three-dimensional point cloud data, wherein the multiple two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of multiple coordinate points, and the multiple coordinate points are created based on the target object; A calculation module, used to determine relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; Performing feature fusion on the frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth image to obtain fused feature data of the coordinate point in the two-dimensional depth image, wherein the image feature data is obtained by performing feature extraction on the two-dimensional depth image, and the spatial feature data is obtained by performing feature extraction on the three-dimensional point cloud data corresponding to the two-dimensional depth image; performing feature fusion on the fused feature data of the coordinate point in each two-dimensional depth image to obtain multi-view fused feature data of the coordinate point; and inputting the multi-view fusion feature data of the coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the coordinate point; A processing module, configured to determine a three-dimensional model of the target object based on the plurality of coordinate points and an occupancy value of each coordinate point; The calculation module is further used to determine the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth image based on the three-dimensional point cloud data; and determine the relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point; The calculation module is further used to determine the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image; And based on the weight of each two-dimensional depth image of the coordinate point and the fused feature data of the coordinate point in each two-dimensional depth image, the multi-view fused feature data of the coordinate point is determined through a multi-head attention mechanism.
5. An electronic device comprising: A collection device and a processor, wherein the collection device is electrically connected to the processor; The acquisition device acquires a plurality of two-dimensional depth images of the target object and converts them into a plurality of corresponding three-dimensional point cloud data; the plurality of two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of a plurality of coordinate points; The processor determines relative depth feature data of a coordinate point in a corresponding two-dimensional depth image based on the three-dimensional point cloud data, and performs high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; The frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth image are feature-fused to obtain the fused feature data of the coordinate point in the two-dimensional depth image; the fused feature data of the coordinate point in each two-dimensional depth image are feature-fused to obtain the multi-view fused feature data of the coordinate point; the image feature data is obtained by feature extraction of the two-dimensional depth image, and the spatial feature data is obtained by feature extraction of the three-dimensional point cloud data corresponding to the two-dimensional depth image; the multi-view fused feature data of the coordinate point is input into the deep implicit representation network for recognition to obtain the occupancy value of the coordinate point; and determining a three-dimensional model of the target object based on the plurality of coordinate points and the occupancy value of each coordinate point; The determining of the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data comprises: determining the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth image based on the three-dimensional point cloud data; determining the relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point; The method of fusing the fused feature data of the coordinate point in each two-dimensional depth image includes: determining the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image; and determining the multi-view fused feature data of the coordinate point through a multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fused feature data of the coordinate point in each two-dimensional depth image.
6. A computer-readable storage medium storing a computer program, wherein the computer program is used to collect multiple two-dimensional depth images of a target object and convert them into corresponding multiple three-dimensional point cloud data; the multiple two-dimensional depth images have different viewing angles, and the three-dimensional point cloud data includes point cloud data of multiple coordinate points; Determine relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data, and perform high-frequency feature mapping on the relative depth feature data to obtain frequency domain feature data; The frequency domain feature data, image feature data and spatial feature data of the coordinate point in the two-dimensional depth image are feature-fused to obtain the fused feature data of the coordinate point in the two-dimensional depth image; the image feature data is obtained by feature extraction of the two-dimensional depth image, and the spatial feature data is obtained by feature extraction of the three-dimensional point cloud data corresponding to the two-dimensional depth image; the fused feature data of the coordinate point in each two-dimensional depth image are feature-fused to obtain the multi-view fused feature data of the coordinate point; Inputting the multi-view fusion feature data of the coordinate point into a deep implicit representation network for recognition to obtain an occupancy value of the coordinate point; and determining a three-dimensional model of the target object based on the plurality of coordinate points and the occupancy value of each coordinate point; The determining of the relative depth feature data of the coordinate point in the corresponding two-dimensional depth image based on the three-dimensional point cloud data comprises: determining the depth of the coordinate point and the projection value of the coordinate point on the corresponding two-dimensional depth image based on the three-dimensional point cloud data; determining the relative depth feature data of the coordinate point based on the depth and projection value of the coordinate point; The method of fusing the fused feature data of the coordinate point in each two-dimensional depth image includes: determining the weight of each two-dimensional depth image of the coordinate point based on the relative depth feature data of the coordinate point in each two-dimensional depth image; and determining the multi-view fused feature data of the coordinate point through a multi-head attention mechanism based on the weight of each two-dimensional depth image of the coordinate point and the fused feature data of the coordinate point in each two-dimensional depth image.
Citation Information
Patent Citations
Face virtual facelift method and apparatus
CN108447017A
Face three-dimensional reconstruction method and device, electronic equipment and storage medium
CN113343925A
