Next Article in Journal
Prognostic Significance of RBM3 Expression in Epithelial Ovarian Cancer: A Tissue Microarray-Based Study
Previous Article in Journal
Fetal Death Due to an Unusual Coexistence of Two Umbilical Cord Anomalies: Analysis in a Forensic Perspective
Previous Article in Special Issue
Fine-Tuned Machine Learning Classifiers for Diagnosing Parkinson’s Disease Using Vocal Characteristics: A Comparative Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Detection of the Kyphosis Angle Using a Deep Learning Approach: A Cross-Sectional Study on Young Adults

1
Department of Biomedical Engineering, Faculty of Engineering, Başkent University, Ankara 06790, Turkey
2
Department of Electrical and Electronics Engineering, Faculty of Engineering, Ankara University, Ankara 06830, Turkey
3
Department of Physiotherapy and Rehabilitation, Başkent University, Ankara 06790, Turkey
*
Author to whom correspondence should be addressed.
Diagnostics 2025, 15(11), 1422; https://doi.org/10.3390/diagnostics15111422
Submission received: 24 February 2025 / Revised: 16 May 2025 / Accepted: 21 May 2025 / Published: 3 June 2025

Abstract

:
Objectives: In healthy young adults, thoracic kyphosis can be attributed to a number of factors, including a sedentary lifestyle, stress, poor posture, activity and daily habits, muscle pain, fatigue, and anxiety. In regard to clinical diagnosis and evaluation methods, high-cost radiological measurements and a variety of non-radiological clinical methods are employed. In this study, a decision support system that performs automatic thoracic kyphosis angle measurements has been developed with the objective of avoiding exposure of the human body to radiation and reducing the time required for measurements. Methods: The features were determined with reference to the thoracic kyphosis measurements that were manually marked by the expert on the subjects. The kyphosis angle was calculated by automatically identifying the T1 and T12 points through image segmentation using a convolutional neural network (CNN), which is a type of deep learning algorithm. Results: Intra-class consistency of ICC > 0.95 (p < 0.05) and internal consistency reliability of Cronbach’s α = 0.947 are obtained. Conclusions: The results demonstrate that the proposed algorithm exhibits high intra-class consistency and high internal consistency reliability to provide an automated thoracic kyphosis angle measurement system.

1. Introduction

Thoracic kyphosis is a natural, physiological curvature formed by the vertebrae and discs in the form of an anterior concave between the T1 and T12 vertebrae in the sagittal plane. While thoracic kyphosis is considered “normal” at values between 20° and 40° in young adults [1], it has been observed that increased kyphosis can be seen in adults older than 40 years of age. In older adults, age-related increased kyphosis can reach up to 50° [2,3].
Postural thoracic kyphosis, defined between 20 and 40 degrees, describes increased kyphotic curvatures resulting from postural habits, irrespective of genetics or the impact of various diseases that affect the vertebral column structurally. In examining the factors that contribute to postural kyphosis, activities that promote poor posture, such as a sedentary lifestyle, limited mobility, weak postural muscles, and prolonged use of technological devices, warrant particular attention. Consequently, in addition to the deterioration in the individual’s quality of life, musculoskeletal issues and pain are frequently encountered as a consequence of increased thoracic kyphosis. A study has indicated that an increase in thoracic kyphosis results in a disruption to the scapular rhythm, leading to a reduction in shoulder movement in multiple directions [4]. Furthermore, it has been documented that an excessive increase in thoracic kyphosis has a detrimental impact on shoulder joint mobility and is a primary cause of cervical pain [5]. Furthermore, it has been documented that as thoracic kyphosis progresses, there is a concomitant weakening of the respiratory system and an increase in pulmonary problems. This is attributed to factors such as increased abdominal pressure and the pressure of the ribs on the diaphragm [6]. Consequently, while increased thoracic kyphosis has a detrimental impact on the individual’s quality of life, it necessitates treatment due to the emergence of secondary complications and results in elevated healthcare expenditures. In such cases, it is crucial to accurately assess the degree and severity of the curvature through the use of valid and reliable evaluation methods and to intervene early.
The method most widely accepted as the gold standard for evaluating thoracic kyphosis is the Cobb angle, which is obtained by lateral radiographic measurement [7]. The Cobb angle is a valid and reliable method frequently used in diagnosis [8]. Although radiographic evaluation provides highly reliable results regarding the degree of thoracic curvature, it has been asserted that it exposes the patient to elevated levels of potentially harmful radiation, is not readily accessible in a clinical setting, and its utilization is constrained due to its cost [4]. In light of these considerations, a range of alternative methods have been developed for the clinical evaluation of thoracic kyphosis, which may offer a viable alternative to radiographic assessment. The flexicurve meter is particularly suited to widespread use in the clinic, offering a simple, low-cost solution. However, although the measurement process with a flexicurve meter is relatively straightforward, it necessitates the performance of calculations on millimetric paper, and the experience of the evaluator may potentially influence the results obtained. Furthermore, it has been demonstrated that there is a considerable correlation between the Cobb angle and the data obtained from clinical measurement tools [1,2,4]. It is important to note that the choice of measurement tool may be influenced by various factors, including the strength of the paravertebral muscles in a standing position or the stretching effect on the thoracic region depending on the evaluation position. This highlights the necessity for a more sensitive measurement tool to ensure accurate and reliable results.
A substantial number of studies in the literature have employed manual measurement of the Cobb angle or kyphosis. In a study published in 2020, Grindle [9] and colleagues investigated a method for estimating the kyphosis angle that combined the flexicurve, Cobb angle-based marker, and camera systems. The authors compared their evaluation method with three different non-radiological and commonly used estimation methods, finding disparate values and weak to moderate correlations with each of them.
The use of convolutional neural networks (CNNs) provides some advantages in automatically extracting hierarchical spatial features from complex visual data. In addition, CNN models show significant advantages in segmentation tasks. Specifically, CNN-based models can accurately identify object boundaries and capture fine-grained structural details, which are essential for achieving high segmentation precision.
Due to all these necessities, the aim of this study is to develop an assessment tool based on a deep learning approach that provides automatic measurement of kyphosis angles and to determine its validity in young adults.
The following is a description of the structure of the article: In Section 2, the dataset utilized in this study is presented. Furthermore, the proposed algorithm is elucidated in comprehensive detail. Section 3 presents the results of the deep learning algorithm and kyphosis angle detection method. Section 4 presents the conclusions, contributions, and novel aspects of the paper.

2. Materials and Methods

In this study, images of 125 subjects were captured in their everyday attire. The T1 and T12 points, as identified by the expert, and the features derived from the training set, along with the deep learning architecture, were trained for segmentation. Initially, the silhouettes of the subjects within the images were segmented using a CNN algorithm.
Subsequently, the T1 and T12 points of the subjects were automatically detected in the test images by leveraging the features acquired from the training set. Subsequently, the kyphosis angle was calculated automatically using the coordinates of the T1 and T12 points.

2.1. Subjects and Demographics

Healthy adults between the ages of 18 and 40 were included in the study with the approval of the Başkent University Non-Interventional Clinical Research Ethics Committee (approval number: E-91694447-604.01-345559, dated 22 May 2024). Written informed consent was obtained from all participants. Volunteers who met the inclusion criteria were enrolled in the study. Clinical evaluations were conducted by a physiotherapist who is an expert in the field with 12 years of professional experience. The inclusion criteria were as follows: being between 18 and 40 years of age and volunteering to participate in the study. Exclusion criteria included: having a diagnosed rheumatic, systemic, or neurological disease affecting the musculoskeletal system (particularly the spine); having a diagnosis of scoliosis; having undergone spinal surgery; and being pregnant.

2.2. Image Collection and Dataset Augmentation

In this study, the Intel® RealSense™ Depth Camera (D435i; Intel Corporation, Santa Clara, CA, USA) was used for non-radiographic imaging. It provides a maximum depth resolution of 1280 × 720 pixels and a RGB resolution of up to 1920 × 1080 pixels. The system supports depth streaming at up to 90 frames per second (FPS) and offers a diagonal field of view of approximately 70°. The effective depth sensing range varies from 0.3 m to over 4 m. The physical dimensions of the camera are approximately 90 mm × 25 mm × 25 mm.
In this study, a dataset was constructed by taking images of subjects who had provided voluntary consent to participate. The images of the subjects were captured at consistent distances and with an identical background using the camera system installed in the university laboratory. The dataset comprises 125 sagittal images of subjects in a standing position, with the dorsal region visible.
Research Figure 1 depicts the camera system installed in the university laboratory and a participant engaged in the evaluation process. The dataset was augmented through the application of a data augmentation technique. As a result of the background modification, the dataset was expanded to comprise 375 images.

2.3. Clinical Assessment with Flexicurve Meter

Following the recording of the participants’ demographic information, the evaluation of their thoracic kyphosis was conducted with the flexicurve system. Thereafter, the data obtained from the evaluations were calculated and subjected to statistical analysis. Furthermore, the camera system utilized in the university laboratory enabled the acquisition of images of the subjects at identical distances and with an identical background, thus facilitating the creation of a comprehensive dataset.
The reliability of non-radiological measurement methods used to assess thoracic kyphosis is comparable to that of the Cobb angle [10]. Among these non-radiological measurement methods, the Debrunner measurement method, the kyphosis angle, the flexicurve kyphosis index, and the flexicurve are the most commonly utilized in clinical settings. The findings of the study indicate that there is no discernible difference between these methods in terms of the degree of concordance between their evaluation results for thoracic kyphosis and those obtained using the Cobb angle. In the clinical evaluation of thoracic kyphosis, the flexicurve meter was employed. The measurement and calculation procedures of the assessment with the flexicurve tool took 15 min for each participant.
The subject was instructed to assume an upright, comfortable posture without any clothing. The thoracic curvatures of the participants were measured by a physiotherapist from the thoracic spine between T1 and T12 in full contact with the flexicurve meter (Figure 2a). The data obtained from the flexicurve meter were transferred to the millimetric paper surface (Figure 2b), and the depth (d) and length (L) values were determined and recorded in the evaluation form [9] (Figure 2). The d and L data obtained from this measurement were calculated using the formula given in (1) and recorded as theta value for use in the statistical analysis of the participants whose clinical measurement was completed [9].
θ = 2 sin 1 4 d L 4 d 2 + L 2

2.4. Automated Kyphosis Angle Detection Algorithm Using CNN

The proposed algorithm was implemented with MATLAB 2021a [11] via a computer with an Intel Core i7 processor (2.60 GHz; Intel Corporation, Santa Clara, CA, USA) and 16.0 GB RAM. The flowchart of the proposed algorithm is provided in Figure 3 for reference.
The initial step involved the creation of the dataset, which was obtained by capturing the participants in a rectangular area three meters away from the camera system installed in the university laboratory, with the participants standing in front of an empty background. The dataset comprises sagittal images of 125 subjects, with the dorsal region visible. To augment the dataset, the number of images was increased to 375 by modifying the backgrounds of each image. Furthermore, publicly available segmentation images [12] were incorporated into the existing dataset to enhance the performance of the CNN algorithm in terms of segmentation. The publicly available dataset comprises images with manually labeled person instances. In conclusion, the dataset was augmented to comprise 553 images, which were included in the study. The publicly available segmentation images were utilized exclusively for training purposes and were not employed in the testing phase. The 375 images in the dataset have been divided into three sets for the purposes of training, validation, and testing, with 70%, 15%, and 15% of the images, respectively, allocated to each set. Subsequently, the body boundaries of each subject were delineated manually via the MATLAB segmentation application, thus constituting the training stage of the CNN algorithm. Once the training and labeled data had been obtained, the training process of the CNN algorithm was initiated. The CNN algorithm employs the ResNet50 structure. The maximum number of epochs, mini-batch size, and initial learning rate were set to 10, 4, and 0.001, respectively. The training phase yielded the results required to generate the CNN model to be used in semantic segmentation.
The training phase of the automated semantic segmentation algorithm with CNN was completed in 19 min and 20 s, while the test duration for each subject was 0.81 s.
The coordinates of the T1 and T12 points identified by the subject matter expert (Figure 4) through manual measurement were determined on the image. Furthermore, the coordinates of the cranial vertex and the points of ground contact were also determined on the image. The ratios of the distances to T1 and T12 points were determined for each subject with reference to the coordinates of the head and foot. The ratios r 1 , r 2 , and r 3 were subsequently calculated by averaging the ratios for all subjects. As illustrated in Figure 4, the ratio of the distance between the top of the head and T1 to the height of the person (in pixels) was designated as r 1 , the ratio of the distance between T1 and T12 to the height of the person was designated as r 2 , and the ratio of the distance between T12 and the bottom of the foot to the height of the person was designated as r 3 . By employing the Equations between (2) and (5), the height of a training subject, along with the average ratios r 1 , r 2 , and r 3 , can be calculated. The pixel coordinates of the top of the head, T1 point, T12 point, and the bottom of the foot of the ith training subject are represented by P i 1 = ( x i 1 , y i 1 ) , P i 2 = x i 2 , y i 2 , P i 3 = x i 3 , y i 3   and P i 4 = ( x i 4 , y i 4 ) , respectively.
H e i g h t i = y i 1 y i 4
r 1 = 1 N i = 1 N y i 1 y i 2 H e i g h t i
r 2 = 1 N i = 1 N y i 2 y i 3 H e i g h t i
r 3 = 1 N i = 1 N y i 3 y i 4 H e i g h t i
Following the application of semantic segmentation to the original images in the dataset via a CNN model, binary images containing only human and background were obtained. Figure 5 illustrates the original subject image and its binary image, which were extracted using semantic segmentation.
Subsequently, the T1 and T12 points were automatically determined using the previously calculated r 1 , r 2 , and r 3 values. The L and d parameters were obtained by utilizing the reference points T1 and T12, as illustrated in Figure 6. The kyphosis angle was determined using the formula provided in Equation (1).

2.5. Evaluation Metrics

The evaluation of the proposed semantic segmentation algorithm was conducted using a series of metrics, including global accuracy, mean accuracy, mean intersection over union (mean IoU), weighted intersection over union (weighted IoU), and mean boundary F1 score (mean BF score) as given in Table 1 [13,14].
Global accuracy is a metric used to assess the overall accuracy of a model by comparing the number of correctly predicted pixels to the total number of pixels in the dataset. The global accuracy formula is provided in (6) as follows:
G l o b a l   A c c u r a c y = N u m b e r   o f   c o r r e c t l y   c l a s s i f i e d   p i x e l s T o t a l   n u m b e r   o f   p i x e l s
In contrast to global accuracy, which assesses the overall proportion of correctly classified pixels, mean accuracy offers a class-specific evaluation by calculating the accuracy for each class individually and subsequently averaging these values. The mean accuracy formula is provided in (7). In this formula, N represents the total number of classes.
M e a n   A c c u r a c y = 1 N i = 1 N N u m b e r   o f   c o r r e c t l y   c l a s s i f i e d   p i x e l s   f o r   c l a s s   i T o t a l   n u m b e r   o f   p i x e l s   f o r   c l a s s   i
The mean intersection over union (mean IoU) is a frequently utilized metric for the assessment of semantic segmentation models. It offers a comprehensive assessment of the degree of alignment between the predicted segmentation and the ground truth, taking into account both false positives and false negatives. The formulas for intersection over union and mean intersection over union are provided in Equations (8) and (9), respectively.
I o U i = A r e a   o f   i n t e r s e c t i o n A r e a   o f   u n i o n
M e a n   I o U = 1 N i = 1 N I o U i
Weighted intersection over union (weighted IoU) represents a variation of the standard IoU metric that takes into account the relative importance of different classes in a semantic segmentation task. This is particularly advantageous when working with datasets where certain classes are more significant or prevalent than others. The weighted intersection over union formula is provided in (10). In this formula, ω i represents the weight assigned to class i.
W e i g h t e d   I o U = i = 1 N ω i × I o U i i = 1 n ω i
The mean boundary F1 score (mean BF score) is a metric utilized in the field of semantic segmentation to assess the degree of correspondence between the predicted boundaries of segmented objects and the ground truth boundaries. In contrast to metrics such as IoU, which concentrate on pixel-level precision within regions, the mean BF score is specifically designed to assess the accuracy of boundary delineation, which is of paramount importance in tasks where precise object outlines are essential. The formulas for the F1 score and mean BF score are provided in Equations (11) and (12), respectively.
F 1   S c o r e i = 2 × P r e c i s i o n i × R e c a l l i P r e c i s i o n i + R e c a l l i
M e a n   B F   S c o r e = 1 N i = 1 N F 1   S c o r e i

2.6. Statistical Analysis

The statistical analysis of the study was conducted using the Statistical Package for the Social Sciences (SPSS) software, version 21.0 (SPSS Inc., Chicago, IL, USA). Prior to conducting parametric analysis, all data were subjected to normality testing (Kolmogorov–Smirnov test) and homogeneity testing (Levene test). Parametric variables were compared using Student’s t-test, while nonparametric variables were compared using the Mann–Whitney U test. Descriptive analyses were presented using means and standard deviations for variables with a normal distribution and medians and interquartile ranges (25th to 75th percentile) for variables that were not normally distributed or ordinal. For the purposes of this study, a p-value of less than 0.05 was considered statistically significant.

3. Results

This study presents an algorithm for the automatic detection of the kyphosis angle. A CNN was trained on the generated dataset to create a segmentation model. The ratios pertaining to the T1 and T12 points were automatically determined on the binary images, and the kyphosis angle was subsequently calculated.
The CNN segmentation algorithm was trained on 440 of the total 553 image data, validated on 56, and tested on 56. Following the segmentation process, the kyphosis angles were calculated using the original images of all subjects in the study for the tests and compared with the gold standard for the evaluation of the algorithm.
The results of the semantic segmentation are presented in Table 1. As indicated in the table, the algorithm exhibits a 99% accuracy rate in the segmentation of person silhouettes.
The preliminary biostatistical evaluation indicated that a sample size of 115 individuals would be required to achieve 85% power and a 0.05% margin of error in the study. A total of 125 volunteers (n = 67 female, n = 58 male) participated in the proposed study. Subsequent biostatistical analysis revealed that the study was completed with 97.74% power.
Among the 125 participants, 53.6% identified as female and 46.4% as male. All individuals included in the study were healthy young adults, with a mean age of 21.55 ± 1.97 years. The demographic characteristics of the study population are summarized in Table 2.
The results of the automatic kyphosis angle measurement obtained with the algorithm were subjected to statistical evaluation through a comparison with flexicurve measurements. Measurements of 10 patients in the dataset are given in Table 3. In this table, the units of measurement for body length, length, and distance are centimeters (cm), and weight is kilograms (kg). In addition, the actual kyphosis angle given in this table is the angle (°) measured by the expert, while the predicted kyphosis angle (°) is obtained by the proposed algorithm.
The objective of both measurement techniques was to ascertain the clinical applicability and appropriateness of the proposed algorithm as an assessment method. Consequently, the Spearman correlation coefficient and Cronbach’s alpha coefficient were calculated and evaluated. The level of statistical significance for the correlation data was set at an r-value of ≥0.50 and a p-value of ≤0.05.
As illustrated in Table 4, the correlation between the kyphosis angle measured by the software and the theta angle obtained from the flexicurve was found to be highly significant (rho = 0.913, p ≤ 0.001). In Table 4, the parameters n and p in Table 4 represent the number of subjects included in the study and the significance level, respectively.
In order to ascertain the internal consistency coefficient, the Spearman correlation was calculated. A test is deemed reliable if its internal consistency coefficient exceeds 0.60, and it is considered to have high internal consistency if its coefficient is above 0.90. The data obtained from the study demonstrated that the current algorithm exhibited high internal consistency, as evidenced by the calculated Cronbach’s α value of 0.947 and the observed kyphosis angle of 31.83 ± 10.05 (Table 5, ICC > 0.95, p < 0.05).

4. Discussion and Conclusions

The objective of this study was to ascertain the validity of the proposed algorithm in the evaluation of thoracic kyphosis. The results of the study demonstrated that the proposed algorithm, which exhibits high internal consistency and reliability, is a valid method for evaluating thoracic kyphosis.
The evaluation of the flexicurve meter is defined as a non-radiological evaluation method. In approaches that utilize the Cobb angle as a reference, the data obtained from the measurements must be converted into a clinical interpretation through calculations using formulas [10]. However, the proposed posture evaluation algorithm can instantaneously present the requisite evaluation stages regarding posture to the researcher in numerical form within the algorithmic segmentation section. Therefore, the fact that it is straightforward to use in a clinical setting and has been demonstrated to be reliable increases the preference for the proposed posture evaluation algorithm (non-specialist wearing) compared to other non-radiological measurement methods.
A substantial body of evidence exists demonstrating the validity and reliability of the kyphosis angle method with the flexicurve for clinical use. This is evidenced by numerous studies, as referenced in the literature [1,4,10,15,16,17,18]. The kyphosis angle evaluation method with flexicurve is a widely utilized approach in a multitude of studies, including those examining reliability, pain, hyperkyphosis, and postural changes over time. Despite its widespread use in kyphosis angle measurement, the method is subject to criticism, with concerns that the clinical experience and application skills of the practitioner taking the measurement may affect the measurement outcome [4]. In light of the aforementioned details, it is evident that the evaluations were conducted by an experienced physiotherapist, a subject matter expert in the field, with the objective of ensuring the reliability of the flexicurve measurement results. This can be regarded as a noteworthy strength of our study.
A review of the literature reveals a paucity of studies investigating the automatic measurement of kyphosis or Cobb angles. Park et al. [15] constructed a database by acquiring images from 18 subjects with and without specialized outerwear. By employing deep neural networks, the researchers were able to ascertain the thoracic kyphosis and lumbar lordosis angles with an error of less than 3 pixels (0.9 cm). Wong et al. [16] developed an automatic algorithm for the measurement of kyphotic and lordotic angles on 17 radiographic images, employing machine learning techniques. The reported accuracy rates for their method were 95%, 100%, and 100% for T1–T12, T5–T12, and L1–L5, respectively. Galbusera et al. [17] employed a CNN to calculate spinal disorders and deformities in 50 patients from their radiological images. The standard errors of the estimated parameters were reported to range from 2.7° (for the pelvic tilt) to 11.5° (for the L1–L5 lordosis). Alukaev et al. [18] put forth a fully automated deep learning (DL) framework for the vertebral morphometry and Cobb angle measurement derived from three-dimensional (3D) computed tomography (CT) images of the spine obtained from 156 subjects. The results yielded a Pearson’s correlation coefficient of 0.943, 0.928, and 0.996, respectively.
This study recorded the demographic characteristics and non-radiographic images of healthy young adults (mean age: 21.55 ± 1.97 years), followed by the automated assessment of thoracic kyphosis. The evaluation of thoracic kyphosis is conducted by the expert using flexicurve measurements, which are then taken as the gold standard for expert results. Semantic segmentation with a CNN was employed to generate binary images, delineating the body and background components of all subjects. Subsequently, the coordinates of T1 and T12 are identified automatically from the images. Ultimately, the kyphosis angle is calculated using the formula (1). The kyphosis angles of the participants were found to be 31.83 ± 10.05 (p ≤ 0.001), exhibiting high consistency (Cronbach’s α = 0.947) and high validity (rho = 0.913, p < 0.05).
Table 6 presents a comparative analysis of the findings from the existing literature and the results of the proposed study. As evidenced by the data presented in the table, the number of subjects included in the proposed study and the calculated ICC values are higher than those observed in the existing literature. The range of the intraclass correlation coefficient (ICC) values for the proposed automatic algorithm was found to be 0.925–0.963. The studies presented in the table employed automatic algorithms, whereas the results reported by Grindle et al. [9] were obtained through manual measurements.
The ICC achieved by the proposed method ranged from 0.925 to 0.963, demonstrating excellent reliability and strong agreement with expert-defined reference measurements. In comparison to previous studies summarized in Table 6, Wong et al. [16] reported an ICC of 0.91 using machine learning techniques applied to radiographic images, which is slightly lower than the value obtained in our study, despite relying on high-resolution radiological data. Grindle et al. [9], who performed manual measurements using flexicurve and marker-based methods, reported ICC values between 0.508 and 0.829, indicating moderate to good reliability and higher susceptibility to inter- and intra-observer variability. Alukaev et al. [18] employed a deep learning framework on three-dimensional CT scans and achieved very high Pearson correlation coefficients (up to 0.996 for the Cobb angle); however, their approach depends on radiological imaging, which is costly, invasive, and less suitable for routine use. Galbusera et al. [17] reported an R2 value of 0.79 based on CNN-assisted analysis of radiographic images, reflecting moderate agreement with expert assessments, and their dataset was limited to 50 subjects.
Therefore, the proposed algorithm provides a considerable advantage in terms of measurement efficiency. While the conventional flexicurve method requires approximately 15 min per subject due to manual placement, tracing, and calculation steps, the proposed automated algorithm completes the entire kyphosis angle detection process in less than 1 s per subject. This substantial reduction in evaluation time facilitates early diagnosis and significantly reduces the clinical workload associated with manual postural assessments. Moreover, its ability to deliver rapid, objective, and reproducible measurements without the need for radiographic imaging or specialized equipment further enhances its clinical utility and scalability.
The development of an automated decision support system for thoracic kyphosis measurement has the potential to significantly impact clinical practice by reducing reliance on high-cost, radiation-based diagnostic methods and accelerating the measurement process. The demonstrated high intra-class consistency (ICC > 0.95) and internal reliability (Cronbach’s α = 0.947) indicate that this system could provide a reliable and safe alternative for measuring thoracic kyphosis angle. The proposed study may enhance diagnostic efficiency and patient safety, supporting broader applications in clinical settings and contributing to advancements in non-invasive medical imaging technologies.
The contributions of the proposed method can be summarized as follows: The proposed method offers several advantages. Firstly, it employs non-radiological body images, obviating the need for specialized clothing. Secondly, it utilizes an automated algorithm for measuring the kyphosis angle with high accuracy. Thirdly, it avoids continuous exposure of subjects to radiation using non-radiological images. Fourthly, the method is both rapid and cost-effective, due to the absence of specialized clothing.
One limitation of the proposed study is the narrow age range of the participants. A more comprehensive understanding of thoracic kyphosis can be achieved in future studies through the inclusion of participants from a wider age range and the examination of age groups separately.

Author Contributions

Conceptualization, O.K., I.E.D. and N.O.P.; methodology, O.K., Z.T. and C.F.; software, C.F. and Z.T.; validation, O.K., C.F., Z.T. and I.E.D.; formal analysis, O.K., Z.T. and C.F.; investigation, O.K., Z.T. and C.F.; resources, O.K. and N.O.P.; data curation, I.E.D. and N.O.P.; writing—original draft preparation, O.K., Z.T., C.F. and I.E.D.; writing—review and editing, O.K., Z.T., C.F., I.E.D. and N.O.P.; visualization, C.F. and Z.T.; supervision, Z.T. and N.O.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Başkent University Non-Interventional Clinical Research Ethics Committee (approval number: E-91694447-604.01-345559, dated 22 May 2024).

Informed Consent Statement

Written informed consent has been obtained from the patient(s) to publish this paper.

Data Availability Statement

The data presented in this study are available on request from the corresponding author due to ethical restrictions and the need to protect participant confidentiality.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Roghani, T.; Zavieh, M.K.; Manshadi, F.D.; King, N.; Katzman, W. Age-related hyperkyphosis: Update of its potential causes and clinical implications—Narrative review. Aging Clin. Exp. Res. 2017, 29, 567–577. [Google Scholar] [CrossRef] [PubMed]
  2. Koelé, M.C.; Lems, W.F.; Willems, H.C. The Clinical Relevance of Hyperkyphosis: A Narrative Review. Front. Endocrinol. 2020, 11, 5. [Google Scholar] [CrossRef] [PubMed]
  3. Zappalá, M.; Lightbourne, S.; Heneghan, N.R. The relationship between thoracic kyphosis and age, and normative values across age groups: A systematic review of healthy adults. J. Orthop. Surg. Res. 2021, 16, 447. [Google Scholar] [CrossRef] [PubMed]
  4. Barrett, E.; McCreesh, K.; Lewis, J. Reliability and validity of non-radiographic methods of thoracic kyphosis measurement: A systematic review. Man. Ther. 2014, 19, 10–17. [Google Scholar] [CrossRef] [PubMed]
  5. Kanlayanaphotporn, R. Changes in sitting posture affect shoulder range of motion. Bodyw. Mov. Ther. 2014, 18, 239–243. [Google Scholar] [CrossRef] [PubMed]
  6. Fu, J.; Zhang, G.; Zhang, Y.; Liu, C.; Zheng, G.; Song, K. Pulmonary function improvement in patients with ankylosing spondylitis kyphosis after pedicle subtraction osteotomy. Spine 2014, 39, E1116–E1122. [Google Scholar] [CrossRef] [PubMed]
  7. Briggs, A.M.; Wrigley, T.V.; Tully, E.A.; Adams, P.E.; Greig, A.M.; Bennell, K.L. Radiographic measures of thoracic kyphosis in osteoporosis: Cobb and vertebral centroid angles. Skelet. Radiol. 2007, 36, 761–767. [Google Scholar] [CrossRef] [PubMed]
  8. Harrison, D.E.; Cailliet, R.; Harrison, D.D.; Janik, T.J.; Holland, B. Reliability of Centroid, Cobb, and Harrison Posterior Tangent Methods. Spine 2001, 26, e227–e234. [Google Scholar] [CrossRef] [PubMed]
  9. Grindle, D.M.; Mousavi, S.J.; Allaire, B.T.; White, A.P.; Anderson, D.E. Validity of flexicurve and motion capture for measurements of thoracic kyphosis vs standing radiographic measurements. JOR Spine 2020, 3, e1120. [Google Scholar] [CrossRef] [PubMed]
  10. Greendale, G.A.; Nili, N.S.; Huang, M.H.; Seeger, L.; Karlamangla, A.S. The reliability and validity of three non-radiological measures of thoracic kyphosis and their relations to the standing radiological Cobb angle. Osteoporos. Int. 2011, 22, 1897–1905. [Google Scholar] [CrossRef] [PubMed]
  11. The MathWorks Inc. Deep Learning Toolbox (R2021a). Available online: https://www.mathworks.com (accessed on 12 April 2024).
  12. Supervisely Persons Dataset. Available online: https://www.kaggle.com/datasets/tapakah68/supervisely-filtered-segmentation-person-dataset (accessed on 13 March 2024).
  13. Everingham, M.; Van Gool, L.; Williams, C.K.; Winn, J.; Zisserman, A. The Pascal Visual Object Classes (VOC) Challenge. Int. J. Comput. Vis. 2010, 88, 303–338. [Google Scholar] [CrossRef]
  14. Csurka, G.; Larlus, D.; Perronnin, F. What is a good evaluation measure for semantic segmentation? In Proceedings of the British Machine Vision Conference (BMVC), Bristol, UK, 9–13 September 2013; pp. 32.1–32.11. [Google Scholar]
  15. Park, S.; Yoo, H.J.; Jang, J.S.; Lee, S.H. Automated non-contact measurement of the spine curvature at the sagittal plane using a deep neural network. Clin. Biomech. 2024, 111, 106146. [Google Scholar] [CrossRef] [PubMed]
  16. Wong, J.; Reformat, M.; Parent, E.; Lou, E. Using machine learning to automatically measure kyphotic and lordotic angle measurements on radiographs for children with adolescent idiopathic scoliosis. Med. Eng. Phys. 2024, 130, 104202. [Google Scholar] [CrossRef] [PubMed]
  17. Galbusera, F.; Niemeyer, F.; Wilke, H.J.; Bassani, T.; Casaroli, G.; Anania, C.; Sconfienza, L.M. Fully automated radiological analysis of spinal disorders and deformities: A deep learning approach. Eur. Spine J. 2019, 28, 951–960. [Google Scholar] [CrossRef] [PubMed]
  18. Alukaev, D.; Kiselev, S.; Mustafaev, T.; Ainur, A.; Ibragimov, B.; Vrtovec, T. A deep learning framework for vertebral morphometry and Cobb angle measurement with external validation. Eur. Spine J. 2022, 31, 2115–2124. [Google Scholar] [CrossRef] [PubMed]
Figure 1. (a) University laboratory, (b) installed camera system, (c) participant in the evaluation area.
Figure 1. (a) University laboratory, (b) installed camera system, (c) participant in the evaluation area.
Diagnostics 15 01422 g001
Figure 2. (a) Measuring thoracic curvature with flexicurve. (b) Transferring the flexicurve meter to millimetric paper.
Figure 2. (a) Measuring thoracic curvature with flexicurve. (b) Transferring the flexicurve meter to millimetric paper.
Diagnostics 15 01422 g002
Figure 3. Flowchart of the proposed automated kyphosis angle detection algorithm.
Figure 3. Flowchart of the proposed automated kyphosis angle detection algorithm.
Diagnostics 15 01422 g003
Figure 4. Marking certain points to calculate r 1 , r 2 , and r 3 .
Figure 4. Marking certain points to calculate r 1 , r 2 , and r 3 .
Diagnostics 15 01422 g004
Figure 5. (a) Original subject image. (b) Binary image extracted using semantic segmentation.
Figure 5. (a) Original subject image. (b) Binary image extracted using semantic segmentation.
Diagnostics 15 01422 g005
Figure 6. Depicting the lengths L and d and the T1 and T12 coordinates on the binary image.
Figure 6. Depicting the lengths L and d and the T1 and T12 coordinates on the binary image.
Diagnostics 15 01422 g006
Table 1. Semantic segmentation results.
Table 1. Semantic segmentation results.
Global AccuracyMean AccuracyMean IoUWeighted IoUMean BF Score
0.998790.991470.985610.99760.9997
Table 2. Demographic characteristics of the participants (n = 125).
Table 2. Demographic characteristics of the participants (n = 125).
FemaleMaleAgeHeightWeightBMI
53.6%46.4%21.55172.7770.9223.53
(n = 67)(n = 58)±1.97±9.91±18.47±4.90
Table 3. Measurements of 10 patients in the dataset.
Table 3. Measurements of 10 patients in the dataset.
Patient NumberGenderAgeBody Length WeightLength (L)Distance (d)Actual Kyphosis AnglePredicted Kyphosis Angle (θ)
1Male2219594322.129.90928.070
2Male1918572321.927.08828.268
3Male201706528.51.727.21231.782
4Male2218796332.230.37826.809
5Female211666528.51.524.03623.143
6Female201665527.51.728.19225.529
7Female181625325.51.323.28724.480
8Female211786627.52.134.73431.589
9Male231807433.5227.23629.960
10Female201735026.51.830.94426.330
Table 4. Correlations between flexicurve measurements and the calculation results of the algorithm for the kyphosis angle.
Table 4. Correlations between flexicurve measurements and the calculation results of the algorithm for the kyphosis angle.
Spearman’s Rho (r)0.913 *
p≤0.001
n125
* Correlation is significant at the 0.01 level (2-tailed).
Table 5. Validity of proposed algorithm.
Table 5. Validity of proposed algorithm.
Mean ± SDICC (95%)Cronbach’s αp
31.83 ± 10.050.925–0.9630.947≤0.001 *
* p < 0.05.
Table 6. Comparison table with the studies in the literature and the proposed study.
Table 6. Comparison table with the studies in the literature and the proposed study.
AuthorsMethod/DatasetSubject NumberResult
Wong et al. [16]Machine learning/17ICC = 0.91
radiographic images
Galbusera et al. [17]CNN/radiographic images50Correlations in variances (R2) = 0.79
Alukaev et al. [18]Deep learning/radiographic images156Pearson’s correlation coefficients for the Cobb angle = 0.996, for the vertebral body = 0.943, and for the intervertebral disk = 0.928
Grindle et al. [9]Manual measuremet with flexicurve and marker40ICC = 0.508–0.829
Proposed studyCNN and coordinate measurements/camera images without special wearing125ICC = 0.925–0.963
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

Kocak, O.; Ficici, C.; Dogan, I.E.; Telatar, Z.; Ozunlu Pekyavas, N. Automated Detection of the Kyphosis Angle Using a Deep Learning Approach: A Cross-Sectional Study on Young Adults. Diagnostics 2025, 15, 1422. https://doi.org/10.3390/diagnostics15111422

AMA Style

Kocak O, Ficici C, Dogan IE, Telatar Z, Ozunlu Pekyavas N. Automated Detection of the Kyphosis Angle Using a Deep Learning Approach: A Cross-Sectional Study on Young Adults. Diagnostics. 2025; 15(11):1422. https://doi.org/10.3390/diagnostics15111422

Chicago/Turabian Style

Kocak, Onur, Cansel Ficici, Ilknur Ezgi Dogan, Ziya Telatar, and Nihan Ozunlu Pekyavas. 2025. "Automated Detection of the Kyphosis Angle Using a Deep Learning Approach: A Cross-Sectional Study on Young Adults" Diagnostics 15, no. 11: 1422. https://doi.org/10.3390/diagnostics15111422

APA Style

Kocak, O., Ficici, C., Dogan, I. E., Telatar, Z., & Ozunlu Pekyavas, N. (2025). Automated Detection of the Kyphosis Angle Using a Deep Learning Approach: A Cross-Sectional Study on Young Adults. Diagnostics, 15(11), 1422. https://doi.org/10.3390/diagnostics15111422

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