Next Article in Journal
Multi-Objective Decision-Making Meets Dynamic Shortest Path: Challenges and Prospects
Next Article in Special Issue
Efficient DNN Model for Word Lip-Reading
Previous Article in Journal
Implementing Deep Convolutional Neural Networks for QR Code-Based Printed Source Identification
Previous Article in Special Issue
Generalizing the Alpha-Divergences and the Oriented Kullback–Leibler Divergences with Quasi-Arithmetic Means
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Human Body Shapes Anomaly Detection and Classification Using Persistent Homology

1
Computer Science and Digital Society Laboratory (LIST3N), Université de Technologie de Troyes, 10004 Troyes Cedex, France
2
Institut de Recherche Mathématique Avancée (IRMA), CNRS UMR 7501, Université de Strasbourg, 67084 Strasbourg Cedex, France
*
Author to whom correspondence should be addressed.
Algorithms 2023, 16(3), 161; https://doi.org/10.3390/a16030161
Submission received: 7 February 2023 / Revised: 8 March 2023 / Accepted: 10 March 2023 / Published: 15 March 2023
(This article belongs to the Special Issue Machine Learning for Pattern Recognition)

Abstract

:
Accurate sizing systems of a population permit the minimization of the production costs of the textile apparel industry and allow firms to satisfy their customers. Hence, information about human body shapes needs to be extracted in order to examine, compare and classify human morphologies. In this paper, we use topological data analysis to study human body shapes. Persistence theory applied to anthropometric point clouds together with clustering algorithms show that relevant information about shapes is extracted by persistent homology. In particular, the homologies of human body points have interesting interpretations in terms of human anatomy. In the first place, anomalies of scans are detected using complete-linkage hierarchical clusterings. Then, a discrimination index shows which type of clustering separates gender accurately and if it is worth restricting to body trunks or not. Finally, Ward-linkage hierarchical clusterings with Davies–Bouldin, Dunn and Silhouette indices are used to define eight male morphotypes and seven female morphotypes, which are different in terms of weight classes and ratios between bust, waist and hip circumferences. The techniques used in this work permit us to classify human bodies and detect scan anomalies directly on the full human body point clouds rather than the usual methods involving the extraction of body measurements from individuals or their scans.

1. Introduction

The separation of human bodies into groups of morphologies is a common issue for garment industries. Rather than targeting a single standard body shape, the discrimination of morphologies helps to improve sizing systems and can reduce production costs for apparel manufacturing. Among the classifications already established, there is one from [1] particularly used by industries, where the authors obtained nine types of female body shapes such as triangle, inverted triangle, hourglass, oval, etc. This is the first work where mathematical criteria, together with the help of experts, have been used to define these groups.
In terms of data science, we can approach this problem by clustering algorithms. To this end, different types of data can be extracted from a body such as measurements or anthropometric point clouds. Body measurements can be directly represented in a Euclidean space to use methods from data analysis. In [2], principal component and K-means cluster analyses are performed on measurements and key body locations, and three female lower body shape groups are obtained. This representation in a vector space to perform the clustering is straightforward but has disadvantages. For example, it is not clear that it is appropriate to compare with Euclidean metric measurements of different types such as body lengths, circumferences or individual weight. On the other hand, this requires the choice of the set of measurements extracted from the body, and key morphological characteristics may be omitted. The use of 3D representations of the bodies is suitable for these issues but becomes difficult to implement since we need a way to extract information from anthropometric point clouds and compare them. For example, in [3], the authors use control points and correlation strength principal component analysis of trunks. Reinterpreting these components by averaged shape figures and combining factor loading maps, five female trunk shape groups are defined by a Ward-linkage hierarchical clustering. Different methods from data science have been used to classify human body shapes; see for example [4,5,6,7].
Topological data analysis [8,9] is a powerful tool to study and understand the shape of data, and thus it naturally applies in this context. In particular, persistent homology [10,11] can be used to extract relevant topological information from data and point clouds. These extracted features are encoded by diagrams and have stability properties relative to specific distances [12,13]. Several applications of this theory have been established in different contexts such as time-series data analysis [14], object recognition [15], complex network analysis [16], molecular biology data exploration [17], biomedicine [18], geographical information science [19] and environmental science [20]. Feature extraction for classification is an active research topic in pattern recognition and machine learning; see for example [21,22] or [23].
In this work, we use persistent theory applied on human point clouds in order to perform the following:
  • Extract information from human bodies with interpretation in terms of human anatomy;
  • Detect scans anomalies;
  • Identify and separate human point clouds by gender;
  • Classify male and female morphotypes.
More precisely, we compute the persistence diagrams, Wasserstein distance and associated silhouettes on the human point clouds of the CAESAR database [24]. Using graph theory, among other things, approaches by homological degree allow us to interpret persistent homologies and identify them to body areas and limbs. To define morphotypes independently of individuals’ height, we normalize the point clouds using three-dimensional homotheties. Then, we show that anomalies of scans are naturally isolated clusters when performing complete-linkage hierarchical clustering on the persistence diagrams of the point clouds using the Wasserstein distance. Then, a gender discrimination index is defined to study which hierarchical clustering linkage is interesting to separate males and females accurately. We compare the performance of these clustering algorithms on persistence diagrams, on silhouettes, and whether point clouds are restricted to trunks or not. Finally, Ward-linkage hierarchical clusterings on the silhouettes of the persistence diagrams of the point clouds, together with a mix of different clustering criteria such as Davies–Bouldin, Dunn and Silhouette indices are used to obtain eight male morphotypes and seven female morphotypes. Then, we study the properties of these clusters, and their medoids are computed and considered as representatives of the groups.
The paper is organized as follows. In Section 2, we introduce the tools of persistence theory that we use. In Section 3, we detect scan anomalies. In Section 4, we study which type of clustering accurately separates males and females. Finally, we classify morphotypes in Section 5.

2. Methodology

2.1. Dataset

The CAESAR (Civilian American and European Surface Anthropometry Resource) 3D Anthropometric Database is composed of 3D body scans of thousands of men and women aged from 18 to 65 and originated from various NATO countries: the United States of America, Canada, the Netherlands and Italy.
In this paper, we are using the dataset of [24], which is derived from the CAESAR dataset and is composed of 1517 male and 1531 female meshes, registered as OBJ files. Each mesh has 12,500 vertices (Figure 1a) and 25,000 faces (Figure 1b), and we extract and consider only the underlying point clouds of all the meshes. In the figures, the meshes and point clouds are presented headless for confidentiality. The individuals are numbered discontinuously from Spring0001 to Spring4800, and for convenience we refer to SpringXXXX by SXXXX.

2.2. Persistence Diagrams, Landscapes, Silhouettes and Distances

Persistent homology is a tool used to efficiently compute and encode the multidimensional homological features of topological spaces associated to a dataset. To compute these homological invariants, we have to build topological structures on the data such as filtered simplicial complexes.
A simplex is a notion generalizing points, line segments, triangles and tetrahedrons to any dimension and composed of faces that are also simplices of lower dimension. A simplicial complex K is a collection of simplices satisfying two properties: each face of a simplex of K is in K and the non-empty intersection of two simplices of K is a face of both of them. Given a body point cloud X in R 3 , several types of simplicial complexes can be constructed on X, such as the Vietoris–Rips and the Čech complexes. We center three-dimensional balls of radius ϵ on each data point, and we vary ϵ from 0 to + . The data points are considered as 0-simplices, and when n + 1 balls intersect, we add an n-dimensional face between them. The result is called a Čech complex. For each fixed ϵ , we count the homological features of the associated topological space. Since the underlying vector space is of dimension 3, we have three types of homological classes to consider:
  • H 0 : The connected components;
  • H 1 : The non-homotopic loops;
  • H 2 : The two-dimensional voids.
Thus, we represent each homological feature by a point in R 2 , where its abscissa is the birth time of the feature and its ordinate is the death time. The set of points obtained in this way is the persistence diagram of X. The persistence barcode represents each homology class with a bar defined by its birth time, when the topological feature appears, and a death time, when the topological feature disappears. In order not to have too many points due to the creation and death of small homological features, a minimal persistence is fixed.
For example, in Figure 2, the persistence barcode and diagram of the individual S0013 (Figure 1) are given.
It is possible to compare persistence diagrams using the Wasserstein distance. Let D and D be persistence diagrams. A perfect matching between D and D is a subset ϕ D × D such that every point of D and D is exactly one time in ϕ , completing with the diagonal if necessary in order to ignore cardinality mismatches. The ( p , q ) -Wasserstein distance between D and D is defined by
W p , q ( D , D ) = i n f ϕ Φ ( x D | | x ϕ ( x ) | | q p ) 1 / p ,
where | | x | | q is the q-norm of x defined by
| | x | | q = | x i | q 1 / q .
We exclusively use the ( 2 , 2 ) -Wasserstein distance. For precise definitions and details, see [8,9].
Persistence landscapes are an encoding of persistence diagrams by series of piecewise continuous linear functions [25,26]; see Figure 3. This allows us to perform statistics on them, the absence of which was a disadvantage of persistence diagrams. In particular, it is possible to calculate unique averages of landscapes. While a persistence landscape has a corresponding persistence diagram, an average of persistence landscapes does not.
A persistence silhouette is computed by taking a weighted average of the collection of 1D-piecewise-linear functions given by the persistence landscapes and then by evenly sampling this average on a given range. Finally, the corresponding vector of samples is returned; see Figure 4. For the implementation of clustering, we choose to make a vector consisting of 25 points of the silhouette of H 0 homologies, 250 points equidistant from the silhouette of H 1 homologies and 250 points equidistant from the silhouette of H 2 homologies for each persistence diagram. The points are the values of the silhouette equally spaced. Hence, each individual is represented by a vector in a real vector space of dimension 525 together with the Euclidean distance.

2.3. Interpretation of Persistent Homology

The persistence diagram of a body point cloud is composed of three types of homologies (see Figure 2). Since the points are distant from each other at an equivalent distance, all the balls are rapidly connected, thus giving a single connected component. Several H 1 and H 2 homologies representing the internal body cavities appear and disappear when the radius ϵ of the balls varies to + . We now explain our approach to interpret and identify these homological features in terms of human anatomy. Since displaying the homologies in their entirety is too costly, we thought of other approaches for each degree.
For each homology, we know the radii of the balls at their birth and death. A simplex tree represents abstract simplicial complexes of any dimension. All faces of the simplicial complex are explicitly stored in a tree whose nodes are in bijection with the faces of the complex. This data structure allows us to efficiently implement a large range of basic operations on simplicial complexes. Using the simplex tree of a set of points, we know the values of the radii when pairs of points, triangles and tetrahedra are covered. The approach is slightly different depending on the dimension:
  • Dimension 0: All H 0 homologies are born when the radius of the balls is zero. For each homology H 0 , we choose to display the second point of the pair covered at the birth of the homology as its representative.
  • Dimension 1: First, we make an undirected graph containing all the points of a set, where each time a pair of points is covered, as the radius of the balls increases, we connect these points by an edge with a weight equal to the radius of the balls. At the birth of a homology H 1 , before adding the edge to our graph, we compute the shortest path connecting these two points, which we display by closing it with the segment connecting these points. The lace displayed is a likely representative of this homology. At the death of this homology, we recover the information of the triangle covered by the balls, and we add it to the display to give a general idea of the evolution of our homology.
  • Dimension 2: For each homology H 2 , we simply display the triangle covered at its birth and the tetrahedron covered at its death.
For example, in the persistence diagram of the individual S0013 given in Figure 2, there are 13 different homologies numbered in the persistence barcode from 0 to 12. With this approach, we display each homology in Figure 5 and we can interpret them as follows:
  • n°0: H 2 corresponding to the left part of the torso,
  • n°1: H 2 corresponding to the right part of the torso,
  • n°2: H 1 corresponding to a loop between legs at foot level,
  • n°3: H 1 corresponding to a loop between legs from ankles to calves,
  • n°4: H 1 corresponding to a loop between legs from knees to calves,
  • n°5: H 2 corresponding to the head,
  • n°6: H 2 corresponding to the right calf,
  • n°7: H 2 corresponding to the left calf,
  • n°8: H 2 corresponding to the right foot,
  • n°9: H 2 corresponding to the whole body,
  • n°10: H 1 corresponding to a loop around the right foot,
  • n°11: H 1 corresponding to a loop around the left foot,
  • n°12: H 0 of all the connected balls.
We remark that the arms and the left foot do not appear on the diagram. This is caused by the minimal persistence and the facts that the arms are too thin and that the scan of the left foot is more flat and deformed compared to the right one. Homology n°9 is particularly distinguished, and we call it the principal H 2 -homology. It corresponds to the aggregation of the parts and limbs of the body, thus forming the inner cavity of the body point cloud.

2.4. Normalization of Point Clouds by Homothety

We want morphotypes to be independent of the size of the individuals in order to propose a sizing system associated to each morphotype. For this purpose, we apply a homothety on each point cloud so that each individual is the same height: 1 m 70 cm. This affects the distances between them and individuals with similar morphology, but different heights become closer (Figure 6).

3. Anomaly Detection

Among the data, there are anomalies of scans. We have found five anomalies for men and four for women. It turns out that they are encoded and detected by the persistence diagrams, Wasserstein distance and clustering algorithms. More precisely, we perform complete-linkage hierarchical clusterings on the persistence diagrams of the point clouds together with the Wasserstein distance (with p = q = 2 ), separately for men and women. Analyzing corresponding truncated dendrograms, we remark that anomalies are very often isolated individuals agglomerating late. To find the best truncation of the dendrogram, we use as criteria the mean between the percentage of isolated individuals that are anomalies and the percentage of anomalies isolated in this way.
For men, the best truncation range is [ 21 , 46 ] , where the criteria show that 90 % : 100 % of isolated individuals are anomalies and 80 % of anomalies are detected. Figure 7 shows the dendrogram for male point clouds truncated at 21 clusters, where the 4 isolated individuals are anomalies as shown in Figure 8.
To illustrate that anomalies are detected by persistence, we analyze the persistence diagram of Figure 9, which corresponds to the individual S2962.
Its three H 2 homologies n 3 , 5 , 6 are particularly distinguished and can be seen at birth and death in Figure 10. Homologies H 2 numbers 3 and 5 correspond to the right and left leg, respectively, while the number 6 corresponds to the torso and is the principal H 2 -homology.
For normal scans, the principal H 2 -homology also aggregates legs. Because of the misplaced points and the holes on the point cloud, leg homologies are separated from the principal H 2 -homology which starts later than in the usual case.
For women, the best truncation range is [ 23 , 37 ] , where the criteria show that 87.5 % : 100 % of isolated individuals are anomalies and 75 % of anomalies are detected. Figure 11 shows the dendrogram for female point clouds truncated at 23 clusters, where the 3 isolated individuals are anomalies as shown in Figure 12.

4. Gender Discrimination Index

In this section, we analyze if clustering algorithms on persistence diagrams and silhouettes give groups separating men from women scans by changing the number of clusters. To this end, we use persistence diagrams or silhouettes, restricted to trunks of point clouds or not.
Let P m ( C ) and P f ( C ) be respectively the proportions of men and women in a cluster C. We have
P m ( C ) = n m ( C ) s ( C ) , P f ( C ) = n f ( C ) s ( C )
where n m ( C ) is the number of men in C, n f ( C ) is the number of women in C and s ( C ) is the size of C. To measure the quality of a clustering C of a set of mixed male and female diagrams or silhouettes D M F , we introduce a gender discrimination index (GDI) defined by
G D I ( C ) = 2 s ( D M F ) k = 1 K s ( C k ) P m ( C k ) 1 2
where K is the number of clusters of C , C k are the clusters of C and s ( D M F ) is the number of elements in D M F . Thus, the better the clustering C separates men from women, the closer G D I ( C ) is to 1, and the worse it is, the closer G D I ( C ) is to 0. We can consider that a clustering is satisfactory to separate men from women if its GDI is greater or equal to 1 2 .

4.1. Evolution of the GDI Score as a Function of the Number of Clusters

In this section, we observe the ability of different clustering methods to separate male from female persistence diagrams or silhouettes.
We use a matrix of Wasserstein distances between diagrams to perform hierarchical clustering with complete and Ward’s linkage methods [27] as well as K-Medoids clustering with the PAM (Partitioning Around Medoids) algorithm [28]. The notion of a barycenter between persistence diagrams is delicate [29,30], but we can use the Ward-linkage method with the Lance–Williams algorithm [31].
As shown in Figure 13, hierarchical clustering with the complete-linkage method does not differentiate correctly between female and male scans. However, the K-Medoids clustering has a correct GDI score for more than 10 clusters and becomes good on some occasions for more than 13 clusters. The Ward-linkage hierarchical clustering has a correct GDI score for more than 12 clusters and becomes good for more than 19 clusters.
We now use vectors obtained from the silhouettes associated to the persistence diagrams of scans on which we perform a Ward-linkage hierarchical clustering as well as a K-Means clustering and a K-Medoids clustering with the PAM algorithm. This time, these three clustering algorithms give very good GDI scores; see Figure 14.

4.2. Restriction to Trunks

When constructing the silhouettes, we used a weighting that tended to favor the H 2 homologies corresponding to the trunks of the subjects, so the question then arises as to whether we would obtain better results by using only the points corresponding to the trunk of the body. To this end, we have developed an algorithm to isolate the points corresponding to the trunk of an individual which we now describe.
Let X be a normalized body point cloud at 1.70 m. We rotate and translate the scan such that the individual is standing along the height axis z and is at the minimal height of 0. Then, we isolate points located in the range [ 66.5 , 146.5 ] cm to exclude points corresponding to the legs and head. We compute the director and intercept coefficients of two linear equations delimiting the trunk, taking into account the mean width of the individual. More precisely, we compute the lines x = a 1 z + b 1 and x = a 2 z + b 2 , which intersect at the height 107.5 cm. Projecting the points on the plane ( x , z ) , we obtain a set of points X 1 located between the first line, its symmetric with respect to the axis x = 0 and below 107.5 cm and a set of points X 2 located between the second line, its symmetric with respect to the axis x = 0 and above 107.5 cm. The union X of X 1 and X 2 is composed of points of the individual’s trunk. In Figure 15, a body point cloud and the trunk point cloud isolated by this process are represented.
We now compare the clustering results using a Wasserstein distance matrix applied to the whole body and applied to the trunk.
From the curves in Figure 16 and the average GDI scores of Table 1, it appears that for clustering algorithms based on Wasserstein distances between persistence diagrams, it is not worth restricting these to trunk points.
We now compare the results of clustering algorithms using the vectors obtained from the persistence silhouettes applied to the whole body and applied to the trunk.
From the curves of Figure 17 and the average GDI scores of Table 2, it appears that for clustering based on silhouette persistence vectors, it is worth restricting these to trunk points, particularly for K-Medoids clustering.

5. Human Body Shapes Classification

5.1. Male Morphotypes

To define morphotypes of men’s body shapes, we perform a Ward-linkage hierarchical clustering on silhouettes of the persistence diagrams of the men’s point clouds together with the euclidean distance. The associated dendrogram is given in Figure 18.
To find a correct truncation of the dendrogram, we use the following clustering quality indices:
  • The Elbow method;
  • The Davies–Bouldin index [32];
  • The Silhouette index [33];
  • The Dunn index [34].
Since there is a continuity between human body shapes, there is no distinguished point common to all these indices. However, the Davies–Bouldin and Dunn indices both suggest to truncate at eight clusters. Information about size, mean distance of all pairs, diameter, mean distance to the mean and distance between the mean and the medoid of each cluster is given in Table 3.
The first cluster is only composed of two individuals who are extremely overweight, and their meshes are shown in Figure 19. The four men in the second cluster are also extremely overweight.
The medoid is the element minimizing the distance with other elements of the cluster. It can be considered as a representative, and we show in Figure 20 the medoids associated to every cluster, except for the first cluster.
Since we do not have measurements associated with the individuals of the CAESAR database, in each group, we have to look at all the individuals in order to identify the predominant morphological features. It turns out that the clusters C 3 and C 7 are composed of overweight individuals of different categories, while the thinnest men are located in cluster C 6 . It turns out that individuals of clusters C 4 , C 5 and C 8 have a standard morphotype but that men of C 8 have a shorter torso than in C 4 and C 8 and that men of C 4 are more corpulent that in the two others.

5.2. Female Morphotypes

Similarly, to define morphotypes of women’s body shapes, we perform a Ward-linkage hierarchical clustering on silhouettes of the persistence diagrams of the women’s point clouds together with the euclidean distance. The associated dendrogram is given in Figure 21.
This time, the Silhouette and Dunn indices suggest truncating at seven clusters. Information about size, mean distance of all pairs, diameter, mean distance to the mean and distance between the mean and the medoid of each cluster is given in Table 4. Remark that clusters of women are more compact than clusters of men since the mean distance of pairs and diameter are much smaller.
We show in Figure 22 the medoids associated to the seven clusters.
The first two clusters are composed of thin women, but in the first one, they have a shorter torso with a waist circumference that is more pronounced. The clusters C 6 and C 7 are composed of overweight individuals of different categories. The women of the clusters C 3 have a straight body without much difference between waist, hip and chest circumferences. Individuals of C 4 and C 5 have a larger hip circumference compared to the waist circumference, but women of C 4 have a stronger lower body while women of C 5 have a shorter torso.

6. Discussion

The research conducted in this paper demonstrates that the tools of topological data analysis and persistence theory permit us to extract pertinent information about the shape of anthropometric point clouds. The homologies of the persistence diagram of human body points have interesting interpretations in terms of human anatomy. Hence, most of the scan anomalies are correctly detected by clustering algorithms. The gender discrimination index shows that it is worth restricting our search to trunk body points to separate men from women and that the Ward-linkage hierarchical clustering and the K-Medoids clustering give better results than the complete-linkage hierarchical clustering. Finally, we obtain eight morphotypes of men and seven morphotypes of women’s body shapes with Ward-linkage hierarchical clusterings. The clusters are composed of individuals of similar weight classes, and the groups can be distinguished by their ratios between bust, waist and hip circumferences or by their torso sizes or their lower body shapes. It is worth noting that the female clusters have better proportions and smaller diameters than the male clusters.
The proposed approach is promising for anomaly detection and classification and should be applied to other types of point clouds in different contexts. The method can also be extended to other problems related to human bodies, such as measurement extraction with supervised machine learning algorithms.

Author Contributions

Conceptualization, S.d.R., P.M. and F.B.; methodology, S.d.R., P.M. and F.B.; formal analysis, S.d.R. and P.M.; software, S.d.R. and P.M.; writing—original draft preparation, S.d.R. and P.M.; writing—review and editing, S.d.R. and P.M.; visualization, S.d.R. and P.M.; supervision, P.M. and F.B. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Labcom-DiTeX, a joint research group in Textile Data Innovation between Institut Français du Textile et de l’Habillement (IFTH) and Université de Technologie de Troyes (UTT).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this article come from [24].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Simmons, K.; Istook, C.; Devarajan, P. Female Figure Identification Technique (FFIT) for apparel part I: Describing female shapes. J. Text. Appar. Technol. Manag. 2004, 4, 1–16. [Google Scholar]
  2. Song, H.K.; Ashdown, S. Categorization of lower body shapes for adult females based on multiple view analysis. Text. Res. J. 2011, 81, 914–931. [Google Scholar] [CrossRef]
  3. Nakamura, K.; Kurokawa, T. Analysis and classification of three-dimensional trunk shape of women by using the human body shape model. Int. J. Comput. Appl. Technol. 2009, 34, 278–284. [Google Scholar] [CrossRef] [Green Version]
  4. Cottle, F.S. Statistical Human Body Form Classification: Methodology Development and Application; Auburn University: Auburn, AL, USA, 2012. [Google Scholar]
  5. Hamad, M.; Thomassey, S.; Bruniaux, P. A new sizing system based on 3D morphology clustering. Comput. Ind. Eng. 2017, 113, 683–692. [Google Scholar] [CrossRef]
  6. Naveed, T.; Zhong, Y.; Hussain, A.; Babar, A.A.; Naeem, A.; Iqbal, A.; Saleemi, S. Female Body Shape Classifications and Their Significant Impact on Fabric Utilization. Fibers Polym. 2018, 19, 2642–2656. [Google Scholar] [CrossRef]
  7. Pei, J.; Park, H.; Ashdown, S.P. Female breast shape categorization based on analysis of CAESAR 3D body scan data. Text. Res. J. 2019, 89, 590–611. [Google Scholar] [CrossRef]
  8. Chazal, F.; Michel, B. An Introduction to Topological Data Analysis: Fundamental and Practical Aspects for Data Scientists. Front. Artif. Intell. 2021, 4, 667963. [Google Scholar] [CrossRef] [PubMed]
  9. Munch, E. A User’s Guide to Topological Data Analysis. J. Learn. Anal. 2017, 4, 47–61. [Google Scholar] [CrossRef] [Green Version]
  10. Edelsbrunner, H.; Letscher, D.; Zomorodian, A. Topological Persistence and Simplification. Discret. Comput. Geom. 2002, 28, 511–533. [Google Scholar] [CrossRef] [Green Version]
  11. Zomorodian, A.; Carlsson, G. Computing Persistent Homology. Discret. Comput. Geom. 2005, 33, 249–274. [Google Scholar] [CrossRef] [Green Version]
  12. Cohen-Steiner, D.; Edelsbrunner, H.; Harer, J. Stability of Persistence Diagrams. In Proceedings of the SCG ’05: Twenty-First Annual Symposium on Computational Geometry, Pisa, Italy, 6–8 June 2005; Association for Computing Machinery: New York, NY, USA, 2005; pp. 263–271. [Google Scholar] [CrossRef]
  13. Chazal, F.; Cohen-Steiner, D.; Glisse, M.; Guibas, L.J.; Oudot, S.Y. Proximity of Persistence Modules and Their Diagrams. In Proceedings of the SCG ’09: Twenty-Fifth Annual Symposium on Computational Geometry, Aarhus, Denmark, 8–10 June 2009; Association for Computing Machinery: New York, NY, USA, 2009; pp. 237–246. [Google Scholar] [CrossRef] [Green Version]
  14. Umeda, Y.; Kaneko, J.; Kikuchi, H. Topological data analysis and its application to time-series data analysis. Fujitsu Sci. Tech. J. 2019, 55, 65–71. [Google Scholar]
  15. Li, C.; Ovsjanikov, M.; Chazal, F. Persistence-Based Structural Recognition. In Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 2003–2010. [Google Scholar] [CrossRef] [Green Version]
  16. Horak, D.; Maletić, S.; Rajković, M. Persistent homology of complex networks. J. Stat. Mech. Theory Exp. 2009, 2009, P03034. [Google Scholar] [CrossRef] [Green Version]
  17. Yao, Y.; Sun, J.; Huang, X.; Bowman, G.R.; Singh, G.; Lesnick, M.; Guibas, L.J.; Pande, V.S.; Carlsson, G. Topological methods for exploring low-density states in biomolecular folding pathways. J. Chem. Phys. 2009, 130, 144115. [Google Scholar] [CrossRef] [Green Version]
  18. Skaf, Y.; Laubenbacher, R. Topological data analysis in biomedicine: A review. J. Biomed. Inform. 2022, 130, 104082. [Google Scholar] [CrossRef]
  19. Corcoran, P.; Jones, C.B. Topological data analysis for geographical information science using persistent homology. Int. J. Geogr. Inf. Sci. 2023, 37, 712–745. [Google Scholar] [CrossRef]
  20. Ver Hoef, L.; Adams, H.; King, E.J.; Ebert-Uphoff, I. A Primer on Topological Data Analysis to Support Image Analysis Tasks in Environmental Science. Artif. Intell. Earth Syst. 2023, 2, e220039. [Google Scholar] [CrossRef]
  21. Mahmmod, B.M.; Abdulhussain, S.H.; Suk, T.; Hussain, A. Fast computation of Hahn polynomials for high order moments. IEEE Access 2022, 10, 48719–48732. [Google Scholar] [CrossRef]
  22. Jassim, W.A.; Raveendran, P.; Mukundan, R. New orthogonal polynomials for speech signal and image processing. IET Signal Process. 2012, 6, 713–723. [Google Scholar] [CrossRef]
  23. Abdulhussain, S.H.; Mahmmod, B.M.; Baker, T.; Al-Jumeily, D. Fast and accurate computation of high-order Tchebichef polynomials. Concurr. Comput. Pract. Exp. 2022, 34, e7311. [Google Scholar] [CrossRef]
  24. Yang, Y.; Yu, Y.; Zhou, Y.; Du, S.; Davis, J.; Yang, R. Semantic Parametric Reshaping of Human Body Models. In Proceedings of the 2014 2nd International Conference on 3D Vision, Tokyo, Japan, 8–11 December 2014; Volume 2, pp. 41–48. [Google Scholar] [CrossRef]
  25. Chazal, F.; Fasy, B.T.; Lecci, F.; Rinaldo, A.; Wasserman, L. Stochastic Convergence of Persistence Landscapes and Silhouettes. In Proceedings of the SOCG’14: Thirtieth Annual Symposium on Computational Geometry, Kyoto, Japan, 8–11 June 2014; Association for Computing Machinery: New York, NY, USA, 2014; pp. 474–483. [Google Scholar] [CrossRef] [Green Version]
  26. Bubenik, P. Statistical Topological Data Analysis Using Persistence Landscapes. J. Mach. Learn. Res. 2015, 16, 77–102. [Google Scholar]
  27. Ward, J.H.W., Jr. Hierarchical Grouping to Optimize an Objective Function. J. Am. Stat. Assoc. 1963, 58, 236–244. [Google Scholar] [CrossRef]
  28. Kaufman, L.; Rousseeuw, P.J. Partitioning around Medoids (Program PAM). In Finding Groups in Data; John Wiley & Sons, Ltd.: Hoboken, NJ, USA, 1990. [Google Scholar] [CrossRef]
  29. Mileyko, Y.; Mukherjee, S.; Harer, J. Probability measures on the space of persistence diagrams. Inverse Probl. 2011, 27, 124007. [Google Scholar] [CrossRef] [Green Version]
  30. Turner, K.; Mileyko, Y.; Mukherjee, S.; Harer, J. Frechet Means for Distributions of Persistence Diagrams. Discret. Comput. Geom. 2014, 52, 44–70. [Google Scholar] [CrossRef] [Green Version]
  31. Lance, G.N.; Williams, W.T. A general theory of classificatory sorting strategies: II. Clustering systems. Comput. J. 1967, 10, 271–277. [Google Scholar] [CrossRef] [Green Version]
  32. Davies, D.L.; Bouldin, D.W. A Cluster Separation Measure. IEEE Trans. Pattern Anal. Mach. Intell. 1979, PAMI-1, 224–227. [Google Scholar] [CrossRef]
  33. Rousseeuw, P.J. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math. 1987, 20, 53–65. [Google Scholar] [CrossRef] [Green Version]
  34. Dunn, J.C. A Fuzzy Relative of the ISODATA Process and Its Use in Detecting Compact Well-Separated Clusters. J. Cybern. 1973, 3, 32–57. [Google Scholar] [CrossRef]
Figure 1. The mesh of the individual S0013.
Figure 1. The mesh of the individual S0013.
Algorithms 16 00161 g001
Figure 2. The persistence diagram and barcode of S0013.
Figure 2. The persistence diagram and barcode of S0013.
Algorithms 16 00161 g002
Figure 3. Visual explanation of persistence landscapes. The persistence diagram (left) is tilted so that the diagonal becomes the new horizontal axis (top right). The λ i are the piecewise linear functions (bottom right).
Figure 3. Visual explanation of persistence landscapes. The persistence diagram (left) is tilted so that the diagonal becomes the new horizontal axis (top right). The λ i are the piecewise linear functions (bottom right).
Algorithms 16 00161 g003
Figure 4. Representation of a vector obtained by persistence silhouette.
Figure 4. Representation of a vector obtained by persistence silhouette.
Algorithms 16 00161 g004
Figure 5. All non H 0 homologies of the persistence diagram of S0013.
Figure 5. All non H 0 homologies of the persistence diagram of S0013.
Algorithms 16 00161 g005
Figure 6. Individuals (ac) are 1.89 m, 1.93 m and 1.65 m tall, respectively. Among them, the couple (a,b) is the closest before normalization, and the couple (b,c) is the closest after normalization.
Figure 6. Individuals (ac) are 1.89 m, 1.93 m and 1.65 m tall, respectively. Among them, the couple (a,b) is the closest before normalization, and the couple (b,c) is the closest after normalization.
Algorithms 16 00161 g006
Figure 7. Dendrogram associated to a complete-linkage hierarchical clustering of the persistence diagrams of male point clouds with the Wasserstein distance. Clusters composed of one individual are presented without parentheses.
Figure 7. Dendrogram associated to a complete-linkage hierarchical clustering of the persistence diagrams of male point clouds with the Wasserstein distance. Clusters composed of one individual are presented without parentheses.
Algorithms 16 00161 g007
Figure 8. Anomalies of men scans detected by complete-linkage hierarchical clustering of persistence diagrams.
Figure 8. Anomalies of men scans detected by complete-linkage hierarchical clustering of persistence diagrams.
Algorithms 16 00161 g008
Figure 9. Persistence diagram and barcode of the anomaly of scan S2962. Three particular homologies reflecting the anomaly are highlighted.
Figure 9. Persistence diagram and barcode of the anomaly of scan S2962. Three particular homologies reflecting the anomaly are highlighted.
Algorithms 16 00161 g009
Figure 10. Three abnormal homologies at birth and death of the defective scan S2962.
Figure 10. Three abnormal homologies at birth and death of the defective scan S2962.
Algorithms 16 00161 g010
Figure 11. Dendrogram associated to a complete-linkage hierarchical clustering of the persistence diagrams of female point clouds with the Wasserstein distance.
Figure 11. Dendrogram associated to a complete-linkage hierarchical clustering of the persistence diagrams of female point clouds with the Wasserstein distance.
Algorithms 16 00161 g011
Figure 12. Anomalies of female scans detected by complete-linkage hierarchical clustering of persistence diagrams.
Figure 12. Anomalies of female scans detected by complete-linkage hierarchical clustering of persistence diagrams.
Algorithms 16 00161 g012
Figure 13. GDI score evolution of various clustering algorithms on the persistence diagrams with Wasserstein distance.
Figure 13. GDI score evolution of various clustering algorithms on the persistence diagrams with Wasserstein distance.
Algorithms 16 00161 g013
Figure 14. GDI score evolution of various clustering algorithms on the persistence silhouettes.
Figure 14. GDI score evolution of various clustering algorithms on the persistence silhouettes.
Algorithms 16 00161 g014
Figure 15. An individual and its isolated trunk.
Figure 15. An individual and its isolated trunk.
Algorithms 16 00161 g015
Figure 16. Comparison of GDI score on the persistence diagrams of the whole body and the trunk with the Wasserstein distance.
Figure 16. Comparison of GDI score on the persistence diagrams of the whole body and the trunk with the Wasserstein distance.
Algorithms 16 00161 g016
Figure 17. Comparison of GDI score on the persistence silhouettes of the whole body and the trunk.
Figure 17. Comparison of GDI score on the persistence silhouettes of the whole body and the trunk.
Algorithms 16 00161 g017
Figure 18. Dendrogram associated to a Ward-linkage hierarchical clustering of the silhouettes of the persistence diagrams of male point clouds.
Figure 18. Dendrogram associated to a Ward-linkage hierarchical clustering of the silhouettes of the persistence diagrams of male point clouds.
Algorithms 16 00161 g018
Figure 19. The two individuals of cluster C 1 .
Figure 19. The two individuals of cluster C 1 .
Algorithms 16 00161 g019
Figure 20. Medoids of clusters C 2 to C 8 of the Ward-linkage hierarchical clustering.
Figure 20. Medoids of clusters C 2 to C 8 of the Ward-linkage hierarchical clustering.
Algorithms 16 00161 g020
Figure 21. Dendrogram associated to a Ward-linkage hierarchical clustering of the silhouettes of the persistence diagrams of female point clouds.
Figure 21. Dendrogram associated to a Ward-linkage hierarchical clustering of the silhouettes of the persistence diagrams of female point clouds.
Algorithms 16 00161 g021
Figure 22. Medoids of the seven clusters of the Ward-linkage hierarchical clustering.
Figure 22. Medoids of the seven clusters of the Ward-linkage hierarchical clustering.
Algorithms 16 00161 g022
Table 1. Average GDI scores on the persistence diagrams of the whole body and the trunk with the Wasserstein distance.
Table 1. Average GDI scores on the persistence diagrams of the whole body and the trunk with the Wasserstein distance.
CompleteWardK-Medoids
Body0.20.540.526
Trunk0.210.5530.582
Table 2. Average GDI scores on the persistence silhouettes of the whole body and the trunk.
Table 2. Average GDI scores on the persistence silhouettes of the whole body and the trunk.
WardK-MeansK-Medoids
Body0.7380.730.737
Trunk0.7650.7670.827
Table 3. Clustering of male body shapes.
Table 3. Clustering of male body shapes.
Cluster C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8
Size2450311125273415332
Proportion
(in percent)
0.10.33218182722
Mean
distance
79.639.428.617.420.316.318.919.4
Diameter79.653.96249.659.254.667.169.4
Distance
to the mean
39.824.419.612.114.211.513.113.6
Distance
mean–medoid
39.820.193.45.96.95.16.1
Table 4. Clustering of female body shapes.
Table 4. Clustering of female body shapes.
Clusters C 1 C 2 C 3 C 4 C 5 C 6 C 7
Size306263403107122112214
Proportion
(in percent)
20172778714
Mean
distance
14.212.714.114.3141921.3
Diameter36.63232.131.938.259.362.4
Distance
to the mean
10.1910.110.19.913.314.8
Distance
mean–medoid
3.43.44.53.33.65.95.2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

de Rose, S.; Meyer, P.; Bertrand, F. Human Body Shapes Anomaly Detection and Classification Using Persistent Homology. Algorithms 2023, 16, 161. https://doi.org/10.3390/a16030161

AMA Style

de Rose S, Meyer P, Bertrand F. Human Body Shapes Anomaly Detection and Classification Using Persistent Homology. Algorithms. 2023; 16(3):161. https://doi.org/10.3390/a16030161

Chicago/Turabian Style

de Rose, Steve, Philippe Meyer, and Frédéric Bertrand. 2023. "Human Body Shapes Anomaly Detection and Classification Using Persistent Homology" Algorithms 16, no. 3: 161. https://doi.org/10.3390/a16030161

APA Style

de Rose, S., Meyer, P., & Bertrand, F. (2023). Human Body Shapes Anomaly Detection and Classification Using Persistent Homology. Algorithms, 16(3), 161. https://doi.org/10.3390/a16030161

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop