Facial automatic binding method for performing accurate skin decomposition from 4D expression

By designing an energy function that combines normal vectors and vertex position reconstruction errors in skin decomposition, and using Einstein's summation convention and machine learning methods, the curvature anomaly and slow calculation speed in automatic facial binding in the existing technology are solved. problem, achieving a more efficient and realistic facial binding effect.

CN118587335APending Publication Date: 2024-09-03BEIJING INST OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410727305.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing technology fails to fully consider the curvature and subtle changes of the mesh surface in automatic facial binding that decomposes skin from 4D expressions, resulting in unexpected wrinkles when reproducing expressions, affecting visual realism and lifelikeness. At the same time, due to the large memory usage of intermediate variables during the calculation process, the solution time is long, and the efficiency improvement is limited.

Method used

Design an energy function that combines the normal vector and vertex position reconstruction error to update the character binding weight, optimize the joint transformation matrix update through the Einstein summation convention, combine the machine learning method for weight update, and use the Pytorch library for GPU calculation to avoid Additional intermediate variables improve computational efficiency.

Benefits of technology

It achieves more natural and realistic facial expression reproduction, avoids abnormal surface curvature, significantly improves binding calculation efficiency, and improves the accuracy and speed of automatic facial binding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587335A
    Figure CN118587335A
Patent Text Reader

Abstract

The invention provides an automatic face binding method for performing accurate skin decomposition from 4D expressions, and aims to solve the problems that an existing automatic face binding scheme based on skin decomposition is poor in sense of reality and limited in calculation speed, and more accurate and efficient high-fidelity automatic face binding is realized. The method mainly comprises the steps of joint initialization, skin decomposition and facial component migration. Wherein in the skin decomposition link, an energy function combining a normal vector and a vertex position reconstruction error is designed to carry out role binding weight updating.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an automatic facial binding method for performing accurate skinning decomposition from 4D expressions, and belongs to the field of facial expression processing. Background Art

[0002] At present, a study has proposed an automatic high-fidelity facial binding method for skinning decomposition from 4D expressions. This method uses a predefined binding template and the character's 4D expression as input, uses the prior knowledge of template binding to initialize joints and migrate facial components, and optimizes the character's binding weights and the joint transformation matrix that reproduces 4D expressions through staggered iterations. This method performs skinning decomposition by minimizing the reconstruction error of vertex positions, and additionally adds soft constraints on joint positions to limit joint positions and hard constraints with sparse distribution of fixed weights to ensure that joints only affect a small neighborhood of the head mesh. In order to further improve the binding efficiency, this method uses GPU expression parallelism and CPU vertex parallelism strategies to update joint transformation matrices and weights respectively. Experiments show that this method can automatically generate high-fidelity facial bindings and ensure the correctness of joint positions and weight distribution.

[0003] Existing technical research only designs the energy function for weight update based on the reconstruction error of the expression mesh vertex position, and fails to fully consider the curvature and subtle changes of the mesh surface, which easily causes unexpected wrinkles when reproducing expressions, thus affecting visual authenticity and realism. In addition, although this research provides acceleration strategies for GPU expression parallelism and CPU vertex parallelism, it fails to fundamentally solve the problem of long solution time caused by large memory usage of intermediate variables in the calculation process. When faced with binding solution of a large number of input expressions, the efficiency improvement is limited. Summary of the invention

[0004] The present invention aims to solve the problems of lack of realism and limited solution speed in the existing facial automatic binding solutions based on skinning decomposition, to achieve more accurate and efficient high-fidelity facial automatic binding, and to propose a facial automatic binding method for accurate skinning decomposition from 4D expressions.

[0005] The technical solution for implementing the present invention is as follows:

[0006] A facial automatic binding method for accurate skinning decomposition from 4D expressions mainly includes joint initialization, skinning decomposition and facial component migration. In the skinning decomposition stage, an energy function combining normal vector and vertex position reconstruction error is designed to update the character binding weight.

[0007] Furthermore, the energy function of the joint normal vector and vertex position reconstruction error of the present invention is:

[0008] E B=E M +γE N

[0009]

[0010] in, is the input k-th character expression grid {v k :k=1...s}, the unit normal vector of the fth face, It means that the character neutral mesh u uses the character binding weight w u and the joint transformation matrix {R, T} to reproduce the unit normal vector of the fth face of the kth expression. h is the total number of mesh triangles, and u is i is the position of the i-th vertex with neutral expression, γ is the set regularization coefficient, The k-th character expression mesh v is input k The position of the i-th vertex, Bind weights to the roles. is the transformation matrix of the joint. m is the total number of vertices, and n is the total number of joints indexed by j.

[0011] Furthermore, in the skinning decomposition step, the specific process of updating the weights is as follows:

[0012] Step 1: Triangulate the template mesh, and all normals after triangulation are facing the outside of the model surface;

[0013] Step 2: For each vertex of the mesh, construct the triangle face index matrix associated with the vertex;

[0014] Step 3: Based on the index matrix, calculate the normal vectors of all triangles associated with the vertex;

[0015] Step 4: Calculate the objective function using the joint transformation matrix, vertex initial weights, all vertex positions of the neutral expression mesh, the positions of the currently optimized vertices in all expressions, and the face normal vectors of all expressions associated with the currently optimized vertex. Then input it into the scientific computing library for solving and update the vertex weights in turn.

[0016] Furthermore, before executing step three, the present invention moves the vertex order of the currently optimized vertex in its associated surface so that the vertex is the second one in the three vertex orders of the associated surface.

[0017] Furthermore, in the skin decomposition step, the present invention uses a machine learning method to update the weights, and the specific process is as follows:

[0018] Step 1: Transform and preprocess the weight constraints in the skin decomposition. and Using the Softmax function, the constraints This is achieved by extracting non-zero values ​​in the weight matrix for updating;

[0019] Step 2: Based on step 1, complete the constraint transformation and preprocessing, and use the Pytorch optimizer to update the weights on the GPU.

[0020] Furthermore, the present invention utilizes the Einstein summation convention to implement joint transformation matrix update.

[0021] Furthermore, in the skinning decomposition link, the present invention uses the einsum function of the Pytorch library to perform joint transformation matrix update operations.

[0022] Beneficial Effects

[0023] First, the present invention is a further optimization of the current facial automatic binding solution for skinning decomposition from 4D expressions. In terms of solution accuracy, the present invention adds a face normal vector consistency constraint to the skin weight update link, and solves the problem of unexpected internal wrinkles and curvature abnormalities in the binding solution of the original solution during deformation from the perspective of objective function design.

[0024] Second, the present invention provides two ideas for solving the objective function combined with the normal vector constraint. Experimental results show that the binding solved by the solution of the present invention can reproduce the input expression more naturally and realistically.

[0025] Third, in terms of calculation speed, the present invention proposes to use the Einstein summation convention to perform large-scale tensor operations, which solves the problem of slow calculation speed caused by insufficient memory due to a large number of intermediate variables. Experimental results show that the present invention achieves a significant increase in the update speed of the joint transformation matrix and improves the efficiency of binding calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0027] Figure 1 It is a schematic diagram of the algorithm framework in the prior art;

[0028] Figure 2 This is a schematic diagram of offset scaling;

[0029] Figure 3 This is a schematic diagram of the framework of the application method;

[0030] Figure 4A schematic diagram showing the comparison of binding solution results of different schemes to a certain input expression;

[0031] Figure 5 Schematic diagram of vertex position error of a certain input expression reproduced by binding solution results of different schemes;

[0032] Figure 6 Schematic diagram of the unit normal vector error of a certain input expression reproduced by binding solution results of different schemes. DETAILED DESCRIPTION

[0033] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0034] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.

[0035] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0036] Since the present invention is an improvement on the existing automatic facial binding solution based on skin decomposition, the framework of the existing solution is briefly introduced first.

[0037] The input of this solution is a predefined rig template and the actor's 4D facial expressions, including neutral expressions, and a set of arbitrary expressions. "4D expressions" refers to using not only the static facial expressions of the actor, but also the dynamic changes of the expressions during the rendering process. In addition, it is necessary to ensure that the mesh topology and orientation of all character expressions are consistent with the head mesh of the rig template. The output includes not only the linear blend skinning weights of the actor's head mesh and the joint positions to reproduce all 4D expressions, but also other facial components such as teeth and eyes.

[0038] like Figure 1 As shown, the algorithm framework consists of three steps: joint initialization, skinning decomposition, and facial component migration.

[0039] The input facial 4D expression includes the character's neutral expression u and any other expression {v k :k=1...s}, each expression has m vertices. The kth expression {v k :k=1...s}The i-th vertex is The reference template mesh g is bounded by n joints, which are indexed by j, and the initial positions of the template joints are represented by b. g The initial position of the character joint calculated based on the offset scaling is represented by b u The skin weights of the template and the character are represented by w g and w u Indicates. u w g is the initial value. ij Denotes the weight of the jth joint to the ith vertex. Deformed from neutral expression u to kth expression v k The transformation matrix of the j-th joint is The binding weight of the character w u and the joint transformation matrix {R, T} are updated alternately until the maximum number of iterations specified by the user or the model fitting term E is reached. M Convergence. M The detailed definition of is given in formula (1b). The facial component c of the template neutral mesh g The facial components of the neutral mesh of the character are deformed based on the radial basis function to fit the character mesh. u express.

[0040] Joint initialization. Figure 2 As shown in Figure 1, this study uses "offset scaling" to calculate the joint positions of the character head mesh. Given a template neutral mesh g, traverse to obtain the vertex index closest to the joint and the offset between the two. Combine the scale factor λ of the bounding box between the template neutral mesh g and the target neutral mesh u to calculate the initial position b of all joints of the target neutral mesh u In addition, the expected joint positions of other input expressions It is also calculated in a similar way to constrain the update of the joint transformation matrix in the skinning decomposition step.

[0041] Skin decomposition. Skin decomposition is a key step in facial binding because it determines whether the character's head mesh can be driven into various expressions. This study improves the idea of ​​classic skin decomposition to solve the character's facial skin weights. The energy function designed in this study is shown in formula (1a). Soft constraints are imposed on the basis of vertex position reconstruction errors to determine the update of the joint transformation matrix. β is used to balance E M and E J As β increases, the actual joint position corresponding to the kth expression Deviation from expected joint position It is worth noting that the expected joint positions have been calculated in the joint initialization step.

[0042] E=E M +βE J (1a)

[0043] in,

[0044]

[0045] Limited by,

[0046]

[0047]

[0048] As shown in formula (1f), in order to improve the calculation speed and ensure that each joint only controls the vertices in the local area of ​​the head mesh, this study designed a fixed sparse distribution constraint as shown in formula (1f).

[0049] First, the template weights are used as the initial weights of the character model to accelerate convergence.

[0050] Secondly, only when When it is not equal to zero, the weight Only participate in the update process; otherwise, in the entire iteration process Keep it to zero. This constraint can avoid the error that the movement of a single joint will cause the vertices in multiple areas of the head mesh to move. The above energy function (1a) is used to update the weights; during the weight update, the joint transformation matrix remains unchanged. Since there is no weight term in equation (1c), only equation (1b) and constraints (1d), (1e), and (1f) need to be considered for optimization.

[0051] Facial component migration. In addition to the binding of the head mesh, the facial components also need to be adjusted when the character changes. This study uses radial basis functions (RBF) to migrate these components. By selecting control points on the template's head mesh, the Gaussian function is integrated into the radial basis function to calculate the deformation of the components from the template to the specific character.

[0052] The present invention is based on the above existing solutions and is optimized in two aspects: Figure 3 shown.

[0053] First, unlike the prior art which uses the same energy function (i.e., objective function) (Formula 1a) to update the joint transformation matrix and weights, the present invention uses the prior art energy function (Formula 1a and Formula 1b) to update the joint transformation matrix, but updates the weights by designing an energy function (Formula 3a) of the joint normal vector (Formula 3c) and the vertex position reconstruction error (Formula 3b) to improve the precision and realism of the solution bound to the expression reproduction.

[0054] The second aspect is to use the Einstein summation convention to avoid the generation of additional intermediate variables in the calculation process, reduce memory usage, greatly increase the number of input expressions that can be processed simultaneously, and improve computing efficiency.

[0055] This application combines normal vector constraints to perform skin decomposition

[0056] The existing technology can realize high-fidelity automatic facial binding, but unexpected wrinkles may appear when reproducing the input expression, affecting the realism of facial binding during animation production. Based on the original solution, the present invention adds normal vector constraints in the skinning decomposition link to achieve more accurate skinning decomposition, so as to improve the quality of facial binding.

[0057] The objective function E of the transformation matrix update A The objective function E of the original solution is consistent with that of the original solution, as shown in formula (2a).

[0058] E A =E M +βE J (2a)

[0059] in,

[0060]

[0061] Limited by,

[0062] When the weight is updated w u Still with w g is the initial value. The present invention changes the original weight optimization energy function (Formula 1a) into E B As shown in (Equation 3a), energy E = E M +βE J E J Replace with E N , in E N middle is the input k-th character expression grid {v k :k=1...s}, the unit normal vector of the fth face, is the role binding weight w uThe function refers to the character neutral mesh u using the character binding weight w u The joint transformation matrix {R, T} is deformed to reproduce the unit normal vector of the fth face of the kth expression. It is worth noting that since the skinning decomposition algorithm is solved through staggered iteration, in the weight update link, the joint transformation matrix {R, T} remains fixed and the character binding weight w u is the only variable that needs to be optimized.

[0063] E B =E M +γE N (3a)

[0064] in,

[0065]

[0066] Limited by,

[0067]

[0068]

[0069] The prior art is a simple constrained linear least squares problem when updating weights, which can be solved using the OSQP library. However, the solving accuracy of the solving library is limited, and it is difficult to directly apply it to the complex problem with normal vector soft constraints after the improvement of the embodiment of the present application. Therefore, the present invention provides two ways to optimize this type of problem.

[0070] The first approach is to update the weights based on scientific computing libraries such as SciPy. Considering that the variable dimension of high-fidelity facial skin weights is large, the embodiment of the present application designs a vertex-by-vertex strategy to update the weights. Specifically, it includes the following four steps.

[0071] Step 1: Triangulate the template mesh, and all normals after triangulation are facing the outside of the model surface;

[0072] If the template mesh with good topology is composed of triangles, quadrilaterals, etc., in order to unify the optimization function, the mesh needs to be triangulated first. It is worth noting that it is necessary to ensure that all normals after triangulation are also facing the outside of the model surface to prevent the constraints from being correctly implemented.

[0073] Step 2: For each vertex, construct the triangle face index matrix associated with the vertex.

[0074] Since the weight update is performed on a vertex-by-vertex basis, each vertex only needs to consider whether the normal vector direction of the triangle face associated with the vertex can have the minimum reconstruction error when updating the weight. The calculation speed can be accelerated by constructing an index matrix of the triangle face associated with the vertex to identify the relationship between the vertex and the face.

[0075] Step 3: Based on the index matrix, calculate the normal vectors of all triangular faces associated with the vertex.

[0076] In order to facilitate the unified calculation of the normal vectors of all triangular faces associated with the vertex, the vertex order of the currently optimized vertex in its associated face can also be moved, for example, so that the vertex is the second of the three vertices in the associated face, thereby reducing the difficulty of calculating the face normal vector constraint. After reconstructing the vertex order in the associated face, the normal vector of the face associated with the vertex is calculated.

[0077] Step 4: Calculate the objective function (i.e., energy function) using the joint transformation matrix, initial vertex weights, positions of all vertices in the neutral expression mesh, positions of the currently optimized vertices in all expressions, and face normal vectors of all expressions associated with the currently optimized vertices. Then, input the SciPy library and other scientific computing libraries for solution, and update the vertex weights in sequence. It is worth noting that when solving, calculating the gradient is not a must. After testing, the solution accuracy of the two methods is very similar.

[0078] The second approach is to use an optimizer to update the weights. This approach generally requires a given initial learning rate, but can be more easily implemented on the GPU and has a faster solution speed. For example, Pytorch's Adam optimizer can be used to implement the update of facial skin weights on the GPU. Specifically, it includes the following two steps.

[0079] Step 1: Ensure hard constraints on weight updates through preprocessing.

[0080] Unlike scientific computing libraries, most current optimizers do not directly support solving optimization problems with complex constraints, so the hard constraints of equations (3d), (3e), and (3f) need to be transformed and preprocessed to ensure that the weights updated by the optimizer meet the requirements. The constraint of equation (3f) can be simply implemented by extracting the non-zero values ​​in the weight matrix for updating. The constraints of equations (3d) and (3e) can be implemented using the Softmax function. The Softmax function can transform any set of variables into a probability distribution, which means that all output values ​​are between 0 and 1 and the sum is 1. At the same time, Softmax can be solved by the inverse function, which ensures that it is possible to optimize from the initial value of the weight.

[0081] Step 2: Use the Pytorch optimizer to update on the GPU. Using the Adam optimizer to optimize the weights is a feasible solution. You only need to give the initial learning rate each time the weight is updated to achieve the update of the weights.

[0082] The present invention experimentally verifies the two solution approaches of the proposed solution and compares them with the original solution that only considers the vertex position reconstruction error. The present invention performs facial automatic binding calculations on a character and finds that when gama=5, the objective function can achieve a better trade-off between the reconstruction of vertex position and normal vector direction. It is worth noting that Figures 4 to 6 The first column is the binding solution of the original solution using the SciPy scientific computing library, which does not contain the constraint on the surface normal vector (gama=0); Figures 4 to 6 The rightmost column is the solution result using the OSQP library proposed in the original solution.

[0083] When visualizing vertex position and normal vector errors, it is found that the proportion of values ​​with larger errors is extremely small relative to values ​​with smaller errors. If linear color mapping is used directly, it is not conducive to observing the difference in errors between different schemes in reproducing expressions. Therefore, a specific value is set so that the error between the minimum error and the specific value is evenly mapped to the first 80% of the color segments, and the error between the specific value and the maximum error is evenly mapped to the remaining 20% ​​of the color segments, so as to improve the error visualization effect.

[0084] Although the present invention makes some compromises on vertex position consistency (such as Figure 5 ), but from Figure 4 It can be seen that the expressions of the two characters bound together by the solution proposed by the present invention (the second and third columns) are more natural than those of the original solution (the first and fifth columns), without obvious unexpected wrinkles. Figure 6 It can be clearly seen that both of the two implementation approaches provided in accordance with the solution proposed in the present invention achieve good control over the normal vector consistency constraint.

[0085] besides, Figure 5 Combination Figure 6 It shows that without considering the normal vector constraint, the SciPy scientific computing library can achieve higher solution accuracy than the OSQP library. This shows that using a higher-precision solution library can also make the binding result more accurate.

[0086] The present embodiment further utilizes the Einstein summation convention to achieve efficient binding solution

[0087] The existing scheme can only process a small number of expressions in each batch when updating the transformation matrix of high-fidelity faces (the batchsize is set to 9 in the existing scheme experiment, and batchsize refers to the number of expressions processed simultaneously in each batch), which greatly limits the binding solution speed. The essential reason why the number of expressions processed in each batch is small is that the intermediate variables occupy a large amount of GPU memory during large-scale tensor operations, thereby limiting the calculation speed. The Einstein summation convention can avoid creating additional intermediate tensors during tensor operations, so the present invention proposes to use the Einstein summation convention to achieve but not limited to the efficient solution of updating joints of joint transformation matrices.

[0088] In specific implementation, the present invention proposes to use the einsum function of the Pytorch library to perform operations in the transformation matrix update. The present invention conducted a comparative experiment of the two schemes on the same computer configuration, and compared the time required for a transformation matrix update under different numbers of expressions. The number of expressions tested was based on the maximum Batchsize of the original scheme as the starting point, and increased by 10 times and 100 times. In terms of parameter setting, the Batchsize of the original scheme is still set to 9. Since the scheme proposed by the present invention can accommodate the joint transformation matrix calculations of all input expressions at the same time, even if there are 900 expressions, the scheme proposed by the present invention does not need to set the Batchsize.

[0089] As can be seen from Table 1, as the number of expressions increases exponentially, the time consumed by the existing scheme for updating the joint transformation matrix also increases exponentially. The joint transformation matrix update time of the scheme proposed in the present invention is significantly shorter than the time required by the existing scheme under various orders of magnitude of input expressions, which is 7.03, 10.54 and 9.45 times faster than the existing scheme respectively.

[0090] Table 1 The time required to update the joint transformation matrix of the two schemes under different numbers of input expressions

[0091]

[0092] The present invention provides a facial automatic binding method for accurate and rapid skinning decomposition from a character's high-fidelity expression. In terms of accuracy, in response to the problems of uneven surface and abnormal curvature when reproducing input expressions in existing solutions, the present invention provides an optimization solution that can jointly consider the normal vector direction and vertex position reconstruction errors by adding face normal vector constraints, thereby achieving more realistic expression reproduction, avoiding the abnormal surface curvature phenomenon generated by existing solutions when reproducing expressions, and improving the naturalness and realism of binding for animation and rendering. In terms of solution speed, the present invention proposes to use the Einstein summation convention to realize facial automatic binding operations, avoiding the problem of slow operation speed caused by the memory usage of intermediate variables, and reducing the requirements for binding solution hardware. The present invention can be used for high-fidelity facial animation production and can be widely used in animation, film, game, education and other fields.

[0093] In general, the facial automatic binding solution proposed in the present invention can improve the quality and speed of automatic binding, improve the efficiency of animation production, and has broad application prospects in the fields of animation, film and television production, etc.

[0094] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A facial automatic binding method for accurate skinning decomposition from 4D expressions, characterized in that: The method mainly includes joint initialization, skinning decomposition and facial component migration; In the skinning decomposition stage, an energy function combining normal vector and vertex position reconstruction error is designed to update the character binding weights.

2. The facial automatic binding method for accurate skinning decomposition from 4D expressions according to claim 1, characterized in that: The energy function of the joint normal vector and vertex position reconstruction error is: AND B =And M +γE N in, is the input k-th character expression grid {v k :k=1...s}, the unit normal vector of the fth face, It means that the character neutral mesh u uses the character binding weight w u and the joint transformation matrix {R, T} to reproduce the unit normal vector of the fth face of the kth expression. h is the total number of mesh triangles, ui is the position of the i-th vertex of the neutral expression, and γ is the set regularization coefficient. The k-th character expression mesh v is input k The position of the i-th vertex, Bind weights to roles. is the transformation matrix of the joint; m is the total number of vertices, and n is the total number of joints indexed by j.

3. The facial automatic binding method for accurate skinning decomposition from 4D expressions according to claim 2, characterized in that: In the skinning decomposition stage, the specific process of weight updating is as follows: Step 1: triangulate the template mesh, and all normals after triangulation are facing the outside of the model surface; Step 2: For each vertex of the mesh, construct the triangle face index matrix associated with the vertex; Step 3: Based on the index matrix, calculate the normal vectors of all triangles associated with the vertex; Step 4: Calculate the objective function using the joint transformation matrix, vertex initial weights, all vertex positions of the neutral expression mesh, the positions of the currently optimized vertices in all expressions, and the face normal vectors of all expressions associated with the currently optimized vertex. Then input it into the scientific computing library for solving and update the vertex weights in turn.

4. The facial automatic binding method for accurate skinning decomposition from 4D expressions according to claim 3, characterized in that: Before executing step 3, the vertex order of the currently optimized vertex in its associated face is moved so that the vertex is in the second of the three vertex orders of the associated face.

5. The facial automatic binding method for accurate skinning decomposition from 4D expressions according to claim 2, characterized in that: In the skin decomposition stage, the weights are updated using a machine learning method. The specific process is as follows: Step 1: Transform and preprocess the weight constraints in the skin decomposition. and Using the Softmax function, the constraints This is achieved by extracting non-zero values ​​in the weight matrix for updating; Step 2: Based on step 1, complete the constraint transformation and parameter preprocessing, and use the Pytorch optimizer to update the weights on the GPU.

6. The facial automatic binding method for accurate skinning decomposition from 4D expressions according to claim 1, characterized in that: In the skinning decomposition phase, the Einstein summation convention is used to update the joint transformation matrix.

7. The facial automatic binding method for accurate skinning decomposition from 4D expressions according to claim 1, characterized in that: In the skinning decomposition stage, the einsum function of the Pytorch library is used to perform joint transformation matrix update operations.

Citation Information

Cited By

  • Face automatic binding method based on skin decomposition

    CN120047583A

  • A method for automatic facial rigging based on skinning decomposition

    CN120047583B