A phased 3D human body parametric reconstruction method based on single human body scan point cloud input
Through the method of staged parameter fitting and point-by-region displacement fitting, the problems of long data training time and poor visual details in the 3D human body parametric reconstruction input from static scanning point clouds are solved, and a 3D human body reconstruction with rich visual details is achieved. Effect.
Patent Information
- Application Number
- CN202210504256.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-10
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-05-10
AI Technical Summary
In the existing technology, the three-dimensional human body parametric reconstruction with static scan point cloud input requires long data training time, high hardware cost, and the visual details of the reconstruction results are poor, which cannot meet the needs of practical applications.
Using staged parameter fitting and region-by-region point-by-point displacement fitting methods, by aligning the parameterized human body template with the scanned point cloud, and optimizing the detailed areas vertex-by-vertex, the preliminary registration of the posture shape and fine-tuning of details are achieved.
Three-dimensional human body reconstruction based on a small amount of data is achieved. The visual details of the reconstruction effect are better, and the average error is less than 1cm, which improves the visualization effect.
Smart Images

Figure CN114708389B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of computer graphics, and in particular to a method and system for parameterized reconstruction of a three-dimensional human body based on static scanning point cloud input. Background Art
[0002] The parametric reconstruction technology of 3D human body plays an important role in games, animation, virtual reality, augmented reality and other fields. Compared with static reconstruction, parametric reconstruction can control the posture of the reconstruction result based on bone binding, and has a wider application space.
[0003] In traditional methods, the parametric reconstruction of static 3D data mainly relies on manual production, which has high labor costs and cumbersome processes. It requires trained professionals to fine-tune the point cloud and manually design the binding of postures and meshes to achieve the driving of static data.
[0004] As for automated reconstruction, current methods mainly take images as input.
[0005] Patents CN113570707A, CN109859296A, and CN114049435A all use two-dimensional human body images as input and use a neural network regression method to perform three-dimensional reconstruction.
[0006] Patent CN113284249A uses a graph neural network method to reconstruct a parametric human body based on multi-view image input collected by a ring camera.
[0007] Both of these methods are based on regression. Although image data is easier to obtain, it contains less three-dimensional information, so the reconstructed detail information is poorer than that of point cloud data.
[0008] In addition, in domestic and foreign papers, reconstruction methods based on static scanning point cloud input often require a large amount of data for training, which has long training time and high hardware cost. At the same time, the visual details of the reconstruction results are poor, which has great limitations in practical applications. Summary of the invention
[0009] The present invention provides a three-dimensional human body parametric reconstruction method based on a single human body scan point cloud input and a parametric human body template, which can perform human body reconstruction with good visual detail effects based on a small amount of data.
[0010] A three-dimensional human body parametric reconstruction method based on a single human body scan point cloud input and a parametric human body template, including phased parameter fitting and region-by-region point-by-point displacement fitting.
[0011] The staged parameter fitting is used to align the shape of the parameterized human body template with the shape of the human body scan point cloud, and includes the following steps:
[0012] Step 1: Divide the joints corresponding to the posture parameters of the parameterized human body template into main joints, intermediate joints, and fine joints;
[0013] Step 2: Optimize the main joints and intermediate joints, and optimize the shape parameters and rigid displacement parameters at the same time;
[0014] Step 3: Optimize the intermediate joints and fine joints, and optimize the shape parameters at the same time.
[0015] The point-by-point displacement fitting of the sub-regions is used to fine-tune the details of the parameterized human body template, and includes the following steps:
[0016] Step 1: Divide the surface of the parameterized human body template into different regions;
[0017] Step 2: Set different optimization strengths for different areas and perform vertex-by-vertex optimization.
[0018] The method of the present invention can achieve preliminary alignment of posture shape through phased parameter fitting, and achieve a reconstruction effect with an average error of less than 1 cm; and the point-by-point displacement fitting of different regions can fine-tune the details and further improve the visualization effect.
[0019] Instruction Manual
[0020] Figure 1 Schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0021] The specific embodiments of the present invention are described in detail below in combination with the technical solutions and the accompanying drawings.
[0022] S1: Obtain marker points for the input scan point cloud as an aid for subsequent methods.
[0023] In this step, the point cloud can be projected and then obtained using an image-based key point detection method (not included in the scope of this patent). The key points of the hand (including the palm and knuckles) and the key points of the face are mainly obtained. At the same time, the index of the corresponding point on the SMPLX template is determined in advance. Because the index of the corresponding point on the SMPLX template is fixed, the corresponding index value can be directly recorded for reuse for different data.
[0024] This step does not require high accuracy and completeness of key points and is only used as an aid for later optimization;
[0025] S2: Select the SMPLX model as the parameterized template and perform initial processing on the input data.
[0026] First, the unit of the data is converted to be consistent with the SMPLX template, and the difference between the maximum and minimum values in the z direction is used as a standard to scale the data to achieve a scale similar to the SMPLX template.
[0027] Then, the rough alignment of the direction is performed. The orientation difference is calculated by the left-hand connecting vector of the marked points and the left-hand connecting vector of SMPLX, and the template is rotated horizontally to roughly align the orientation.
[0028] S3: Optimize the parameters of SMPLX. The parameters of SMPLX include posture parameter θ, shape parameter β and rigid displacement t. The energy function used in the optimization is
[0029] E1(θ, β, t) = w1E p2m (θ,β,t)+w2E mmp (θ)+w3E pp (θ)+w4E lm (θ,β,t)+w5E bp (β)
[0030] where {w i |i=1,...,5} are manually set weight hyperparameters.
[0031] E p2m (points to mesh) is the template mesh M smplx = {V smplx , F smplx} and scan data grid M scan = {V scan , F scan The chamfer distance between the two meshes is the main constraint used to reduce the difference between the two meshes for alignment and is defined as follows:
[0032]
[0033] Among them, the distance dist(p1, p2) is defined as:
[0034] dist(p1, p2) = |(p1-p2)*n1|
[0035] n1 is the normal at p1, which can be calculated from the mesh surface. * represents the inner product operation. p1 and p2 are matched by the nearest point and will be recalculated in each iteration.
[0036] E mmp(max mixture prior) is a Gaussian mixture prior for postures. Its purpose is to prevent postures that are too different from the normal posture and to constrain the results of the optimization process through the existing posture distribution:
[0037]
[0038] where {c j |j=1,...,8} is the weight parameter, {G j |j=1,...,8} is a Gaussian mixture distribution, with one million posture parameters from one hundred people.
[0039] E pp (Pose prior) is a posture prior, which mainly constrains the abnormal bending of joints by penalizing the angles of certain joints.
[0040]
[0041] Where i is the joint index related to the knee joint and the elbow joint. The choice of positive and negative signs is determined by the specific joint, and an exponential function is used to add a penalty to abnormal joint postures.
[0042] E lm Landmarks are constraints imposed by landmarks. Landmarks on the hands and face are introduced to increase constraints and reduce the difficulty of the optimization problem.
[0043]
[0044] where {p i |p i ∈P landmark} is the marked point on the scan data, p i ′ is the corresponding point marked by SMPLX, c i is the weight.
[0045] E bp (body prior) is a regularization constraint on the shape parameter to prevent the shape parameter from being too large.
[0046] E bp =||β||2
[0047] During optimization, both posture parameters and shape parameters are optimized at the same time. The optimization of posture parameters adopts a phased strategy, which is broken down as follows:
[0048] Phase 1: Optimize the left and right shoulder joints, left and right hip joints, and waist joints with greater weights, optimize the left and right elbow joints and left and right knee joints with smaller weights, and fix other joints;
[0049] Phase 2: Fix the parameters of the left and right shoulder joints, left and right hip joints, and waist joints, optimize the left and right elbow joints and left and right knee joints with larger weights, and optimize other joints (such as hand joints and foot joints) with smaller weights.
[0050] That is, the pose parameters are split into multiple parts θ={θ1, θ2, θ3}, where θ1 includes the left and right shoulder joints, left and right hip joints, and waist joints, θ2 includes the elbow joints and knee joints, and θ3 includes other more detailed joints, such as hand joints and foot joints.
[0051] In the first stage of optimization, we focus on optimizing θ1, θ2, and t, with θ1 being optimized more strongly and θ2 being optimized less strongly:
[0052]
[0053] In the second stage of optimization, only θ2 and θ3 are optimized, and the optimization intensity of θ2 is larger, while the optimization intensity of θ3 is smaller:
[0054]
[0055] S4: Optimization of per-vertex displacement
[0056] Add a per-vertex displacement to the parametric template to enhance the representation of details.
[0057] When optimizing, the body is divided into four regions, and different optimization strategies are arranged for each region:
[0058] Region 0: Clothing area. Since the goal is to reconstruct the naked human body, the optimization intensity of this part is small, and the constraint template surface is inside the data; except for the hands, shoulder area and exposed skin area (two forearms and two calves), the rest is the clothing area.
[0059] Area 1: Bare skin area, the main area for optimization;
[0060] Area 2: Shoulder area. The shoulders are easily affected by the neckline and have a great impact on the visual results, so a greater degree of optimization is added;
[0061] Region 3: The hand region has many details and complex normals, so no displacement is added.
[0062] The energy function used in optimization is:
[0063]
[0064] Among them, E p2m is the chamfer distance, which is consistent with the definition in SMPLX optimization, V i are points corresponding to different regions, and w′ 11 >w′21 >w′ 01 In addition, when i is 0, only V0 in M is calculated. scan The external situation, thus constraining the reconstructed human body to remain inside the garment.
[0065] E sfn For smoothness constraints, spikes are avoided by constraining the normal differences between adjacent patches.
[0066] E lap is the laplace term, which constrains the stability of local features before and after the offset, that is:
[0067]
[0068] Where p is the SMPLX point without adding offset, p′ is the point corresponding to p after adding offset, and L(·) is the Laplace operation.
Claims
1. A 3D human body parametric reconstruction method based on a single human body scan point cloud input and a parametric human body template, characterized in that , including phased parameter fitting and point-by-point displacement fitting in different regions; The staged parameter fitting is used to align the shape of the parameterized human body template with the shape of the human body scan point cloud, and includes the following steps: Step 1: Divide the joints corresponding to the posture parameters of the parameterized human body template into main joints, intermediate joints, and fine joints; Step 2: Optimize the main joints and intermediate joints, and optimize the shape parameters and rigid displacement parameters at the same time; Step 3: Optimize the intermediate joints and fine joints, and optimize the shape parameters at the same time; The point-by-point displacement fitting of the sub-regions is used to fine-tune the details of the parameterized human body template, and includes the following steps: Step 1: Divide the surface of the parameterized human body template into different regions; Step 2: Set different optimization strengths for different areas and optimize vertex by vertex; The specific steps are as follows: S1: Obtain the marker points for the input scan point cloud as an aid for the following methods; obtain the key points of the hands and the face; at the same time, determine the index of the corresponding point on the SMPLX template in advance; S2: Select the SMPLX model as the parameterized template and perform initial processing on the input data; First, the units of the data were converted to be consistent with the SMPLX template, and the difference between the maximum and minimum values in the z direction was used as a standard to scale the data to achieve a scale similar to the SMPLX template; Then, the rough alignment of the direction is performed; the orientation difference is calculated by the left-hand connecting vector of the marked point and the left-hand connecting vector of SMPLX, and the template is rotated in the horizontal direction to roughly align the orientation; S3: Optimize the parameters of SMPLX; the parameters of SMPLX include posture parameter θ, shape parameter β and rigid displacement t; the energy function used in the optimization is E1(θ, β, t)=w1E p2m (θ, β, t)+w2E mmp (θ)+w3E pp (θ)+w4E lm (θ, β, t)+w5E bp (b) where {w i |i=1,...,5} are manually set weight hyperparameters; E p2m , points to mesh, is the template mesh M smplx = {V smplx , F smplx } and scan data grid M scan = {V scan , F scan } is the main constraint used to reduce the difference between the two meshes for alignment and is defined as follows: Among them, the distance dist(p1, p2) is defined as: dist(p1, p2) = |(p1-p2)*n1| n1 is the normal at p1, which is calculated by the mesh surface. * represents the inner product operation. p1 and p2 are matched by the nearest point and are recalculated in each iteration. E mmp , max mixture prior, is a Gaussian mixture prior for postures, which aims to prevent postures that are too different from normal postures and constrain the results of the optimization process through the existing posture distribution: where {c j |j=1,...,8} is the weight parameter, {G j |j=1,...,8} is a Gaussian mixture distribution with one million posture parameters from one hundred people; E pp , pose prior, is the pose prior, which constrains the abnormal bending of joints by penalizing the angles of certain joints; Where i is the joint index related to the knee joint and the elbow joint. The positive and negative signs are determined by the specific joints, and the exponential function is used to add penalties to abnormal joint postures. E lm ,Landmark,is the constraint brought by the annotation points; the annotation points of the hands and faces are introduced to increase the constraints and reduce the difficulty of the optimization problem; where {p i |p i ∈P landmark } is the marked point on the scan data, p′ i is the corresponding point marked by SMPLX, c i is the weight; E bp , body prior, is a regularization constraint on the shape parameter to prevent the shape parameter from being too large; E bp =||β||2 During optimization, both posture parameters and shape parameters are optimized at the same time. The optimization of posture parameters adopts a phased strategy, which is broken down as follows: Phase 1: Optimize the left and right shoulder joints, left and right hip joints, and waist joints with greater weights, optimize the left and right elbow joints and left and right knee joints with smaller weights, and fix other joints; Stage 2: Fix the parameters of the left and right shoulder joints, left and right hip joints, and waist joints, optimize the left and right elbow joints and left and right knee joints with large weights, and optimize other joints with small weights; Split the pose parameters into multiple parts θ = {θ1, θ2, θ3}, where θ1 includes the left and right shoulder joints, left and right hip joints, and waist joints, θ2 includes the elbow joints and knee joints, and θ3 includes other more detailed joints; In the first stage of optimization, we focus on optimizing θ1, θ2, and t, with θ1 being optimized more strongly and θ2 being optimized less strongly: In the second stage of optimization, only θ2 and θ3 are optimized, and the optimization intensity of θ2 is larger, while the optimization intensity of θ3 is smaller: S4: Optimization of per-vertex displacement Add a vertex-by-vertex displacement to the parametric template to enhance the performance of details; When optimizing, the body is divided into four regions, and different optimization strategies are arranged for each region: Area 0: Clothing area, except for the hands, shoulders and bare skin areas, where the bare skin areas are two forearms and two calves, and the rest are clothing areas; Area 1: Bare skin area, which is the main area for optimization; Area 2: Shoulder area; Area 3: Hand area; The energy function used in optimization is: Among them, E p2m is the chamfer distance, which is consistent with the definition in SMPLX optimization, V i are points corresponding to different regions, and w′ 11 >w′ 21 >w′ 01 ; In addition, when i is 0, only V0 in M is calculated scan external conditions, thereby constraining the reconstructed human body to remain inside the garment; E sfn To constrain the smoothness, spikes are avoided by constraining the normal difference between adjacent patches. E lap is the laplace term, which constrains the stability of local features before and after the offset, that is: Where p is the SMPLX point without adding offset, p′ is the point corresponding to p after adding offset, and L(·) is the Laplace operation.
Citation Information
Patent Citations
Training method of SMPL parameter prediction model, server and storage medium
CN109859296A
Multi-view three-dimensional human body reconstruction method and system based on graph neural network
CN113284249A
Three-dimensional human body reconstruction method and device, computer equipment and storage medium
CN113570707A
Three-dimensional human body reconstruction method and system based on Transform model
CN114049435A
Three-dimensional reconstruction method and system for combined optimization of the human body posture and appearance model
CN108665537A
