ICP algorithm-based feature point calibration method for mark-free human body upper body point cloud model

Through the iterative closest point method of the ICP algorithm, the accuracy problem of calibration of unmarked human upper body feature points in online clothing customization is solved, and the feature points required for the top pattern prototype can be accurately calibrated in daily environments, which is suitable for online clothing customization. and the field of human factors engineering.

CN118570306AActive Publication Date: 2024-08-30NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Patent Information

Application Number
CN202410571818.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-08-30
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

It is difficult to accurately calibrate the upper body feature points of the human body in online clothing customization using existing markerless human body measurement technology. Especially when using unmarked three-dimensional point cloud data obtained by ordinary depth cameras in daily environments, the measurement accuracy is low and it cannot be used in the human body. Calibrate feature points at any part.

Method used

The iterative closest point method based on the ICP algorithm is used to select the matching template model by calculating the similarity function value, perform non-rigid and rigid ICP registration, determine the location of key feature points for clothing on the upper body of the human body, and achieve feature point identification without identification. Calibration.

Benefits of technology

It improves the accuracy and flexibility of feature point calibration and can accurately calibrate the upper body feature points of the human body required for the top pattern prototype in unmarked human body 3D point cloud data obtained by untrained customers using ordinary depth cameras in daily environments. Feature points can be located at any part of the human body and are suitable for human factors engineering fields such as online clothing customization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570306A
    Figure CN118570306A
Patent Text Reader

Abstract

The invention discloses a feature point calibration method of an unmarked human body upper body point cloud model based on an ICP algorithm, and belongs to the technical field of human body parameter measurement. In a human body template model library with calibrated feature points, determining a template model by taking easily acquired parameters of a to-be-calibrated human body point cloud target model as input, and performing non-rigid ICP registration by taking the upper body of the template model as a source point cloud and the upper body of the target model as a target point cloud, so as to obtain a non-rigid ICP registration model; and determining a local source point cloud set and a local target point cloud set according to a registration result, performing rigid ICP registration, and determining a feature point set of the target model through nearest point retrieval according to the registration result. According to the method, the problem of feature point calibration of the human body point cloud model obtained by a common depth camera under the condition that a common user does not need to set identification points is solved, the feature points can be located at any part of the human body without feature information such as curvature, edge and girth, and the accuracy of feature point calibration is improved. And a technical support is provided for personalized customization in human factor engineering related fields such as online clothing customization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of human body parameter measurement, in particular to a feature point calibration method of an unmarked human upper body point cloud model based on an ICP algorithm. Background Art

[0002] The combination of the clothing industry with the Internet and the Internet of Things has enabled online sales to solve the problem of the fit of the clothing purchased by customers through new models such as virtual fitting and online customization. One of the key technologies is the measurement of human body parameters and the determination of human projection points (feature points) for clothing. Under the current mature online sales model, if the human body parameters for clothing and the location data of feature points can be provided for the convenience of customers, even if it is partial data or data with low accuracy, it can help customers choose more fitting clothing. Clothing customization services are the development trend in the clothing field. In the future, online and offline combined customization services or completely online customization services will require relatively accurate human body measurement data and feature point location data.

[0003] The acquisition of human body parameters and feature point positions cannot be separated from effective anthropometry technology. Traditional contact measurement technology is suitable for offline customization mode, but not suitable for online customization and online and offline customization. With the development of measurement technology, image processing technology, three-dimensional scanning technology and computer graphics technology, non-contact measurement technology will be the development trend of clothing customization measurement technology in the future, especially for auxiliary selection of clothing models, online and offline clothing customization, and complete online clothing customization. Sales mode that requires remote measurement operation, non-contact measurement will be an irreplaceable and effective method. Non-contact measurement technology includes two-dimensional measurement technology and three-dimensional measurement technology. The three-dimensional measurement technology has high measurement accuracy and has become a hot spot in the current research and application of anthropometry.

[0004] In order to improve the fit of customized clothing, in addition to measuring basic human parameters such as length, width and circumference, it is also necessary to obtain the following human body shape measurement and position information: the slope of special parts, the location of key feature points, the geodesic between any feature points, etc. The determination of human body feature points and the acquisition of human body parameters are complementary to each other. The methods for determining human body feature points include two categories: with-marking method and without-marking method. The with-marking method requires the measured object to wear specific clothing or place marking points at the position of the feature points of the measured object in order to accurately locate each feature point; the without-marking method does not require setting marking points on the measured object, but designs a special algorithm for the human body shape data (such as point cloud data) obtained by scanning or shooting to determine the position of the required feature points. The with-marking method can obtain relatively accurate feature point location information, but when measuring, it is necessary to place marking devices on the measured object with the same number of feature points. Generally, professional measuring personnel are required to configure the marking points, and the operation process is easy to cause discomfort to the measured object; the without-marking method is simple to operate and does not need to add additional burden to the measured person, but the measurement accuracy is relatively low.

[0005] For the measurement technology of online clothing customization, the marker-free method is obviously more suitable. The existing marker-free methods can be divided into two categories: one is to use the proportional relationship of human body parts on the body to determine the position of each feature point on the human body model; the other is to use the surface change law of the three-dimensional point cloud model or the two-dimensional image, such as curvature, normal vector, projection convex hull and other parameters, to design an algorithm to determine the position of each feature point on the human body model. The above methods have some restrictions on the feature points that can be calibrated, and cannot accurately calibrate the feature points at any position on the human body surface. Summary of the invention

[0006] The purpose of the present invention is to provide a method for calibrating feature points of a human upper body point cloud model without a logo based on an ICP algorithm in order to solve the problems existing in the prior art. The present invention is based on a human body three-dimensional point cloud model and realizes the calibration of multiple key feature points for clothing on a human upper body three-dimensional point cloud model without a logo by using an iterative closest point (ICP) algorithm twice.

[0007] The technical solution for achieving the purpose of the present invention is: a method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm, the method comprising: calculating a similarity function value in a template model library where feature points have been calibrated using easily accessible human body parameters of a target model to be calibrated; determining a matching template model by the similarity function value, applying a non-rigid ICP registration algorithm, and preliminarily determining a feature point set of the target model to be calibrated; and performing rigid ICP registration again on the local point clouds around each feature point of the template model and the target model to be calibrated to obtain feature point position information of the target model to be calibrated.

[0008] Furthermore, the method comprises the following steps:

[0009] Step 1, in a template model library of 3D human point clouds of different body types with calibrated feature points, use the easily available human body parameters of the 3D human point cloud model to be calibrated, i.e., the target model, to calculate the similarity function value and select the template model with the highest similarity;

[0010] Step 2, respectively selecting the upper body point clouds of the target model and the template model selected in step 1, and determining the sequence number of each feature point in the point cloud array on the upper body point cloud of the template model;

[0011] Step 3, using the upper body point cloud of the template model selected in step 2 as the source point cloud and the upper body point cloud of the target model as the target point cloud, perform non-rigid ICP registration to obtain the transformed source point cloud and its feature point sequence number set;

[0012] Step 4, on the source point cloud after non-rigid ICP registration obtained in step 3, find the corresponding feature point coordinates, use these coordinate values ​​as input, find the nearest point of each feature point on the target model in step 1, and obtain the feature point set of the target model preliminarily calibrated;

[0013] Step 5: for each feature point on the source point cloud after non-rigid ICP registration, select the surrounding points as the local source point cloud, and for each preliminarily calibrated feature point on the target point cloud, select the surrounding points as the local target point cloud;

[0014] Step 6: For each pair of corresponding local source point clouds and local target point clouds obtained in step 5, rigid ICP registration is performed to obtain the coordinate values ​​of each feature point on the transformed local source point cloud. Based on these coordinates, the calibrated feature point set is found on the target point cloud.

[0015] Further, the feature points calibrated in step 1 are key projection points of the upper garment design pattern prototype, including: front neck point, vertebral prominence, right shoulder and neck point, left shoulder and neck point, left breast point, right breast point, front right front armpit point, front left front armpit point, right acromion, left acromion, front fossa, center point of right acromion~right front armpit point, center point of left acromion~left front armpit point, right rear armpit point of back, left rear armpit point of back, center point of right acromion~right rear armpit point, center point of left acromion~left rear armpit point, back vest, front waistline point, right waistline point, left waistline point and back waistline point.

[0016] Furthermore, the human body parameters that are easily obtained in step 1 include any combination of the following parameters: gender, age, height, weight, chest circumference, waist circumference and hip circumference.

[0017] Furthermore, the calculation formula for calculating the similarity function value in step 1 is:

[0018]

[0019] In the formula, S is the similarity value between the template model and the target model, n is the number of human body parameters, α i represents the coefficient, p i is the i-th human body parameter of the target model, p m,i is the i-th human body parameter of template model m.

[0020] Furthermore, in step 2, the topological information of the template model point cloud and the calibrated feature point positions are used to select the upper body point cloud models of the target model and the template model, and the point set and triangular face set of the selected upper body point cloud models are subsets of the point set and triangular face set of the respective original models.

[0021] Furthermore, in step 3, for the source point cloud and the target point cloud, the distance error and the smoothing error are used to form the objective function, and the transformation matrix is ​​calculated for each pair of points to perform non-rigid ICP registration.

[0022] Furthermore, in step 4, the coordinates of each feature point are found by the serial number, and based on the coordinates of the feature points on the source point cloud, the respective nearest points are found on the target point cloud before non-rigid ICP registration to obtain a feature point set for preliminary calibration of the target model.

[0023] Furthermore, in step 5, on the target point cloud before non-rigid ICP registration, N local point clouds in N circular domains are selected as local target point cloud sets with the N feature points preliminarily calibrated as the center and r as the radius; on the source point cloud after non-rigid ICP registration, N local point clouds in N circular domains are selected as local source point cloud sets with the N feature points as the center and r as the radius, and at the same time, the coordinate values ​​of the N feature points on each local source point cloud determine their respective serial numbers on the local point cloud; wherein N is the number of feature points.

[0024] Further, step 6 comprises:

[0025] Taking the distance error as the objective function, each point cloud in the local source point cloud set is taken as the source point cloud, and the corresponding point cloud in the local target point cloud set is taken as the target point cloud, and rigid ICP registration is performed;

[0026] On each source point cloud after registration, determine the corresponding feature point coordinate value according to the sequence number of each feature point;

[0027] Based on the coordinate values ​​of the N feature points, the nearest points of each are found on the target point cloud in step 3 to obtain the final calibrated N feature point set on the target point cloud; where N is the number of feature points.

[0028] Compared with the prior art, the present invention has the following significant advantages:

[0029] (1) Based on the human body 3D point cloud model, the present invention realizes the calibration of multiple key feature points for clothing on the human upper body 3D point cloud model without identification by using the iterative closest point (ICP) algorithm twice. The present invention can solve the problem of determining the human upper body feature points required for the upper garment pattern prototype based on the unidentified human body 3D point cloud data obtained by untrained customers through ordinary depth cameras in daily environments.

[0030] (2) The feature points calibrated by the present invention can be located at any part of the human body, and do not need to have geometric features and boundary features. The flexibility of feature point calibration is greatly improved within an acceptable range of accuracy error, providing technical support for personalized customization in human factors engineering related fields such as online clothing customization.

[0031] (3) The three-dimensional point cloud model of the human body processed by the present invention can come from the scanning results of a scanning device, the calculation results of a modeling software, and the data collection results of any other video recording device, and the calibrated feature points can be extended to any part of the body.

[0032] The present invention is further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The present invention is a flow chart of a method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm.

[0034] Figure 2 Schematic diagram of the complete point cloud and 22 feature point positions of a template model in an embodiment.

[0035] Figure 3 It is a schematic diagram of the upper body point cloud and 22 feature point numbers of the template model in one embodiment.

[0036] Figure 4 Schematic diagram of a complete point cloud of a target model in one embodiment.

[0037] Figure 5 Schematic diagram of the upper body point cloud of the target model in one embodiment.

[0038] Figure 6 Schematic diagram of a target point cloud and a source point cloud (red is the source point cloud, blue is the target point cloud) after non-rigid ICP registration in one embodiment.

[0039] Figure 7 FIG. 1 is a schematic diagram of a source point cloud after non-rigid ICP registration in one embodiment.

[0040] Figure 8Schematic diagram of the location of the anterior fossa point of the source point cloud and its local point cloud after non-rigid ICP registration in one embodiment.

[0041] Fig. 9 Schematic diagram of the location of the anterior central fossa point of the target point cloud and its local point cloud in one embodiment.

[0042] Fig.10 Schematic diagram of source point cloud and target point cloud after the second rigid ICP registration of the fore-center local area with feature points in one embodiment.

[0043] Fig.11 Schematic diagram of a target model point cloud and calibrated feature points in an embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] It should be noted that if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0046] The ideal scenario for online clothing customization is that ordinary customers can use convenient terminal devices (such as mobile phones equipped with depth cameras, etc.) to obtain multiple human body three-dimensional point clouds through multi-view shooting methods with relatively loose shooting conditions, upload them to the server side of the customization platform, and obtain a complete three-dimensional point cloud model of the clothing parts by applying the splicing and optimization algorithms on the server side. The present invention is based on the three-dimensional point cloud model of the human body, and uses the iterative closest point (ICP) algorithm twice to achieve the calibration of 22 key feature points for clothing on the three-dimensional point cloud model of the upper body of the human body without identification conditions. Compared with the existing methods, the feature points calibrated by the present invention can be located at any part of the human body, and do not need to have geometric features and boundary features, which greatly improves the flexibility of feature point calibration within an acceptable range of accuracy error. The three-dimensional point cloud model of the human body processed by the present invention can come from the scanning results of the scanning equipment, the calculation results of the modeling software, and the data acquisition results of any other video recording equipment, and the calibrated feature points can be extended to any part of the body.

[0047] In one embodiment, the present invention provides a method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm, specifically comprising: in a template model library where feature points have been calibrated, using easily accessible human body parameters of a target model to be calibrated, calculating a similarity function value, determining a matching template model by the similarity function value, applying a non-rigid ICP alignment algorithm for the first time to preliminarily determine a feature point set of the target model, performing a second rigid ICP alignment on the local point clouds around the above-mentioned feature points of the template model and the target model, and obtaining accurate feature point position information of the target model to be calibrated.

[0048] Further, in one embodiment, in combination Figure 1 (The text on the left side of the arrow line in the figure represents the key data of the input or output of each step), the method specifically includes:

[0049] Step 1, in a template model library of 3D human point clouds of different body types with calibrated feature points, use the easily available human body parameters of the 3D human point cloud model to be calibrated, i.e., the target model, to calculate the similarity function value and select the template model with the highest similarity;

[0050] Here, the feature points calibrated in step 1 are 22 key projection points of the upper garment design pattern prototype, including: front neck point, vertebral ridge, right shoulder neck point, left shoulder neck point, left breast point, right breast point, front right front armpit point, front left front armpit point, right acromion, left acromion, front heart fossa, right acromion ~ right front armpit point center point, left acromion ~ left front armpit point center point, back right back armpit point, back left back armpit point, right acromion ~ right back armpit point center point, left acromion ~ left back armpit point center point, back vest, front waistline point, right waistline point, left waistline point and back waistline point. The feature points and their meanings are shown in Table 1.

[0051] Table 1 Feature points and their significance

[0052]

[0053] It should be noted that the feature points that can be determined by the present invention are not limited to the 22 feature points of the upper body, and can be any other feature points of the upper body, or feature points of any other part of the body.

[0054] Step 2, respectively selecting the upper body point clouds of the target model and the template model selected in step 1, and determining the sequence number of each feature point in the point cloud array on the upper body point cloud of the template model;

[0055] Here, the point cloud data of the model to be calibrated is obtained without special identification of the feature point positions, and the point cloud model in the template model library is a model that has been calibrated with 22 feature points using other methods.

[0056] Step 3, using the upper body point cloud of the template model selected in step 2 as the source point cloud and the upper body point cloud of the target model as the target point cloud, perform non-rigid ICP registration to obtain the transformed source point cloud and its feature point sequence number set;

[0057] Step 4, on the source point cloud after non-rigid ICP registration obtained in step 3, find the corresponding feature point coordinates, use these coordinate values ​​as input, find the nearest point of each feature point on the target model in step 1, and obtain the feature point set of the target model preliminarily calibrated;

[0058] Step 5: for each feature point on the source point cloud after non-rigid ICP registration, select the surrounding points as the local source point cloud, and for each preliminarily calibrated feature point on the target point cloud, select the surrounding points as the local target point cloud;

[0059] Step 6: For each pair of corresponding local source point clouds and local target point clouds obtained in step 5, rigid ICP registration is performed to obtain the coordinate values ​​of each feature point on the transformed local source point cloud. Based on these coordinates, the calibrated feature point set is found on the target point cloud.

[0060] Furthermore, in one of the embodiments, in step 1, when selecting the template model, the human body parameters used include (but are not limited to) all or part of the following parameters, and the basis for selection is that the corresponding parameters of the target model are easy to obtain (same gender): age, height, weight, chest circumference, waist circumference, hip circumference, thigh circumference, calf circumference, shoulder height, leg length, etc.

[0061] Furthermore, in one embodiment, the calculation formula for calculating the similarity function value in step 1 is:

[0062]

[0063] In the formula, S is the similarity value between the template model and the target model, n is the number of human body parameters, α i represents the coefficient, p i is the i-th human body parameter of the target model, p m,i is the i-th human body parameter of the m-th template model. The smaller the S value is, the higher the similarity between the target model to be calibrated and the template model is.

[0064] The S value is calculated for each template model in the model library, and the template model with the smallest S value is selected as the source model for ICP alignment.

[0065] Furthermore, in one of the embodiments, in step 2, the upper body point clouds of the human body point cloud target model and the human body point cloud template model are selected according to the topological structure of the model, the coordinate values ​​of the area where the upper body point cloud is located, and other information, as the target point cloud and source point cloud of the first non-rigid ICP registration, respectively. On the upper body point cloud model, the triangular surface information of the original point cloud model is used to calculate the upper body point set and the corresponding triangular surface set that can be retained, so that the point set and triangular surface set of the upper body model are consistent with their respective original models.

[0066] On the complete human body point cloud template model, such as Figure 2 The red asterisks in the middle indicate the positions of the 22 feature points that have been determined. The corresponding points are found on the upper body template model through the coordinates of the feature points to obtain the feature point set of the upper body template model (such as Figure 3 The numbers shown are the locations of the feature points with the corresponding numbers in Table 1. Figure 3 It is taken from Figure 2 Point cloud model upper body point cloud): The subscript i is the number of the feature point, i∈{1,2,3,…22}, and s indicates that these feature points belong to the source point cloud during ICP registration.

[0067] Furthermore, in one embodiment, in step 3, for the source point cloud and the target point cloud, the distance error and the smoothing error are used to form an objective function, and a transformation matrix is ​​calculated for each pair of points to perform non-rigid ICP registration. Specifically:

[0068] The surface composed of the source point cloud of the ICP registration algorithm with the template model is The surface composed of the target point cloud of the ICP registration algorithm with the target model is For each point in the source point cloud Find a 4×4 affine transformation matrix T i , so that the points in the source point cloud S are gradually matched to the corresponding points in the target point cloud D.

[0069] In order to measure the matching degree between the source point cloud and the target point cloud after each transformation, two types of error functions are defined, which represent the distance error of corresponding points between the source point cloud and the target point cloud and the smoothing error between adjacent points of the source point cloud.

[0070] For the distance error, the cumulative sum of the Euclidean distances between each pair of corresponding points between the source point cloud and the target point cloud is used, as shown in the following formula:

[0071]

[0072] Among them, n is the number of points in the source point cloud.

[0073] The smoothing error is the difference between the transformation matrices of adjacent points in the source point cloud, which is used to ensure that the transformation matrices of adjacent points are close. The definition of the smoothing error is as follows:

[0074]

[0075] Among them, S.ε represents the set of edges of the source point cloud, |||| F represents the F-norm, v i ,v j Represent the adjacent points i and j in the source point cloud, T i 、T j Represents the 4×4 affine transformation matrix corresponding to adjacent points i and j respectively.

[0076] Combining the above two types of errors, the definition of the objective function is as follows:

[0077] E∶=αE d +βE s

[0078] Among them, α and β are weights, indicating the importance of the two types of errors. In the application, they can be adaptively adjusted according to the characteristics of the point cloud and the effect of the registration.

[0079] Further, in one of the embodiments, in step 4, the coordinates of each feature point are obtained by the serial number, and the coordinates of the feature points on the source point cloud are used as the basis, and the nearest points of each feature point are obtained on the target point cloud before non-rigid ICP registration, so as to obtain the feature point set of the target model preliminarily calibrated (here, on the source point cloud after non-rigid ICP registration, the coordinates of 22 feature points have changed, and the serial numbers of the feature points in the point cloud array have not changed, and the coordinates of each feature point are obtained by the serial number). In step 5, on the target point cloud before non-rigid ICP registration, N pieces of local point clouds in N circular domains are selected as local target point cloud sets with the N preliminarily calibrated feature points as the center and r as the radius; on the source point cloud after non-rigid ICP registration, N pieces of local point clouds in N circular domains are selected as local source point cloud sets with the N feature points as the center and r as the radius, and at the same time, the serial numbers of each local point cloud on each local source point cloud are determined by the coordinate values ​​of the N feature points; wherein N is the number of feature points.

[0080] Specifically:

[0081] On the source point cloud after non-rigid ICP registration, 22 local point clouds are selected with the 22 feature points as the center and r as the radius, and they are used as the source point cloud set; on the target model point cloud of the upper body, the coordinate values ​​of the 22 feature points are used as input to find the 22 nearest points, which are defined as 22 approximate feature points on the target model. With these approximate feature points as the center and r as the radius, 22 local point clouds are selected on the target model and they are used as the target point cloud set.

[0082] Assume {S i} is the local source point cloud, {D i} is a local target point cloud set. The rigid ICP registration algorithm uses the same rotation and translation matrix for all points in the source point cloud of a registration process. The distance error function is used to measure the matching degree between the source point cloud and the target point cloud after each transformation, as shown in the following formula.

[0083]

[0084] Among them, r is a 3×3 rotation matrix, t is a 3×1 translation matrix, and (rt) constitutes a 3×4 affine transformation matrix X.

[0085] Further, in one embodiment, step 6 includes:

[0086] Using distance error as the objective function, taking each point cloud in the local source point cloud set as the source point cloud and the corresponding point cloud in the local target point cloud set as the target point cloud, rigid ICP registration is performed (rigid ICP registration is performed on 22 pairs of local point clouds around 22 feature points respectively);

[0087] On each source point cloud after registration, determine the corresponding feature point coordinate value according to the sequence number of each feature point;

[0088] Based on the coordinate values ​​of the N feature points, the nearest points of each are found on the target point cloud in step 3 to obtain the final calibrated N feature point set on the target point cloud; where N is the number of feature points.

[0089] Here, each point cloud in the local source point cloud set is already close to the corresponding point cloud in the target point cloud set in shape and position. These point cloud pairs are the initial state of the second rigid ICP registration. After the second rigid ICP registration of each pair of point clouds, the source local point cloud will be closer to the corresponding target point cloud in shape and position, and the sequence number of the feature points in the point cloud array has not changed. Using the sequence number of the feature point, the coordinates of the feature point (the feature point of the second preliminary calibration) are obtained in the registered source local point cloud, and the nearest point is found on the corresponding local target point cloud as the final calibrated feature point. The coordinate value of the feature point is used to search in the upper body point cloud or the whole body point cloud of the target model, and the sequence number of the feature point in the upper body point cloud or the whole body point cloud is determined, and the feature point set on the target point cloud is obtained.

[0090] In one embodiment, a feature point calibration system for an unmarked upper body point cloud model based on an ICP algorithm is provided, the system comprising:

[0091] The first module is used to calculate the similarity function value in the template model library of 3D human body point clouds of different body shapes with calibrated feature points, using the easily available human body parameters of the 3D human body point cloud model to be calibrated, i.e., the target model, and select the template model with the highest similarity;

[0092] The second module is used to select the upper body point clouds of the target model and the template model selected by the first module, and determine the sequence number of each feature point in the point cloud array on the upper body point cloud of the template model;

[0093] The third module is used to perform non-rigid ICP registration with the upper body point cloud of the template model selected in the second module as the source point cloud and the upper body point cloud of the target model as the target point cloud, so as to obtain the transformed source point cloud and its feature point sequence number set;

[0094] The fourth module is used to find the corresponding feature point coordinates on the source point cloud after non-rigid ICP registration obtained in the third module, and use these coordinate values ​​as input to find the nearest point of each feature point on the target model of the first module to obtain a feature point set for preliminary calibration of the target model;

[0095] The fifth module is used to select the surrounding points as the local source point cloud for each feature point on the source point cloud after non-rigid ICP registration, and select the surrounding points as the local target point cloud for each initially calibrated feature point on the target point cloud;

[0096] The sixth module is used to perform rigid ICP alignment on each pair of corresponding local source point clouds and local target point clouds obtained in the fifth module, obtain the coordinate value of each feature point on the transformed local source point cloud, and use these coordinates as the basis to find the calibrated feature point set on the target point cloud.

[0097] Regarding the specific limitations of the feature point calibration system for the unmarked upper body point cloud model based on the ICP algorithm, please refer to the limitations of the feature point calibration method for the unmarked upper body point cloud model based on the ICP algorithm above, which will not be repeated here. Each module in the above-mentioned feature point calibration system for the unmarked upper body point cloud model based on the ICP algorithm can be fully or partially implemented by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0098] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following is achieved:

[0099] Step 1, in a template model library of 3D human point clouds of different body types with calibrated feature points, use the easily available human body parameters of the 3D human point cloud model to be calibrated, i.e., the target model, to calculate the similarity function value and select the template model with the highest similarity;

[0100] Step 2, respectively selecting the upper body point clouds of the target model and the template model selected in step 1, and determining the sequence number of each feature point in the point cloud array on the upper body point cloud of the template model;

[0101] Step 3, using the upper body point cloud of the template model selected in step 2 as the source point cloud and the upper body point cloud of the target model as the target point cloud, perform non-rigid ICP registration to obtain the transformed source point cloud and its feature point sequence number set;

[0102] Step 4, on the source point cloud after non-rigid ICP registration obtained in step 3, find the corresponding feature point coordinates, use these coordinate values ​​as input, find the nearest point of each feature point on the target model in step 1, and obtain the feature point set of the target model preliminarily calibrated;

[0103] Step 5: for each feature point on the source point cloud after non-rigid ICP registration, select the surrounding points as the local source point cloud, and for each preliminarily calibrated feature point on the target point cloud, select the surrounding points as the local target point cloud;

[0104] Step 6: For each pair of corresponding local source point clouds and local target point clouds obtained in step 5, rigid ICP registration is performed to obtain the coordinate values ​​of each feature point on the transformed local source point cloud. Based on these coordinates, the calibrated feature point set is found on the target point cloud.

[0105] For the specific limitations of each step, please refer to the limitations of the feature point calibration method for the unmarked upper body point cloud model based on the ICP algorithm in the above text, which will not be repeated here.

[0106] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements:

[0107] Step 1, in a template model library of 3D human point clouds of different body types with calibrated feature points, use the easily available human body parameters of the 3D human point cloud model to be calibrated, i.e., the target model, to calculate the similarity function value and select the template model with the highest similarity;

[0108] Step 2, respectively selecting the upper body point clouds of the target model and the template model selected in step 1, and determining the sequence number of each feature point in the point cloud array on the upper body point cloud of the template model;

[0109] Step 3, using the upper body point cloud of the template model selected in step 2 as the source point cloud and the upper body point cloud of the target model as the target point cloud, perform non-rigid ICP registration to obtain the transformed source point cloud and its feature point sequence number set;

[0110] Step 4, on the source point cloud after non-rigid ICP registration obtained in step 3, find the corresponding feature point coordinates, use these coordinate values ​​as input, find the nearest point of each feature point on the target model in step 1, and obtain the feature point set of the target model preliminarily calibrated;

[0111] Step 5: for each feature point on the source point cloud after non-rigid ICP registration, select the surrounding points as the local source point cloud, and for each preliminarily calibrated feature point on the target point cloud, select the surrounding points as the local target point cloud;

[0112] Step 6: For each pair of corresponding local source point clouds and local target point clouds obtained in step 5, rigid ICP registration is performed to obtain the coordinate values ​​of each feature point on the transformed local source point cloud. Based on these coordinates, the calibrated feature point set is found on the target point cloud.

[0113] For the specific limitations of each step, please refer to the limitations of the feature point calibration method for the unmarked upper body point cloud model based on the ICP algorithm in the above text, which will not be repeated here.

[0114] As a specific example, in one of the embodiments, the present invention is further verified and explained in detail.

[0115] The feature point calibration method of the unmarked upper body point cloud model based on the ICP algorithm specifically includes:

[0116] Step 1: Use the female 3D human body point cloud model to calibrate the feature points. The template model library contains 55 female point cloud models of different ages and body shapes. 22 feature points of each model have been determined, such as Figure 2 This embodiment uses a 23-year-old female's three-dimensional point cloud as the target model, and the human body parameters used when selecting a similar template model are: height (P 1 ), age (P 2 ), weight (P 3 )、Chest(P 4 )、Waist circumference(P 5 )、Hip(P 6 ), whose values ​​are: 168cm, 23 years old, 66kg, 96cm, 76cm, 104cm. It should be noted that the female point cloud model selected in the embodiment is arbitrary, and the parameters used in selecting the template model are not necessarily limited to the above 6 types of human body parameters, and can be any number of human body parameters that are relatively easy to obtain or have been obtained. Substitute the above six parameters into the following formula (1), where the coefficient αi The value of is based on age in the embodiment and is assigned a value of 1. The other coefficients α i The value of is set to the quotient of the mean value of the parameter divided by the age value (rounded and can be adjusted moderately through experiments).

[0117]

[0118] After expansion, we get the equation shown in formula (2), P m,i is the corresponding parameter of the template model, and the value of m is the serial number of the template model.

[0119]

[0120] In the template model library, the human body parameters of the template model with the smallest S value are retrieved and calculated as follows: height 170cm, age 22 years old, weight 66kg, chest circumference 94cm, waist circumference 76cm, and hip circumference 103cm.

[0121] Step 2: Select the upper body point cloud model of the template model and the target model according to the area of ​​the coat pattern prototype. Figure 3 The upper body point cloud and 22 feature point numbers of the template model, the feature point set L s ={(1) front neck point, (2) vertebral prominence, (3) right shoulder and neck point, (4) left shoulder and neck point, (5) left breast point, (6) right breast point, (7) front right front axillary point, (8) front left front axillary point, (9) right acromion, (10) left acromion, (11) front fossa, (12) center point between right acromion and right front axillary point, (13) center point between left acromion and left front axillary point, (14) back right posterior axillary point, (15) back left posterior axillary point, (16) center point between right acromion and right posterior axillary point, (17) center point between left acromion and left posterior axillary point, (18) back vest, (19) front waistline point, (20) right waistline point, (21) left waistline point, (22) back waistline point}. Figure 4 is the complete point cloud of the target model, and its point density is Figure 2 The template model shown is obviously different. Figure 5 is the upper body point cloud of the target model, Figure 5 It is taken from Figure 4 The upper body part of the point cloud model.

[0122] Step 3: Figure 5 The target model shown is the target point cloud. Figure 3 The template model shown is the source point cloud, and the E defined in formula (3) is used as the objective function, where the coefficients α and β are both 1, and the non-rigid ICP algorithm is executed.

[0123] E∶=αE d +βEs (3)

[0124] in,

[0125]

[0126]

[0127] In formula (4) and formula (5), Dist represents the Euclidean distance function between two points. is the surface formed by the source point cloud, For the surface formed by the target point cloud, each point in the source point cloud T i is a 4×4 affine transformation matrix, S.ε represents the set of edges of the source point cloud, |||| F represents the F-norm.

[0128] Figure 6 This is the result of non-rigid ICP registration of the target point cloud and the source point cloud together, where the red one is the source point cloud after registration and the blue one is the target point cloud after registration. Figure 7 Display the deformed source point cloud separately for comparison Figure 7 and Figure 3 The number of points, serial numbers and definitions of triangles in the two point clouds are exactly the same, but the positions of the points have changed and the shapes are closer. Figure 5 The target point cloud is shown.

[0129] Step 4: Determine the local target point cloud set and local source point cloud set required for the second ICP registration on the target point cloud and the deformed source point cloud. Figure 7 On the source point cloud shown in the figure, 22 feature points (the point numbers are the same as Figure 3 ) as the center and r (preferably 15 mm in this embodiment) as the radius, select 22 local point clouds and use them as the source point cloud set. Figure 8 is the location of the center point of the source point cloud and the local point cloud selected with it as the center. Figure 5 On the target model point cloud shown in Figure 7 The coordinate values ​​of the 22 feature points are input, and the 22 points closest to them are found and defined as the 22 approximate feature points on the target model. With the 22 approximate feature points as the center and r (15 mm in this embodiment) as the radius, 22 local point clouds are selected on the target model and used as the target point cloud set, as shown in Fig. 9 The position of the front center point of the target point cloud and the local point cloud selected with it as the center.

[0130] Step 5: Perform a second rigid ICP registration on the corresponding point clouds in the local point cloud set. Figure 7The local source point cloud set selected with 22 feature points as the center on the source point cloud model shown is {S i},exist Figure 5 The local target cloud cluster selected with 22 approximate feature points as the center on the target point cloud model shown is {D i}. i Each local point cloud in {D i The corresponding local point cloud in} is the target point cloud, and the rigid ICP registration is performed with formula (6) as the objective function. A total of 22 rigid ICP registrations are performed to obtain 22 source point clouds S after transformation by formula (7): i '. Fig.10 This is the result of the registration of the local point cloud of the anterior heart. The red one is the source point cloud after the local area registration of the anterior heart, and the blue one is the target point cloud. The red * with a green circle in the middle is the position of the benchmark anterior heart point of the original template on the source point cloud after two ICP registrations. The blue * with a purple-red circle is the position of the preliminarily calibrated anterior heart point on the target point cloud.

[0131]

[0132] S i ′=rS i +t (7)

[0133] Among them, r is a 3×3 rotation matrix, t is a 3×1 translation matrix, Dist represents the Euclidean distance function between two points, D is a local target point cloud, and v i for each point in the local source point cloud.

[0134] Step 6, using the coordinates of the feature points on the 22 local source point clouds after the second rigid ICP registration, obtain the 22 feature point sets on the target point cloud. In the first non-rigid ICP registration process, the upper body point cloud of the human template model is the source model. After the registration is completed, its shape will be fitted to the upper body point cloud of the approximate human target model. Therefore, the position of the point cloud is changed, but the sequence number of the point remains unchanged, so the sequence number of the feature point does not change. The coordinates of the corresponding feature point can be determined using the sequence number of the feature point. After the second rigid ICP registration of the local point cloud set, the source local point cloud will be closer to the corresponding target point cloud in shape and position, and the sequence number of the feature points therein will not change. Similarly, the feature point serial number can be used to obtain the coordinates of the feature point in the registered source local point cloud, and the nearest point can be found on the corresponding local target point cloud as the final calibrated feature point. The coordinate value of the feature point can be used to search in the upper body point cloud or the whole body point cloud of the target model, so as to determine the position of the feature point in the upper body point cloud or the whole body point cloud, thus completing the calibration of the feature points of the target point cloud.

[0135] The calibration results of 22 feature points of the upper body of the unmarked target point cloud are as follows: Fig.11 As shown. In this embodiment, in order to measure the accuracy of the calibration results, the feature points of the target point cloud have also been calibrated by other methods, which are called benchmark feature points. The distance errors between the feature points calibrated by the present invention and the corresponding benchmark feature points are shown in Table 2, of which 10 points are completely consistent with the benchmark feature points, and the average distance error of 22 points is 0.81 cm. The same method was used to calibrate 36 target models, with an average distance error of 1.20 cm, and an average number of feature points that are completely consistent with the benchmark feature points of 7.6. It should be noted that the target model includes abnormal body shapes such as obesity. For example, among the calibrated feature points of 6 target models, the number of feature points that are completely consistent with the benchmark is less than or equal to 3.

[0136] Table 2 Distance error between the calibrated feature points and the corresponding reference feature points

[0137] Unit: cm

[0138] serial number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 error 0 1.50 1.86 0 1.39 1.92 1.58 1.83 0 0 0 1.01 0 1.71 1.07 1.12 0 0 1.73 0 1.18 0

[0139] The present invention can solve the problem of determining the upper body feature points required for the prototype of a top pattern based on the unmarked three-dimensional human body point cloud data obtained by an ordinary depth camera by an untrained customer in a daily environment. The feature points calibrated by the present invention do not need to have feature information such as curvature, edge, circumference, etc., and can be any feature points of any part of the human body, and can be arbitrarily specified according to application requirements. The accuracy of the feature points obtained by the present invention and the error are within a reasonable range acceptable to practical applications. Considering the convenience, effect and efficiency of the measurement method, the present method is practical and reliable in the field of fully online clothing customization or other human engineering applications. With the expansion of the scope of application, the template model library used in the present invention will be richer and more sufficient in terms of the number of models and body types, which will help improve the accuracy of feature point calibration.

[0140] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm, characterized in that: The method comprises: in a template model library with calibrated feature points, using easily accessible human body parameters of a target model to be calibrated, calculating a similarity function value; determining a matching template model by the similarity function value, applying a non-rigid ICP registration algorithm, preliminarily determining a feature point set of the target model to be calibrated; and performing rigid ICP registration again on a local point cloud around each feature point of the template model and the target model to be calibrated, to obtain feature point position information of the target model to be calibrated.

2. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 1, characterized in that: The method comprises the following steps: Step 1, in a template model library of 3D human point clouds of different body types with calibrated feature points, use the easily available human body parameters of the 3D human point cloud model to be calibrated, i.e., the target model, to calculate the similarity function value and select the template model with the highest similarity; Step 2, respectively selecting the upper body point clouds of the target model and the template model selected in step 1, and determining the sequence number of each feature point in the point cloud array on the upper body point cloud of the template model; Step 3, using the upper body point cloud of the template model selected in step 2 as the source point cloud and the upper body point cloud of the target model as the target point cloud, perform non-rigid ICP registration to obtain the transformed source point cloud and its feature point sequence number set; Step 4, on the source point cloud after non-rigid ICP registration obtained in step 3, find the corresponding feature point coordinates, use these coordinate values ​​as input, find the nearest point of each feature point on the target model in step 1, and obtain the feature point set of the target model preliminarily calibrated; Step 5: for each feature point on the source point cloud after non-rigid ICP registration, select the surrounding points as the local source point cloud, and for each preliminarily calibrated feature point on the target point cloud, select the surrounding points as the local target point cloud; Step 6: For each pair of corresponding local source point clouds and local target point clouds obtained in step 5, rigid ICP registration is performed to obtain the coordinate values ​​of each feature point on the transformed local source point cloud. Based on these coordinates, the calibrated feature point set is found on the target point cloud.

3. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: The feature points calibrated in step 1 are the key projection points of the upper garment design pattern prototype, including: front neck point, vertebral protuberance, right shoulder and neck point, left shoulder and neck point, left breast point, right breast point, front right front armpit point, front left front armpit point, right acromion, left acromion, front fossa, center point of right acromion ~ right front armpit point, center point of left acromion ~ left front armpit point, right rear armpit point of back, left rear armpit point of back, center point of right acromion ~ right rear armpit point, center point of left acromion ~ left rear armpit point, back vest, front waistline point, right waistline point, left waistline point and back waistline point.

4. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: The human body parameters that are easily obtained in step 1 include any combination of the following parameters: gender, age, height, weight, chest circumference, waist circumference, and hip circumference.

5. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: The calculation formula for calculating the similarity function value in step 1 is: In the formula, S is the similarity value between the template model and the target model, n is the number of human body parameters, α i represents the coefficient, p i is the i-th human body parameter of the target model, p m,i is the i-th human body parameter of template model m.

6. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: In step 2, the topological information of the template model point cloud and the calibrated feature point positions are used to select the upper body point cloud models of the target model and the template model. The point set and triangular face set of the selected upper body point cloud models are subsets of the point set and triangular face set of the respective original models.

7. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: In step 3, for the source point cloud and the target point cloud, the distance error and the smoothing error are used to form the objective function, and the transformation matrix is ​​calculated for each pair of points to perform non-rigid ICP registration.

8. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: In step 4, the coordinates of each feature point are found by the serial number, and based on the coordinates of the feature points on the source point cloud, the respective nearest points are found on the target point cloud before non-rigid ICP registration to obtain a feature point set for preliminary calibration of the target model.

9. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: In step 5, on the target point cloud before non-rigid ICP registration, N local point clouds in N circular domains are selected as local target point cloud sets with the N initially calibrated feature points as the center and r as the radius; on the source point cloud after non-rigid ICP registration, N local point clouds in N circular domains are selected as local source point cloud sets with the N feature points as the center and r as the radius, and at the same time, the coordinate values ​​of the N feature points on each local source point cloud determine their respective serial numbers on the local point cloud; where N is the number of feature points.

10. The method for calibrating feature points of an unmarked upper body point cloud model based on an ICP algorithm according to claim 2, characterized in that: Step 6 includes: Taking the distance error as the objective function, taking each point cloud in the local source point cloud set as the source point cloud and the corresponding point cloud in the local target point cloud set as the target point cloud, rigid ICP registration is performed; On each source point cloud after registration, determine the corresponding feature point coordinate value according to the sequence number of each feature point; Based on the coordinate values ​​of the N feature points, the nearest points of each are found on the target point cloud in step 3 to obtain the final calibrated N feature point set on the target point cloud; where N is the number of feature points.

Citation Information

Patent Citations

  • Three-dimensional human body reconstruction device and registration reconstruction method based on multi-angle depth camera

    CN116310118A

  • Human body point cloud data segmentation method based on radial basis function

    CN116452620A

  • Human body point cloud data processing method and device

    CN116563893A

  • Method and device for realizing batch extraction of anatomical characteristic parameters of human body

    CN117612676A

  • Techniques for 3-D Elastic Spatial Registration of Multiple Modes of Measuring a Body

    US20080265166A1

Cited By

  • System operation error determination method and device for rail type welding

    CN121837275A