CN105303602A - Automatic 3D human body model bone binding process and method - Google Patents

Automatic 3D human body model bone binding process and method Download PDF

Info

Publication number
CN105303602A
CN105303602A CN201510643923.3A CN201510643923A CN105303602A CN 105303602 A CN105303602 A CN 105303602A CN 201510643923 A CN201510643923 A CN 201510643923A CN 105303602 A CN105303602 A CN 105303602A
Authority
CN
China
Prior art keywords
point
point set
human body
plane
limbs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510643923.3A
Other languages
Chinese (zh)
Inventor
冷如锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rama Culture (shenzhen) Co Ltd
Original Assignee
Rama Culture (shenzhen) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rama Culture (shenzhen) Co Ltd filed Critical Rama Culture (shenzhen) Co Ltd
Priority to CN201510643923.3A priority Critical patent/CN105303602A/en
Publication of CN105303602A publication Critical patent/CN105303602A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an automatic 3D human body model bone binding process and a method. The method comprises steps that, A, a 3D human body model data file is acquired, and a point set representing a 3D human body shape is acquired; B, arms and legs identification on the 3D human body model data file is carried out to determine joint points of a human body, corresponding point sets corresponding to the arms and legs and the body are determined; and C, a center line and joints of the 3D human body model data file are positioned, two planar point sets corresponding to the two joints are determined through two joint points corresponding to the body and the arms and legs, and a center line of the body or the arms and legs is determined through the center point of the two planar point sets. According to the method, intelligible logic and concise steps are realized, automatic binding for the joint points and the center line of the arms and legs and the body of the 3D human body model can be creatively realized without complex computer software or artificial auxiliary modes.

Description

A kind of 3D automatic binding procedure of manikin bone and method
Technical field
The present invention relates to human body 3D model data collecting and application, refer in particular to the automatic binding procedure of a kind of 3D manikin bone and method.
Background technology
The develop rapidly of modern science and technology, and the technological breakthrough in the fields such as 3D data acquisition application such as 3D scanning, printing, solid foundation has been established to the application development of 3D model data, human body model data belongs to the one in 3D model data, it is widely used in clothes, animation, the field such as human engineering and medical science, it is development human body (face) pattern-recognition, high-performance apparel design (as Aero-Space clothes, diving suit), human body special equipment (human body artificial limb, personalized weaponry), and carry out the ideal tools of human engineering research; Human body 3D scanning technique obtains complete, meticulous human body model data, and it is stored in the instruments such as computing machine with the data file of certain format.
When human body 3D model data is used for animation and 3D field of play, need control 3D human movement model, existing game movie model adopts the mode of artificial modeling to obtain 3D model, as by 3dmax, maya, the softwares such as 3dbuilder obtain 3D model, again by the motion of the technical controlling 3D models such as unity3, but the object that is suitable for of this kind of technology is the 3D model obtained by artificial modeling, the movement control technology carried out for the true man's human body 3D model obtained by 3D scanning technique still belongs to blank at home, and true man's human body 3D model comprises bone and skin, move while true man's human body 3D model sport must relate to bone and skin, therefore first need to carry out binding location to the bone of true man's human body 3D model, so that its motion of subsequent control.
Summary of the invention
The technical problem to be solved in the present invention is for above-mentioned the deficiencies in the prior art, a kind of true man 3D model data obtained based on 3D body scanning techniques is provided, and locate articulation point and the four limbs of this true man 3D model, and then determine the automatic binding procedure of 3D manikin bone and the method for four limbs and trunk center line.
The technical scheme that the present invention takes is as follows: the automatic binding procedure of a kind of 3D manikin bone and method, comprise the following steps:
A. human body 3D model data file is obtained, to obtain the point set representing human body three-dimensional shape;
B. four limbs identification is carried out to human body 3D model data file, to determine the articulation point of human body, then determine four limbs and point set corresponding to trunk;
C. center line and location, joint are carried out to human body 3D model data file, so that by trunk and two articulation points corresponding to four limbs, determine two plane point sets that two joint point is corresponding, and by the central point determination trunk of two plane point sets or the center line of four limbs.
Preferably, described step B comprises the following steps:
B1. the point set in human body 3D model data file is sorted according to Z axis size;
B2. get a height value in human body 3D data file from small to large successively, obtain the plane point set at this height value place;
B3. with the boundary's point in the X-axis coordinate determination plane point set of point;
B4. by boundary's point, plane point set is divided into multiple sub-plane point set;
B5. the distance between the point calculating each sub-plane point set;
B6. repeat step B2-B5, until when the distance in step B5 equals zero, obtain the intersection point of each plane point set, this intersection point is articulation point;
B7. determine that the point set between two adjacent segment points is the point set of four limbs.
Preferably, described step C comprises the following steps:
C1. the coordinate of articulation point is determined, according to the plane point set at the height determination respective heights place of adjacent two joint point;
C2. two points that two plane point set middle distances are maximum are determined;
C3. repeat step C2 and obtain another straight line, obtain the intersection point of the straight line in this straight line and step C2, this intersection point is the central point of plane point set;
C4. repetition step C1-C3 obtains the central point in another plane point set;
C5. two central points of Connection Step C3 and step C4 obtain the center line of four limbs point set.
Beneficial effect of the present invention is:
The present invention carries out expansion research and development on the basis of 3D scanning technique, true man's human body 3D model data is obtained by 3D scanning technique, the form of this data file is obj, the storage principle of obj file is and is placed in three-dimensional system of coordinate by true man's human body 3D model, and the form being point set by this true man's human body 3D model conversation is represented, and each point that point is concentrated all has its unique three-dimensional coordinate in three-dimensional system of coordinate, therefore in fact this file be by true man's human body 3D model conversation be with coordinate point set store in a computer, so that follow-up use, true man's human body 3D model forms its outer shape structure by multiple point set formed, first the present invention obtains the true man's human body 3D model data obj file scanning and obtain, then, the point successively being got differing heights by sole to the crown is analyzed, and the articulation point in obj file is found, then by the point set corresponding to articulation point determination human limb and trunk, finally be beneficial to the plane point set that the two joint point height determination articulation point of four limbs or trunk is corresponding, the shape that this plane point set is formed is consistent with the xsect that human synovial goes out, two groups of points concentrated by millet cake of making even, each group is two points, and two groups of points are connected to form line respectively, article two, the intersection point of line can be defined as the center of this plane point set, when precise requirements is higher, multiple two groups of points like this can be got, the multiple intersection point of formation that multiple two groups of points are corresponding, these intersection points form a plane point set again, determine the center of this plane point set after the same method, this center is more close to the practical center of articulation point place plane point set, the accuracy at center can be determined according to actual needs, after obtaining the center of an articulation point plane point set, profit uses the same method and obtains the center of another articulation point, is connected at two centers, thus forms the center line of these four limbs or trunk, clear logic of the present invention, step is simplified, and proposes a kind of needs originally utilize complicated computer software or also can realize the method to true man's human body 3D model four limbs and the articulation point of trunk and the automatic binding of center line by modes such as human assistances.
Accompanying drawing explanation
Fig. 1 is steps flow chart schematic diagram of the present invention.
Fig. 2 is the idiographic flow schematic diagram of step B in Fig. 1.
Fig. 3 is the idiographic flow schematic diagram of step C in Fig. 1.
Fig. 4 is the division schematic diagram of plane point set when step B2 to step B4 has two plane point sets in Fig. 2 under highly determining situation.
Fig. 5 is the division schematic diagram of plane point set when step B2 to step B4 has three plane point sets in Fig. 2 under highly determining situation.
Fig. 6 is that in Fig. 3, articulation point place plane point set is central point determination schematic diagram.
Fig. 7 is the center line of two plane point sets in Fig. 3 and the determination schematic diagram of four limbs center line.
Fig. 8 is 3D manikin bone point set floor map of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described:
As shown in Figure 1 to Figure 3, the technical scheme that the present invention takes is as follows: the automatic binding procedure of a kind of 3D manikin bone and method, comprise the following steps:
A. human body 3D model data file is obtained, to obtain the point set representing human body three-dimensional shape;
B. four limbs identification is carried out to human body 3D model data file, to determine the articulation point of human body, then determine four limbs and point set corresponding to trunk;
C. center line and location, joint are carried out to human body 3D model data file, so that by trunk and two articulation points corresponding to four limbs, determine two plane point sets that two joint point is corresponding, and by the central point determination trunk of two plane point sets or the center line of four limbs.
Described step B comprises the following steps:
B1. the point set in human body 3D model data file is sorted according to Z axis size;
B2. get a height value (value of Z axis) in human body 3D data file from small to large successively, obtain the plane point set at this height value place;
B3. with the boundary's point in the X-axis coordinate determination plane point set of point;
B4. by boundary's point, plane point set is divided into multiple sub-plane point set;
B5. the distance between the point calculating each sub-plane point set;
B6. repeat step B2-B5, until when the distance in step B5 equals zero, obtain the intersection point of each plane point set, this intersection point is articulation point;
B7. determine that the point set between two adjacent segment points is the point set of four limbs.
Described step C comprises the following steps:
C1. the coordinate of articulation point is determined, according to the plane point set at the height determination respective heights place of adjacent two joint point;
C2. two points that two plane point set middle distances are maximum are determined;
C3. repeat step C2 and obtain another straight line, obtain the intersection point of the straight line in this straight line and step C2, this intersection point is the central point of plane point set;
C4. repetition step C1-C3 obtains the central point in another plane point set;
C5. two central points of Connection Step C3 and step C4 obtain the center line of four limbs point set.
Further, the present invention carries out expansion research and development on the basis of 3D scanning technique, true man's human body 3D model data is obtained by 3D scanning technique, the form of this data file is obj, the storage principle of obj file is and is placed in three-dimensional system of coordinate by true man's human body 3D model, and the form being point set by this true man's human body 3D model conversation is represented, and each point that point is concentrated all has its unique three-dimensional coordinate in three-dimensional system of coordinate, therefore in fact this file be by true man's human body 3D model conversation be with coordinate point set store in a computer, so that follow-up use, true man's human body 3D model forms its outer shape structure by multiple point set formed, first the present invention obtains the true man's human body 3D model data obj file scanning and obtain, then, the point successively being got differing heights by sole to the crown is analyzed, and the articulation point in obj file is found, then by the point set corresponding to articulation point determination human limb and trunk, finally be beneficial to the plane point set that the two joint point height determination articulation point of four limbs or trunk is corresponding, the shape that this plane point set is formed is consistent with the xsect that human synovial goes out, two groups of points concentrated by millet cake of making even, each group is two points, and two groups of points are connected to form line respectively, article two, the intersection point of line can be defined as the center of this plane point set, when precise requirements is higher, multiple two groups of points like this can be got, the multiple intersection point of formation that multiple two groups of points are corresponding, these intersection points form a plane point set again, determine the center of this plane point set after the same method, this center is more close to the practical center of articulation point place plane point set, the accuracy at center can be determined according to actual needs, after obtaining the center of an articulation point plane point set, profit uses the same method and obtains the center of another articulation point, is connected at two centers, thus forms the center line of these four limbs or trunk, clear logic of the present invention, step is simplified, and proposes a kind of method not needing to utilize complicated computer software can realize true man's human body 3D model four limbs and the articulation point of trunk and the automatic binding of center line originally.
Further, in obj model file, the point of the expression model that " V " starts, obtains file content after have read model file by row, finds out the row that in file, " V " starts, and splits this line character string, the coordinate of acquisition point with space, medium to be used stored in array.
Concrete file segmentation process example:
File fragment is as follows:
The file be separated after embarking on journey is as follows:
Four file fragments after segmentation:
Fragment one:
Fragment two:
Fragment three:
Fragment four:
In four file fragments above, after three fragments be exactly the X of certain point in model, Y, the coordinate figure of Z axis.
Further, as shown in Fig. 4 to Fig. 5, be the two kinds of situations occurred when determining four limbs and joint of trunk point and four limbs point set in step B of the present invention, the present invention upwards gets the point of differing heights by the sole position of true man's human body 3D model, when the leg place of model, after highly determining, this highly corresponding plane point set comprises two sub-plane point sets, as shown in Figure 4, because the plane point set starting to obtain is one group of mixing point set do not distinguished, in order to the point concentrated by this mixing point is divided to two plane point sets representing true man's human body 3D model two leg respectively, can concentrate at this mixing point and find minimum and maximum two points of X-coordinate, be respectively X2, X1, and the X-coordinate of X2 and X1 is obtained according to obj file, the mid point X3 of 2 lines is obtained according to X-coordinate, comparison is one by one carried out in the X-coordinate of each point concentrated by mixing point and the coordinate of mid point X3, if be less than X3, then belong to a plane point set, if be greater than X3, belong to another plane point set, X1 herein, X2, in fact X3 is boundary's point, when got height is positioned at trunk portion, in fact this highly corresponding plane point set comprises three sub-plane point sets, as shown in Figure 5, the plane point set starting to obtain also is mixing point set, in order to the sub-plane point set of three in this plane point set being made a distinction the point successively can got mixing point and concentrate, and by the X-coordinate record of point, analysis site concentrates the X-axis coordinate of each point, when occurring that blank point set appears in the side of a bit, determine that this point is boundary's point of whole mixing point set, obtain six boundary point X4 in this approach, X5, X6, X7, X8, X9, getting the X-coordinate point belonged between X4 to X5 location more from small to large is respectively a sub-plane point set, the point belonged between X6 to X7 location is a sub-plane point set, getting the point belonged between X8 to X9 location is a sub-plane point set, thus mixing point set is divided into three sub-plane point sets, after obtaining the point in sub-plane point set, only need from the sub-plane point set of difference, to take out 2 points respectively, and the distance calculated between 2, as long as occur that once distance is the situation of zero, then illustrate and occurred intersecting between two sub-plane point sets, namely four limbs connect, and height corresponding when therefore can determine that appearance distance is zero situation is height corresponding to articulation point, and so circulation is until determine four limbs and the joint of trunk point of human body.
Further, as shown in Figure 6 to 7, the schematic diagram that four limbs or trunk center line are determined, as shown in Figure 6, for the plane point set that articulation point is corresponding, and calculate the schematic diagram at center of this plane point set, a1 in figure, a2 is respectively the straight line formed after the two groups of points got in plane point set connect, a1, the intersection point of a2 is O1, O1 point is the central point of this plane point set, the method is the most basic, the situation that degree of accuracy is minimum, in practical situations both, desirable multiple two groups of points, thus form an intersection point, these intersection points are by constituting another plane point set, the method of getting center according to above-mentioned plane point set determines the center of this plane point set again, the center obtained is than the practical center of O1 closer to articular surface point set, recursion like this, recursion number of times can be determined needed for reality, Figure 7 shows that, determine the center O2 of the plane point set of another articulation point, and O2 and O1 is connected to form the schematic diagram of the center line r of four limbs or trunk, the center O2 defining method of the plane point set of another articulation point is consistent with preceding method, by obtaining straight line a3, a4, a3, a4 intersect at O2, and O2 is the center line of plane point set, connect O1, O2 and namely obtain center line r.
Embodiments of the invention just introduce its embodiment, do not lie in and limit its protection domain.The technician of the industry can make some amendment under the inspiration of the present embodiment, therefore all equivalences done according to the scope of the claims of the present invention change or modify, and all belong within the scope of Patent right requirement of the present invention.

Claims (3)

1. the automatic binding procedure of 3D manikin bone and a method, is characterized in that, comprise the following steps: A. obtains human body 3D model data file, to obtain the point set representing human body three-dimensional shape;
B. four limbs identification is carried out to human body 3D model data file, to determine the articulation point of human body, then determine four limbs and point set corresponding to trunk;
C. center line and location, joint are carried out to human body 3D model data file, so that by trunk and two articulation points corresponding to four limbs, determine two plane point sets that two joint point is corresponding, and by the central point determination trunk of two plane point sets or the center line of four limbs.
2. the automatic binding procedure of a kind of 3D manikin bone according to claim 1 and method, is characterized in that, described step B comprises the following steps:
B1. the point set in human body 3D model data file is sorted according to Z axis size;
B2. get a height value in human body 3D data file from small to large successively, obtain the plane point set at this height value place;
B3. with the boundary's point in the X-axis coordinate determination plane point set of point;
B4. by boundary's point, plane point set is divided into multiple sub-plane point set;
B5. the distance between the point calculating each sub-plane point set;
B6. repeat step B2-B5, until when the distance in step B5 equals zero, obtain the intersection point of each plane point set, this intersection point is articulation point;
B7. determine that the point set between two adjacent segment points is the point set of four limbs.
3. the automatic binding procedure of a kind of 3D manikin bone according to claim 1 and method, is characterized in that, described step C comprises the following steps:
C1. the coordinate of articulation point is determined, according to the plane point set at the height determination respective heights place of adjacent two joint point;
C2. two points that two plane point set middle distances are maximum are determined;
C3. repeat step C2 and obtain another straight line, obtain the intersection point of the straight line in this straight line and step C2, this intersection point is the central point of plane point set;
C4. repetition step C1-C3 obtains the central point in another plane point set;
C5. two central points of Connection Step C3 and step C4 obtain the center line of four limbs point set.
CN201510643923.3A 2015-10-09 2015-10-09 Automatic 3D human body model bone binding process and method Pending CN105303602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510643923.3A CN105303602A (en) 2015-10-09 2015-10-09 Automatic 3D human body model bone binding process and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510643923.3A CN105303602A (en) 2015-10-09 2015-10-09 Automatic 3D human body model bone binding process and method

Publications (1)

Publication Number Publication Date
CN105303602A true CN105303602A (en) 2016-02-03

Family

ID=55200819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510643923.3A Pending CN105303602A (en) 2015-10-09 2015-10-09 Automatic 3D human body model bone binding process and method

Country Status (1)

Country Link
CN (1) CN105303602A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112712578A (en) * 2020-12-31 2021-04-27 魔珐(上海)信息科技有限公司 Virtual character model creating method and device, electronic equipment and storage medium
CN112785689A (en) * 2021-01-28 2021-05-11 北京爱奇艺科技有限公司 Three-dimensional model construction method, device and system and storage medium
CN111445561B (en) * 2020-03-25 2023-11-17 北京百度网讯科技有限公司 Virtual object processing method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271589A (en) * 2007-03-22 2008-09-24 中国科学院计算技术研究所 Three-dimensional mannequin joint center extraction method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271589A (en) * 2007-03-22 2008-09-24 中国科学院计算技术研究所 Three-dimensional mannequin joint center extraction method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄三艳: "基于三维扫描的点云数据人体3D 模型骨骼提取", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445561B (en) * 2020-03-25 2023-11-17 北京百度网讯科技有限公司 Virtual object processing method, device, equipment and storage medium
CN112712578A (en) * 2020-12-31 2021-04-27 魔珐(上海)信息科技有限公司 Virtual character model creating method and device, electronic equipment and storage medium
CN112712578B (en) * 2020-12-31 2022-09-27 魔珐(上海)信息科技有限公司 Virtual character model creating method and device, electronic equipment and storage medium
CN112785689A (en) * 2021-01-28 2021-05-11 北京爱奇艺科技有限公司 Three-dimensional model construction method, device and system and storage medium

Similar Documents

Publication Publication Date Title
WO2021169839A1 (en) Action restoration method and device based on skeleton key points
CN111126272A (en) Posture acquisition method, and training method and device of key point coordinate positioning model
CN107953331B (en) human body posture mapping method applied to humanoid robot action simulation
CN107833271A (en) A kind of bone reorientation method and device based on Kinect
CN108665537A (en) The three-dimensional rebuilding method and system of combined optimization human body figure and display model
US20100156935A1 (en) Method and apparatus for deforming shape of three dimensional human body model
CN103632371B (en) Based on the bone parameters computing method of compatible mesh segmentation
CN107330903A (en) A kind of framework extraction method of human body point cloud model
CN104103090A (en) Image processing method, customized human body display method and image processing system
CN101271589B (en) Three-dimensional mannequin joint center extraction method
CN104851126B (en) Threedimensional model dividing method and device based on generalized cylinder
CN106066898A (en) Three-dimensional full-fashioned knitted sweater and method and system for generating three-dimensional knitting pattern thereof
CN104392223A (en) Method for recognizing human postures in two-dimensional video images
US20220092302A1 (en) Skeleton recognition method, computer-readable recording medium storing skeleton recognition program, skeleton recognition system, learning method, computer-readable recording medium storing learning program, and learning device
CN105303602A (en) Automatic 3D human body model bone binding process and method
CN109741371A (en) A kind of human action based on inertial sensor describes method
JP7014304B2 (en) Recognition method, recognition program, recognition device and learning method
CN105608737A (en) Human foot three-dimensional reconstruction method based on machine learning
CN105243137B (en) A kind of three-dimensional model search viewpoint selection method based on sketch
CN108846348A (en) A kind of Human bodys' response method based on three-dimensional skeleton character
CN110179192A (en) A kind of measuring system and its measurement method of human 3d model
CN102682473B (en) Virtual clothing real-time physical modeling method
CN115115604A (en) Method, device and system for extracting three-dimensional coordinates of center line of linear laser stripe
CN105955458A (en) Method and device for generating feedback force
CN109191559A (en) Manikin method for building up based on depth transducer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160203