CN102622609B - Method for automatically classifying three-dimensional models based on support vector machine - Google Patents

Method for automatically classifying three-dimensional models based on support vector machine Download PDF

Info

Publication number
CN102622609B
CN102622609B CN 201210051160 CN201210051160A CN102622609B CN 102622609 B CN102622609 B CN 102622609B CN 201210051160 CN201210051160 CN 201210051160 CN 201210051160 A CN201210051160 A CN 201210051160A CN 102622609 B CN102622609 B CN 102622609B
Authority
CN
China
Prior art keywords
classification
support vector
dimensional
classifier
vector machine
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.)
Expired - Fee Related
Application number
CN 201210051160
Other languages
Chinese (zh)
Other versions
CN102622609A (en
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.)
Haian Juli Magnetic Material Co ltd
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN 201210051160 priority Critical patent/CN102622609B/en
Publication of CN102622609A publication Critical patent/CN102622609A/en
Application granted granted Critical
Publication of CN102622609B publication Critical patent/CN102622609B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for automatically classifying three-dimensional models based on a support vector machine. The method comprises the steps as follows: carrying out dimension reduction and characteristic decomposition on a geodesic distance matrix; creating binary classifiers for the characteristics of the three-dimensional models by using the support vector machine; and combining every two of the binary classifiers in a 'one-to-one' way by using the support vector machine to form a polynary classifier. According to the method, the three-dimensional models can be automatically classified, so that the robustness of the characteristic extraction process of the models is higher, the computing speed is higher, the characteristic extraction time is greatly shortened, and fewer three-dimension model training sample conditions can be well corresponded. The method has higher generalization performance and good expansion capability and non-linearity performance.

Description

Three-dimensional model automatic classification method based on support vector machine
Technical Field
The invention relates to an automatic classification method of a three-dimensional model.
Background
As a fourth generation multimedia data type following sound, image and video, a three-dimensional model is the most intuitive and expressive multimedia information. With the rapid development of laser scanning technology, three-dimensional modeling software technology and network technology, the creation and application of three-dimensional models are more and more extensive, and the resources of the three-dimensional models are more and more abundant. The increase of product types and varieties of enterprises and the expansion of product data scale enable the classification research of three-dimensional models in product design to have important theoretical and engineering significance. The shape-based three-dimensional model classification is a new research hotspot in the field of computer graphics, and is widely applied to various fields of model design of industrial products, virtual reality, simulation, 3D games, computer vision, molecular biology, three-dimensional geographic information and the like.
In the literature published at home and abroad at present, a classification method based on Bayesian aggregation is proposed in z.barutcuoglu and c.decoro, "Hierarchical mapping discovery using Bayesian aggregation", IEEE International Conference on Shapemodeling and Applications, 2006. When each class of model is classified in the hierarchical model by using a relatively independent classifier, the classification result will diverge from the "parent-child" relationship in the hierarchy. To remain consistent, a sample graph must not be classified as only one type unless the graph has been classified as a "parent" type in the hierarchy. Given the separate classifiers for an arbitrary shape descriptor, each of them is combined with the most likely inconsistent classification results, and then a set of the most consistent classification results is obtained under the framework of Bayes. Finally, the hierarchical structure is utilized to improve the precision of the whole classification result. In z.liu, j.mitani, y.fukui and s.nishihara, "A3D shape classifier with a neural network hierarchy", International Journal of Computer Applications in Technology, vol.38, No.1-3, 2010, a method for three-dimensional model classification based on supervised neural networks is proposed, which provides a three-dimensional graph classifier based on density distribution of supervised point spaces. Firstly, extracting low-order feature samples through density distribution of a feature point space, and then training a feedforward controlled neural network to learn the features, thereby obtaining an effective classifier. The classifier is divided into two stages, namely a training stage for training data and a testing stage for evaluating the classification effect. It should be noted that the precision of the classifier is not only related to the weight of each sample, but also related to the number of hidden units in the hidden hierarchy in the neural network. The number of the hidden units is different, and the classification precision is also greatly different. Therefore, it is necessary to select the most appropriate number of hidden units when training the classifier.
However, the two three-dimensional model classification methods have several disadvantages:
(1) the Bayesian aggregation-based three-dimensional model classification method mainly aims at classifying three-dimensional models belonging to a hierarchical structure, and has certain limitation and smaller application range;
(2) the three-dimensional model classification method based on the neural network cannot correspond to non-rigid deformation, and in addition, the classification precision is low.
Disclosure of Invention
In order to overcome the problems that the existing classification method is limited in classification range, cannot cope with non-rigid deformation and is low in precision, the invention provides the three-dimensional model automatic classification method, and the classification method carries out automatic classification on a three-dimensional model or a CAD model of a general object. Firstly, in order to obtain the non-rigid transformation characteristics of the three-dimensional model, the geodesic distance of any two vertexes of the three-dimensional model is calculated, and the geodesic distribution is obtained to be used as the global characteristics. The invention carries out dimension reduction and feature decomposition on a geodesic distance matrix, then utilizes a support vector mechanism to build a binary classifier of three-dimensional model features, and adopts the one-to-one pairwise combination of the support vector machine binary classifier to form a multi-element classifier. The invention can automatically classify the three-dimensional model.
The technical scheme adopted by the invention for solving the technical problem comprises the following steps:
(1) and calculating the geodesic distance of any two vertexes of the three-dimensional model. The invention obtains the global characteristics of each three-dimensional model mesh through the distance of the characteristic peak, and classifies the newly input distance characteristics by utilizing a global characteristic training classifier. The invention adopts the geodesic distance of the three-dimensional grid vertex to obtain the global characteristic of the three-dimensional shape, and the geodesic distance can not change along with the non-rigid change of bending and the like of a part of the three-dimensional shape and can not change along with rigid change. The invention converts the calculation of the geodesic distance of any two vertexes on the three-dimensional grid into a dynamic planning problem with constraints, and actually, a shortest path reaching a terminal point is dynamically planned from a starting point to obtain the length of the path, thereby obtaining the geodesic distance of any two vertexes.
(2) Dimension reduction and feature decomposition of the geodesic distance matrix. Because any two vertexes of the three-dimensional grid can form the geodesic distance matrix, and the characteristic value of the matrix represents the global characteristic of the three-dimensional grid, the invention considers the characteristic decomposition of the geodesic distance matrix. However, a large-scale three-dimensional mesh shape with a number of vertices of N1M or more will form a high-dimensional matrix of N1M, which requires O (N) for feature decomposition3) The computational complexity of (2) cannot be realized at all in a reasonable time. Therefore, the present invention has studied a dimensionality reduction method that aims to sample few representative vertices from among the large-scale vertices of a three-dimensional shape, where the low-dimensional matrix formed by the vertex geodesic distances is approximately equal to the eigen decomposition of the high-dimensional matrix formed by all the vertices, thereby avoiding the computational pressure of eigen decomposition of the high-dimensional matrix. And then further gaussing the geodesic distance, aiming at reducing the influence of longer geodesic distance on feature decomposition, enhancing the robustness of the classification method and finally performing feature decomposition on the low-dimensional matrix by adopting a Jacobi method.
(3) And establishing a binary classifier of the three-dimensional model features by using a support vector mechanism. The multi-classification problem is solved into the voting problem of a plurality of binary classifiers, and the binary classifiers are combined pairwise to form the multi-element classifier. And classifying through a binary classifier according to the extracted feature vector of the sample to realize the output of two class labels of the binary classifier. The invention constructs a binary classifier by a support vector machine method, determines parameters of the support vector machine by solving a constraint optimization problem by utilizing a Lagrange function, and simultaneously introduces a Gaussian radial basis kernel function to map a sample space to a high dimension so as to achieve linear divisibility.
(4) And synthesizing a multivariate classifier by using a binary classifier group. The invention adopts the one-to-one pairwise combination of the support vector machine binary classifiers obtained in the step (3) to form a multivariate classifier. Therefore, for the K classification problem, two training samples of the K classes are combined, L ═ K (K-1)/2 training sets can be constructed, and each pair of training sets is learned by using a binary classifier of a support vector machine, so that L binary classifiers are generated. The classification result is decided by adopting a voting method in the classification of the test sample.
The invention has the beneficial effects that:
the invention realizes an automatic classification method of a three-dimensional model, which can extract geodesic features of the three-dimensional model, adopts a support vector machine method to establish a binary classifier, and forms a multi-element classifier by a plurality of binary classifiers combined pairwise according to the 'voting method' principle, thereby realizing the automatic classification of the three-dimensional model. Firstly, the geodesic distance extracted by the method can adapt to rigid transformation and non-rigid transformation of a three-dimensional model, the robustness of the characteristic extraction process of the model is stronger, and a dynamic planning method is adopted during the calculation of the geodesic distance, so that the calculation speed is improved; secondly, the invention provides a dimension reduction method for efficiently calculating the characteristic decomposition of the geodesic distance matrix, thereby greatly shortening the time for extracting the characteristics; thirdly, the invention adopts a support vector machine method as a binary classifier, and has the advantages that 1) the method can well correspond to less three-dimensional model training sample conditions; 2) the method has stronger generalization performance and improves the classification robustness; 3) and a plurality of kernel method supports are provided, so that the classifier has good expandability and nonlinear performance. Experiments prove that the three-dimensional model automatic classifier formed by the invention has the characteristics of high classification precision and wide application range of three-dimensional models.
The invention is further illustrated with reference to the figures and examples.
Drawings
FIG. 1 is a general flow chart of an implementation of the present invention;
FIG. 2 is a method for reducing the dimension of the geodesic distance matrix according to the present invention;
FIG. 3 is a classification flow based on a support vector machine;
FIG. 4 is a simplified representation of an optimal classification surface in a support vector machine.
Detailed Description
The specific implementation steps are described in detail below with reference to the accompanying drawings.
As shown in FIG. 1, the present invention implements a general flow chart for automatic classification of three-dimensional models, which contains the major steps required to achieve the final classification. Firstly, a three-dimensional grid model is given, geodesic line distances of any two vertexes of the three-dimensional model are calculated, then dimension reduction and feature decomposition are carried out on a geodesic line distance matrix to obtain global features of the three-dimensional grid model, the features are classified by using a support vector machine to build a binary classifier, the binary classifier is combined pairwise to form a multi-element classifier by using the support vector machine binary classifier, and classification results can be obtained by using the multi-element classifier. In the testing stage, the obtained global features of the three-dimensional grid model can be input into a binary classifier and a multivariate classifier of the support vector machine for testing. Therefore, the invention can realize automatic classification of the three-dimensional model.
The specific implementation steps are described in detail below with reference to the accompanying drawings.
Firstly, the geodesic distance of any two vertexes of the three-dimensional model is calculated.
The invention assumes that the three-dimensional model to be classified is represented by polygonal meshes, and each mesh is composed of vertexes, edges and polygons according to topological relation. The invention obtains the global characteristic of each grid through the distance of the characteristic peak, and utilizes the global characteristic to train a classifier to classify the newly input distance characteristic. However, the present invention does not directly use the euclidean distance of the vertices for characterization, because the euclidean distance cannot cope with the non-rigid deformation of the three-dimensional mesh, however, many three-dimensional models have flexible transformation such as certain bending, and therefore, the euclidean distance will have poor robustness to the non-rigid transformation, and directly affect the final classification result, so that the classification accuracy of the classifier is poor. Therefore, the invention adopts the geodesic distance of the vertex to obtain the global characteristic of the three-dimensional shape, the geodesic distance can not change along with the bending of a part of the three-dimensional shape, and the distance is not changed for non-rigid transformation.
The geodesic distance of any two vertexes on the three-dimensional grid is actually a shortest path from the starting point to the end point by dynamic planning. Any two adjacent vertexes, namely vi and vj, exist on the path of the starting point and the end point, and the shortest path of the starting point and the end point can be expressed into an optimization problem by a formula:
min Σ i , j | v i - v j |
according to the invention, the geodesic distance between any two points of the three-dimensional grid is calculated by solving the optimization problem. The method comprises the following steps:
let the starting vertex be v0The terminating vertex is vn. Each vertex v on the path from the starting point to the end pointiRecording the geodesic distance d to the starting pointiWherein d isie.R is from the starting vertex v0To an arbitrary vertex viLength of the shortest path of (2). v. ofi-1Is v isiAnd connecting adjacent three-dimensional grid vertexes, wherein the distance of the adjacent three-dimensional grid vertexes is measured by Euclidean distance. The expression of the optimization problem is as follows:
d0=0
di=min(di-1+||vi-1-vi||)
the invention adopts a dynamic planning method and an iterative planning mode to ensure that the path of each step is shortest, and a final result is dynamically planned. The dynamic planning process is implemented using width searches, i.e., each search traverses the k-neighbors of the three-dimensional mesh vertices. The invention adopts the adjacent storage list of the vertex, the edge and the polygon to realize the three-dimensional mesh topological structure, and establishes the adjacent list of the vertex, the adjacent list of the edge and the adjacent list of the polygon in the three-dimensional mesh reading process. Therefore, the traversal of k-neighbors only needs the time complexity of O (1), and the traversal speed can be ensured to be fast enough, so that the dynamic programming speed is increased. In addition, in order to further increase the planning speed so as to deal with the large-scale three-dimensional mesh, the invention adds two constraint conditions in the dynamic planning process, namely the vertices of the three-dimensional mesh meeting the constraint conditions are traversed preferentially.
The first constraint is
(vi-vs)·(vt-vs)>0
The constraint essentially stipulates the planning direction (v) for each dynamic planningi-vs) And the starting point to the end point direction (v)t-vs) And (5) the consistency is achieved. The direction is a preferential planning direction, once the terminal point is reached, the planning can be stopped, the speed of dynamic planning can be greatly increased by increasing the constraint condition, and the calculation speed of the geodesic distance between any two points is ensured to be highAnd (4) accelerating.
The second constraint is
d(vi,vs)≥||vt-vs||2
This constraint ensures that, during traversal, the geodesic distance d (v) of the two verticesi,vs) Must be greater than the European distance v of starting and ending pointt-vs||2. Because the Euclidean distance between the two points is the shortest distance of the space and is certainly less than or equal to the geodesic distance between the two points, whether the terminal point is reached is not required to be judged when the Euclidean distance is not reached in the planning process, and the time can be saved.
The steps of the invention can quickly calculate the geodesic distance of any two points.
And secondly, dimension reduction and characteristic decomposition of the geodesic distance matrix.
And (2) calculating the geodesic distance of any two vertexes of the three-dimensional grid through the step 1), thereby forming a high-dimensional matrix D, wherein the indexes of rows and columns correspond to the indexes of the vertexes of the three-dimensional grid, and each matrix element represents the geodesic distance of any two vertexes of the three-dimensional grid. Because the eigenvalues of the geodesic distance matrix represent the global characteristics of the three-dimensional grid, the invention considers the characteristic decomposition of the geodesic distance matrix. However, a large-scale three-dimensional mesh shape with a number of vertices of N1M or more will form a high-dimensional matrix of N1M, which requires O (N) for feature decomposition3) The computational complexity of (2) cannot be realized at all in a reasonable time. Therefore, the invention researches a dimension reduction method of high-dimensional geodesic distance, and aims to sample few representative vertexes from large-scale vertexes of a three-dimensional shape, and a low-dimensional matrix formed by the vertex geodesic distances is approximately equal to the characteristic decomposition of a high-dimensional matrix formed by all vertexes, so that the calculation pressure of characteristic decomposition of the high-dimensional matrix is avoided, and the training speed and the operation classification speed of the invention are greatly increased. As shown in FIG. 2, the dimension reduction methodThe method comprises the following steps:
1) the mathematical expectation of all geodesic distances is calculated, where d (i, j) is the geodesic distance of the two vertex indices i and j.
dm=E[d(i,j)]
2) The dimension reduction matrix is set to L and is initially null. First, a pair of vertex indexes (x) with the largest geodesic distance is selected1,x2) Adding to an empty dimension reduction matrix L, wherein the dimension reduction matrix is changed into:
L = 0 d ( x 1 , x 2 ) d ( x 2 , x 1 ) 0
3) and traversing the grid vertex list according to the original matrix index sequence, and adding the vertex index x meeting the following two conditions and the corresponding distance of the selected vertex in the dimension reduction matrix into the matrix L.
a) The vertex x to all vertex indices x of the matrix LjGeodesic distance ofThe distance being greater than the mathematical desired value dm
d ( x , x j ) > d m , ∀ j
b) The vertex x to all vertices x of the matrix LjThe sum of the geodesic distances of (a):
x = arg max Σ j d ( x , x j )
4) repeating the step 3) until any one of the following stop conditions is met:
a) the number of vertices of the matrix exceeds a set value k. In this patent, k is set to 64;
b) no three-dimensional mesh vertices have satisfied the conditions set in step 3).
After the dimension reduction step described above, the dimension of the original matrix D is reduced to the value k, and the eigen decomposition is easily performed in a short time. However, after matrix dimensionality reduction, we further gauss the geodesic distances, which aims to reduce the influence of longer geodesic distances on feature decomposition and enhance the robustness of the classification method. The method comprises the following steps:
d ij ′ = exp ( - d ij 2 / 2 σ 2 )
wherein is dijTwo points of geodesic distance, σ is the Gaussian width, d'ijIs the gaussian geodesic distance. In this patent, we define the Gaussian width σ as
σ=max(i,j){dij}
I.e. the maximum value of the geodesic distances between all vertices. Defining σ as such a data-dependent form makes the final eigen-decomposition result invariant to uniform scaling, which the present invention defines to be aimed at normalizing geodesic distances. The present invention can be seen from a number of observations of the experimental results that the final eigen decomposition is relatively stable with respect to σ as long as σ is sufficiently large.
After the dimensionality reduction and the gauss of the geodesic distance matrix are carried out, the characteristic decomposition is carried out on the matrix D, and the characteristic value of the matrix D is calculated. The characteristic decomposition formula is as follows:
Dv=λv
the method adopts a general Jacobi method to carry out characteristic decomposition, and orders characteristic values from large to small.
Figure BDA0000139946740000072
The invention uses the vector formed by the characteristic values
Figure BDA0000139946740000073
Dimension reduction is performed again by a cutoff (cutoff) method, and a characteristic value smaller than the set value c is cut off and discarded. In this patent, it was experimentally observed that c is 16. Reduced vector
Figure BDA0000139946740000074
The classifier is trained by calculating the input features of each sample as the input features of the classifier, and in the same way, in the actual operation, the input features are extracted firstly and then input into the trained classifier to classify the classifier.
And thirdly, constructing a binary classifier of the three-dimensional model features by using a support vector machine.
The present invention resolves a multi-classification problem into a multiple binary classifier combinatorial problem. There is a certain correspondence between the multi-classification problem and the binary classification problem. If one question is that multiple classes can be separated, any two classes in the multiple classes can be separated certainly; on the contrary, in a multi-classification problem, if any two groups of the multi-classification problem are known to be separable, multiple types of classification can be finally realized through two groups of the multi-classification problem through a certain combination rule. Different combination rules form different classification algorithms, which combination rules will be elaborated in step 4). The invention provides a method for binary classification of the three-dimensional model features extracted in the step 2) by adopting a support vector machine. The classification process based on the support vector machine is shown in figure 3, the characteristics of a group of three-dimensional grid models are extracted as classification samples through step 2) and are divided into a training set and a test set, the support vector machine is trained, a kernel function is selected, the normal coefficient of a classification surface is selected through an optimization mode, the offset parameter of the classification surface is determined through the support vector set to determine the classification surface, a binary classifier is formed, then the binary classifier is combined into a multi-element classifier, and classification results can be output for the training set and the test set. The binary classifier based on the 0 support vector machine is implemented as follows.
Suppose for a feature sample set (x) composed of three-dimensional mesh modelsi,yi) Wherein i ∈ [1, n ]]Feature xi∈RMAnd is located in an M-dimensional feature space. y isiE { +1, -1} is a category label. From this feature sample set, the classification surface equation can be obtained as:
H(x)=ωTx+b=0
where ω is the vector of the M-dimensional feature space, which is the normal coefficient of the classification plane, and b is the scalar, which is the offset parameter of the classification plane. The position of the classification plane can be determined using ω and b. The constructed classification surface needs to separate the two types of samples obviously, namely, when y is satisfiediWhen 1, H (x)i) When y is equal to 1, the same holds trueiWhen is-1, H (x)i)=-1。
As shown in fig. 4, the classification interval is maximized under the condition that the two types of samples are correctly separated based on the principle of minimizing the structural risk. The classification surface is located in the middle of two boundary lines, and the points of the boundary lines are determined by the support vectors. When the support vector is obtained, no other samples are needed, and the sample processing time can be reduced. According to the knowledge of geometry, the distance between two boundary lines is 2/| omega | | torry2The method adopted by the method is to obtain the maximum distance by using an optimization method, namely, the maximum distance is minimizedIn the invention, interference factors are considered, a relaxation variable xi and a penalty coefficient C are introduced, the problem of determining a classification surface can be converted into the solution of the following optimal problem, and two constraint conditions are introduced:
yiTxi+b)≥1-ξi
ξi≥0
under the above constraint, calculating function
1 2 | | ω | | 2 + C Σ i = 1 N ξ i
Is measured. This constrained optimization problem can be solved by constructing Lagrange functions as follows:
Q ( ω , b , ξ , α , β ) = 1 2 | | ω | | 2 + C Σ i = 1 N ξ i - Σ i = 1 N α i ( y i ( ω T x i + b ) - 1 + ξ i ) - Σ i = 1 N β i ξ i
the Lagrange function is solved for its minimum value, which must be found at the saddle point, for ω and b. Therefore, the saddle point satisfies the following condition:
∂ Q ∂ ω = 0 , ∂ Q ∂ b = 0 , ∂ Q ∂ ξ = 0
αi(yiTxi+b)-1+ξi)=0
βiξi=0
αi≥0,βi≥0,ξi≥0
solving to obtain:
ω = Σ i = 1 N α i y i x i , Σ i = 1 N α i y i = 0 , αii=C
substituting into Lagrange function yields:
Q ( α ) = Σ i = 1 N α i - 1 2 Σ i = 1 , j = 1 N α i α j y i y j x i T x j
wherein the coefficient alphaiSatisfy the requirement of
Σ i = 1 N α i y i = 0 , αi≥0
Therefore, the following classification discriminant function is established by using the optimal classification surface parameters:
H ( x ) = sign ( Σ i , j = 1 N α i y i ( x i T x j ) + b )
wherein,
b = 1 | U | Σ i ∈ U ( y i - ω T x i )
where U denotes the number of elements that support the vector set.
The invention judges the category of the binary classification of the sample x according to the symbol of the value of H (x) in the formula.
The invention adopts a nonlinear method to try to carry out binary classification on the three-dimensional grid characteristics, and utilizes nonlinear vectors to map the three-dimensional grid characteristics to a high-dimensional characteristic space so as to enable the three-dimensional grid characteristics to be linearly separable. Defining a non-linear vector
The vector maps the m-dimensional input features x to k-dimensional feature space, making the classification data linearly separable in the high-dimensional feature space. The corresponding classification discriminant function is:
H ( x ) = sign ( Σ i , j = 1 N α i y i ( Φ T ( x i ) · Φ ( x j ) ) + b )
we consider introducing a kernel function K (x)iX) solving the computational complexity and over-learning problems caused by the high-dimensional computation in the above equation. If only a proper kernel function meeting the Mercer condition is found in the input space, the kernel function can be used for replacing the inner product operation of the high-dimensional feature space, and the constructed discriminant function of the optimal classification surface is as follows:
H K ( x ) = sign ( Σ i , j = 1 N α i y i K ( x i · x ) + b )
the invention tries three common kernel functions, including a linear kernel function, a gaussian radial basis kernel function and a Sigmoid kernel function. Wherein the linear kernel function expression is as follows
K(xi·xj)=xi·xj
The gaussian radial basis function is expressed as follows:
K ( x i · x j ) = exp { - | | x i - x j | | 2 2 σ 2 }
where σ is the variance of the sample.
The expression of the Sigmoid kernel is as follows:
K(xi·xj)=tanh{gxi·xj-h}
it constitutes a multi-layer perceptron neural network, where the parameter g is a scaling factor and h is an offset factor.
Experiments show that the kernel function of the Gaussian radial basis gives better classification performance, so that the Gaussian radial basis function is adopted as the kernel function of the support vector machine.
Fourthly, combining the binary classifiers into a multivariate classifier
As the three-dimensional shape classification problem is mainly focused on multi-classification, the invention adopts the binary classifier constructed in the step 3) to combine into a multi-element classifier. Generally, the multi-classification methods mainly include: one-to-one, one-to-many, and directed acyclic graphs. One-to-one classification method is a better multi-classification method, is suitable for practical application, has higher calculation efficiency, and leads the two types of samples to tend to be balanced, thus leading the classification judgment to be more reasonable. The present invention uses a one-to-one classification method. For the K classification problem, the K training samples are combined pairwise, L ═ K (K-1)/2 training sets can be constructed, and each pair of training sets is learned by using a support vector machine binary classifier respectively, so that L binary classifiers are generated. The "voting method" is adopted in the classification of test samples: and inputting the test sample into L binary classifiers constructed by K types of samples, and adding a ticket to the type if the output result of the sample x is judged to be the type. After the L binary classifiers classify the test samples, which class of the K classes has the most ticket, and then the class to which the test samples belong is judged. Thus, the invention realizes an automatic classification method of three-dimensional models.
The effects of the present invention can be further illustrated by the following experiments. The experimental data set is from McGilluniversity Shape Benchmark, Canada, and the three-dimensional model data set contains 10 types of general shapes including animals, human, machinery and the like, and the specific categories are shown in Table 1. The present invention separates the data set into a training set and a test set. The training set contains 10 classes of shapes, 10 models per class, for a total of 100 models. The test set contains 10 types of shapes, 10 models per type, for a total of 100 models. And training on a training set to obtain a multi-element classifier, and evaluating the classification result of the multi-element classifier on a test set. During training, 10 types of shapes in the training set are respectively assigned with respective class labels, and any two types of sample values are taken for training and learning, so that a multi-element classifier consisting of 45 binary classifiers can be obtained. When in test, 10 types of sample values are input into the multi-element classifier in sequence to obtain all classification results. And counting the classification results, wherein the statistical results are shown in table 1, and the error rate and the accuracy rate respectively refer to the percentage of the number of the three-dimensional models with the wrong classification and the correct classification to the total number of the classification models.
TABLE 1 Classification accuracy of the present invention on a three-dimensional model test set
The classification result shows that the classification precision of the three-dimensional model automatic classification method provided by the invention reaches 86%, and the three-dimensional model automatic classification method has certain superiority in the existing three-dimensional model classification method, has good classification performance, and has stronger robustness for complex general models and non-rigid transformation. While the foregoing is directed to the preferred embodiment of the present invention, several modifications may be made by one skilled in the art without departing from the principles of the invention, including changes in the kernel function of the support vector machine, etc., the scope of which is defined in the appended claims and their equivalents.

Claims (1)

1. A three-dimensional model automatic classification method based on a support vector machine is characterized by comprising the following steps:
(1) obtaining the global characteristics of each three-dimensional model mesh through the distance of the characteristic peak, and classifying the newly input distance characteristics by using a global characteristic training classifier;
(2) sampling few representative vertexes from large-scale vertexes of the three-dimensional shape, wherein the characteristic decomposition of a low-dimensional matrix formed by the vertex geodesic distances is approximately equal to that of a high-dimensional matrix formed by all the vertexes, further Gaussian processing is carried out on the geodesic distances, and finally, a Jacobi method is adopted to carry out characteristic decomposition on the low-dimensional matrix;
(3) the method comprises the steps of establishing a binary classifier of three-dimensional model features by using a support vector mechanism, establishing a binary classifier by using a support vector machine method, determining parameters of the support vector machine by solving a constraint optimization problem by using a Lagrange function, and simultaneously introducing a Gaussian radial basis kernel function to map a sample space to a high dimension to achieve linear divisibility; classifying through a binary classifier according to the extracted feature vector of the sample to realize the output of two class labels of the binary classifier; forming a multi-element classifier by combining two binary classifiers in pairs;
(4) combining every two of the support vector machine binary classifiers obtained in the step (3) one to form a multivariate classifier, combining every two of K training samples to solve the K classification problem, constructing L (K-1)2 training sets, and learning each pair of training sets by using the support vector machine binary classifiers respectively to generate L binary classifiers; voting is used in classifying the test samples to determine the classification result.
CN 201210051160 2012-03-01 2012-03-01 Method for automatically classifying three-dimensional models based on support vector machine Expired - Fee Related CN102622609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210051160 CN102622609B (en) 2012-03-01 2012-03-01 Method for automatically classifying three-dimensional models based on support vector machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210051160 CN102622609B (en) 2012-03-01 2012-03-01 Method for automatically classifying three-dimensional models based on support vector machine

Publications (2)

Publication Number Publication Date
CN102622609A CN102622609A (en) 2012-08-01
CN102622609B true CN102622609B (en) 2013-10-09

Family

ID=46562519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210051160 Expired - Fee Related CN102622609B (en) 2012-03-01 2012-03-01 Method for automatically classifying three-dimensional models based on support vector machine

Country Status (1)

Country Link
CN (1) CN102622609B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930074B (en) * 2012-09-21 2015-02-18 北京大学 Automatic excavation method for feature binary constraint relation
CN102915448B (en) * 2012-09-24 2015-10-14 西北工业大学 A kind of three-dimensional model automatic classification method based on AdaBoost
CN105868407A (en) * 2016-04-20 2016-08-17 杭州师范大学 Method for three-dimensional model search based on kernel linear classification analysis
CN108961468B (en) * 2018-06-27 2020-12-08 广东海洋大学 Ship power system fault diagnosis method based on integrated learning
US11334691B2 (en) * 2018-07-30 2022-05-17 Dassault Systemes Simulia Corp. Detection of gaps between objects in computer added design defined geometries
CN109710512A (en) * 2018-12-06 2019-05-03 南京邮电大学 Neural network software failure prediction method based on geodesic curve stream core
CN109740664B (en) * 2018-12-28 2023-01-10 东莞中国科学院云计算产业技术创新与育成中心 Flexible object classification method and device, computer equipment and storage medium
CN110059205A (en) * 2019-03-20 2019-07-26 杭州电子科技大学 A kind of threedimensional model classification retrieving method based on multiple view
CN111407261B (en) * 2020-03-31 2024-05-21 京东方科技集团股份有限公司 Method and device for measuring period information of biological signals and electronic equipment

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
A 3D shape classifier with neural network supervision;Zhenbao Liu等;《Int. J. Computer Applications in Technology》;20101231;第38卷(第1-3期);全文 *
Zhenbao Liu等.A 3D shape classifier with neural network supervision.《Int. J. Computer Applications in Technology》.2010,第38卷(第1-3期),全文.
付小君.基于Markov模型和隐Markov模型的三维模型分类研究.《中国优秀硕士学位论文全文数据库》.2011,全文.
付小君等.基于Markov模型和隐Markov模型的三维模型分类研究.《计算机工程与应用》.2011,第47卷(第1期),全文.
基于Markov模型和隐Markov模型的三维模型分类研究;付小君;《中国优秀硕士学位论文全文数据库》;20111231;全文 *
基于Markov模型和隐Markov模型的三维模型分类研究;付小君等;《计算机工程与应用》;20110430;第47卷(第1期);全文 *

Also Published As

Publication number Publication date
CN102622609A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
CN102622609B (en) Method for automatically classifying three-dimensional models based on support vector machine
Klokov et al. Escape from cells: Deep kd-networks for the recognition of 3d point cloud models
Chen et al. Unsupervised multi-manifold clustering by learning deep representation
Xie et al. Point clouds learning with attention-based graph convolution networks
Xie et al. Deep multimetric learning for shape-based 3D model retrieval
CN105354593B (en) A kind of threedimensional model sorting technique based on NMF
Liu et al. Machine learning by two-dimensional hierarchical tensor networks: A quantum information theoretic perspective on deep architectures
Piccialli et al. SOS-SDP: an exact solver for minimum sum-of-squares clustering
CN110619364B (en) Wavelet neural network three-dimensional model classification method based on cloud model
Lin et al. Object categorization with sketch representation and generalized samples
CN107992850A (en) A kind of outdoor scene three-dimensional colour point clouds sorting technique
CN115661550A (en) Graph data class imbalance classification method and device based on generation countermeasure network
Wang et al. Tensor networks meet neural networks: A survey and future perspectives
Lee et al. A statistical manifold framework for point cloud data
CN115983341A (en) Node classification method based on relation aggregation hypergraph
CN107818328A (en) With reference to the deficiency of data similitude depicting method of local message
Tan et al. Deep adaptive fuzzy clustering for evolutionary unsupervised representation learning
Leon-Alcaide et al. An evolutionary approach for efficient prototyping of large time series datasets
Raikar et al. Efficiency comparison of supervised and unsupervised classifier on content based classification using shape, color, texture
CN117321692A (en) Method and system for generating task related structure embeddings from molecular maps
Muñoz et al. Manifold learning for coherent design interpolation based on geometrical and topological descriptors
Wu et al. Active 3-D shape cosegmentation with graph convolutional networks
Zhang et al. Color clustering using self-organizing maps
Shi et al. Density peak clustering using tensor network
Dou Metric learning-based generative adversarial network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: NORTHWESTERN POLYTECHNICAL UNIVERSITY

Effective date: 20141014

Owner name: HAIAN COUNTY JULI MAGNETIC MATERIALS CO., LTD.

Free format text: FORMER OWNER: NORTHWESTERN POLYTECHNICAL UNIVERSITY

Effective date: 20141014

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 710072 XI'AN, SHAANXI PROVINCE TO: 226600 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141014

Address after: 226600, Jiangsu County, Nantong province Haian corner oblique Town Industrial Park (embankment north village 10 group)

Patentee after: HAIAN JULI MAGNETIC MATERIAL Co.,Ltd.

Patentee after: Northwestern Polytechnical University

Address before: 710072 Xi'an friendship West Road, Shaanxi, No. 127

Patentee before: Northwestern Polytechnical University

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131009