Received: March 13, 2025
Accepted: January 20, 2026
Available: February 12, 2026
Parkinson's disease (PD) is one of the most prevalent neurodegenerative disorders worldwide, with over 10 million cases reported globally. Currently, gait analysis is crucial for quantifying motor abnormalities, and most methods rely on physical markers, which alter patients' natural movements and have limitations in explaining spatiotemporal relationships of the joints. This study aimed to implement a markerless methodology that reconstructs gait postures and encodes spatiotemporal joint information as covariance descriptors, which are then used to discriminate between subjects with Parkinson's disease and healthy controls. The methodology consisted of a study of covariance encoding of postures and joint trajectories to identify potential coordination patterns that aid in PD classification. The results obtained in a population of 30 subjects, recorded in a total of 240 videos, approved by the Scientific Research Ethics Committee of Universidad Industrial de Santander (CEINCI), showed an average PD classification accuracy of 75% and an AUC of 74%. In conclusion, the correlation descriptors demonstrated the potential to discriminate between subjects with PD and healthy controls and to encode coordination patterns. Furthermore, the visual correlation maps show differences between the two groups, which can further support routine clinical analysis.
Keywords: Correlation matrices, covariance matrices, gait analysis, motion capture, Parkinson disease.
La enfermedad de Parkinson (EP) es uno de los trastornos neurodegenerativos más prevalentes en todo el mundo, con más de 10 millones de casos reportados a nivel mundial. Hoy en día, el análisis de la marcha es crucial para cuantificar anomalías motoras y en gran parte se basan en marcadores físicos, alterando los gestos naturales de los pacientes, con limitaciones para explicar las relaciones articulares espaciotemporales. Este trabajo tuvo como objetivo implementar una metodología sin marcadores físicos que recupera posturas de locomoción de la marcha y codificar información articular espaciotemporal como descriptores de covarianza, que se utilizan además para obtener discriminación entre sujetos con Parkinson y sujetos de control. La metodología empleada consistió en un estudio de codificación de covarianzas de posturas y trayectorias articulares para explicar posibles patrones de coordinación que benefician la clasificación de la EP. Los resultados obtenidos en una población de 30 sujetos, grabados en un total de 240 videos, avalado por el comité de ética en investigación científica de la Universidad Industrial de Santander (CEINCI), el enfoque propuesto fueron una clasificación de precisión de EP promedio del 75 % y un AUC del 74 %. Finalmente se concluye que los descriptores correlativos evidenciaron la capacidad potencial de discriminar sujetos con EP y codificar patrones de coordinación. Además, los mapas correlativos visuales muestran diferencias entre poblaciones, lo que puede respaldar aún más el análisis de rutina clínica.
Palabras clave: Matrices de correlación, matrices de covarianza, análisis de la marcha, captura de movimiento, enfermedad de Parkinson.
Parkinson’s disease (PD) is the second most prevalent neurodegenerative disorder worldwide, according to the World Health Organization
PD currently has no cure, and no definitive biomarker exists for its diagnosis or progression follow-up. Even worse, PD is multifactorial, presenting motor and non-motor symptoms that vary in detection time, magnitude, and occurrence. Gait, a complex process that involves coordinated movements, is crucial for characterizing PD motor symptoms, supporting early detection and disease monitoring
Marker-based systems quantify joint trajectories and postural behaviors, providing a valuable tool to assess motor alterations
PD-related motor alterations are analyzed through sensors measuring kinematic parameters
Recently, machine learning and deep learning have been applied to PD motor tracking
In this context, the objective of this work was to introduce a markerless methodology that recovers postures during gait locomotion exercise and represents kinematic information using coded covariance descriptors, with the capability to explain and discriminate coordination anomaly patterns associated with Parkinson’s disease. First, we computed joint trajectories and carried out a correlation analysis of the entire body to define potential patterns to Parkinson’s. For doing so, we built covariance matrices that summarize the dynamic of each joint trajectory and allow a coordination study of postural structure. The resultant covariance matrices are projected to supervise machine learning algorithms to obtain a Parkinson classification, regarding population control. Also, these covariance descriptors expose observational patterns that fully explain abnormal behaviors during locomotion. These features are predominant in clinical practice, for instance, to determine the coordination capability of subjects.
This work introduces a new covariance descriptor with the capability to recover coordination-associated gait patterns, computed from joint correlations during a walking exercise. To do so, markerless joint trajectories are computed from an OpenPose generator
2.1 Gait Data
This study includes a balanced dataset of 14 individuals with PD (age: 73 ± 7.45 years, 11 male) and 16 healthy controls (age: 70.4 ± 5.38 years, 8 male). PD participants were in disease severity stages 1 to 3 on the Hoehn and Yahr scale
Confounding variables were analyzed using logistic regression, evaluating gender and age. Odds ratios were 9.38 (crude) and 8.13 (adjusted), with p<0.05, indicating no significant confounding effects on gait analysis. The dataset ensures realistic motion capture, where later trials may exhibit more natural movement and slight fatigue. All participants provided informed consent, and the study received ethical approval.
Since covariance measures represent global second-order statistics primarily reflecting temporal variations, it was not necessary to include information like height or segmental physical dimensions in the analysis. Moreover, anthropometric information of this kind was not available in the present study.
This data collection was approved by the Scientific Research Ethics Committee of the Universidad Industrial de Santander (CEINCI) with approval code of 4110, under the ethical clearance for the project “Characterization of abnormal movements in Parkinson’s disease from oculomotor and gait patterns through multimodal approaches based on computer vision.” The study was supported by the external call from MINCIENCIAS under the framework of the 2022 ECOS-Nord Academic Mobility Program (Call No. 923). Documentation of the ethics approval is provided as supplementary material.
2.2 Markerless pose generation
We utilized OpenPose, a widely used pose estimator effective for sagittal-plane postural recovery
These S maps may also represent a potential intermediate gait representation that encodes positional joint maps during walking. Once the T refinement stages have been completed, the candidate parts are assembled using a bipartite graph matching process. A bipartite graph is created where the graph nodes represent detection candidates for j1 and j2, and the graph edges represent all possible connections between these candidates, with each edge weighted by the probability that the candidates are related. The objective is to find a matching in the bipartite graph that maximizes the total weight of the selected edges. This matching ensures that each detection candidate for j1 is associated with exactly one detection candidate for j2, and vice versa. As a result, the connection of different body parts with spatial and anatomical meaning is obtained (see an example in Figure 2).
The Part Affinity Fields (L) are 2D vector maps (L = {Li}; Li ∈ Rw×h×2) encode the orientation and magnitude of connections between body joints, modeling spatial and anatomical relationships (Figure 2). They are iteratively refined as: Lt = φ(Lt−1, F, St−1). Also, the Joint Confidence Maps (S) are probability maps (S = {Sj}; Sj ∈ Rw×h) that estimate the likelihood of each joint’s position. Their refinement is defined as St = ρ(Lt−1, F, St−1).
At the end of processing, OpenPose assembles detected joints into complete poses using bipartite graph matching. The graph nodes represent joint candidates j1 and j2, while edges encode connection probabilities. The optimal matching maximizes total edge weight, ensuring spatially and anatomically meaningful connections (Figure 2). Furthermore, the generation of joints is performed independently, without relying on a predefined centroid, allowing the reconstruction of human poses based solely on local joint relationships rather than a central reference point.
2.3 Gait descriptor from second-order matrices
Human gait results from the interaction of bodily subsystems enabling coordinated movement. Variability in these subsystems, such as dopamine deficits, can affect adaptability and control of locomotion. Gait correlation indexes help explain motor impairments by assessing coordination levels required for efficient movement
(1)
Where X n,j js the position of joint j at frame n, and X̄ j is its mean position across frames. This representation serves as both a compact descriptor of motor coordination and an explainable tool for medical experts. The covariance matrix can be normalized into a correlation matrix represented in (2).
(2)
Bounded between -1 and 1, where 0 indicates no linear dependency between joint trajectories. To analyze PD symptoms, we explore descriptors: one using only upper-limb joints, and another using lower-limb joints. These versions allow us to describe symptoms such as postural instability of the trunk, upper limb movement, or the capacity to walk effectively through synchronized movements. Alternatively, we computed postural correlations during locomotion to recover global coordination patterns of joints J across the N video frames. In this analysis, we assess the positional behavior in the X-axis of each of the J joints in each of the N frames.
Since covariance descriptors often contain redundant correlations, we perform spectral decomposition to extract the first k eigenvectors of Σ(j1, j2), forming a matrix V ∈ RJ×k. The reduced covariance matrix is represented in (3).
(3)
Where Λ contains the largest eigenvalues. These eigenvectors highlight key motion variations, aiding in PD characterization
2.4 PD classification
To classify Parkinsonian gait, we projected covariance descriptors of joint trajectories into five machine learning models: Random Forest (RF), Support Vector Machine (SVM), K-Nearest Neighbors (KNN), Gaussian Naive Bayes (NB), and Gradient Boosting (GB). The classifiers are described as follows:
· Random Forest (RF): A non-parametric classifier that constructs trees based on covariance matrices of joint coordinates. The final prediction is obtained via majority voting among trees, leveraging their diversity for robust classification
· Support Vector Machine (SVM): A kernel-based method that defines classification boundaries using support vectors. We employed a linear kernel to evaluate the descriptor’s effectiveness in distinguishing Parkinson’s from control groups. The optimization problem is defined as in (4).
(4)
Where yi is the class label, xi the covariance matrix, and N the number of samples.
· K-Nearest Neighbors (KNN): A non-parametric classifier that assigns labels based on the majority vote of the k-nearest neighbors, using Euclidean distance among covariance matrices
· Gaussian Naive Bayes (NB): A probabilistic classifier assuming Gaussian-distributed features, computing the posterior probability as defined as in (5).
(5)
Where C represents the class (Parkinson’s or Control)
· Gradient Boosting (GB): An iterative algorithm that optimizes a loss function by combining weak decision trees, as shown in (6).
(6)
Where ρm is the weight of the m-th tree. Regularization constraints such as tree depth help prevent overfitting
2.5 Experimental setup
From each video, we resized the spatial dimension size to 95×95(h×w) and selected N = 70 intermediate frames that represent around one or two gait cycles. In each video recording, a complete gait cycle is ensured, guaranteeing a comprehensive exposure of kinematics during locomotion. Each frame was individually passed through OpenPose network, using the 10 first layers of VGG19 model with a number of stages t set to 6, generating Part Affinity Fields (L) and Joint Confidence Maps (S) with enough pose information. In this work, the pose P comprises 18 key articulation points (|J| = 18). A cross-validation was conducted under a leave-one-patient-out scheme, using iteratively, one patient for test while the remaining patients were used for training the models. This process will be applied to each patient, and standard classification metrics were calculated, namely, the accuracy, the AUC, the recall. Covariance matrices were constructed from sizes of 17 × 17 (among joint trajectories) and 70 × 70 (among pose frames), respectively. Also, a spectral analysis was carried out with reduced covariance descriptors, recovering most significant eigenvectors from higher associated eigenvalues. For pose-frame covariances were analyzed with reduced sizes of [10, 20, 30, 40, 50, 60].
All classifiers were implemented using the scikit-learn library with empirically fixed hyperparameters, without applying nested validation or hyperparameter search, as the main objective was to compare covariance-based descriptors under identical training conditions. The selected configurations followed standard defaults or prior literature in gait classification: Gradient Boosting with a number of estimators 100, a learning rate of 0.1, and a maximum depth of 3, Random Forest with a number of estimators of 100, without a maximum depth, and boostrap activated, K-Nearest Neighbors with a number of neighbors of 5, Support Vector Machine with a radial basis function (RBF) kernel, using a regularization parameter C of 1.0 and gamma set to scale, and Gaussian Naïve Bayes. Model evaluation was performed using a Leave-One-Patient-Out (LOPO) cross-validation strategy, ensuring that each patient was excluded from training and used solely for testing to guarantee strict subject-independent validation.
3. EVALUATION AND RESULTS
We conducted an initial evaluation to measure the capability of covariance descriptors, coding only coordinate joint positions, independently (size of 17x17). Such a covariance descriptor was projected onto various typical machine learning classifiers to obtain a Parkinson’s characterization measure, including a confidence interval (IC) of 95%. Table 1 summarizes the results obtained with these using information on X and Y components.
| Method | X-position [IC 95%] | Y-position [IC 95%] | ||||
| Accuracy | Recall | AUC-ROC | Accuracy | Recall | AUC-ROC | |
| GB | 0.56[0.49-0.62] | 0.49[0.40-0.58] | 0.59[0.49-0.69] | 0.53[0.45-0.61] | 0.43[0.30-0.56] | 0.55[0.43-0.66] |
| NBY | 0.16[0.10-0.21] | 0.21[0.11-0.31] | 0.08[0.04-0.14] | 0.56[0.45-0.68] | 0.16[0.06-0.25] | 0.64[0.51-0.76] |
| KNN | 0.55[0.47-0.65] | 0.33[0.23-0.43] | 0.58[0.49-0.67] | 0.57[0.49-0.66] | 0.40[0.31-0.49] | 0.54[0.45-0.63] |
| SVM | 0.47[0.38-0.56] | 0.22[0.12-0.31] | 0.39[0.29-0.49] | 0.57[0.49-0.66] | 0.31[0.21-0.40] | 0.58[0.47-0.68] |
| RF | 0.61[0.54-0.68] | 0.55[0.47-0.64] | 0.63[0.54-0.72] | 0.53[0.44-0.62] | 0.45[0.33-0.58] | 0.53[0.41-0.66] |
Upon observation, it is evident that the best classification method is Random Forest, achieving a global accuracy of 61% with an IC 95% of [54%-68%] (recall=55%, AUC-ROC= 63%). A significant improvement of 8% was achieved in the representation of the X coordinate compared to the Y coordinate. This is primarily due to the fact that the main gait movements occur horizontally, leading to greater variances between joints in this orientation. It is important to note that the variance in joint movement during gait is expected to be cyclical, the abnormal fluctuations being an indicative of poor coordination. Secondly, covariance descriptor was coded from correlation between frame poses along video sequence (size of 70 x 70) to obtain a Parkinson classification. Table 2 summarizes achieved results, obtaining a general improvement in terms of accuracy values for several machine learning classifiers, including an IC of 95%. In such cases, the results are associated with the capability of covariative descriptors to detect changes in speed, and postural configurations associated with Parkinson abnormalities.
| Method | X-position [IC 95%] | Y-position [IC 95%] | ||||
| Accuracy | Recall | AUC-ROC | Accuracy | Recall | AUC-ROC | |
| GB | 0.68[0.60-0.78] | 0.71[0.59-0.84] | 0.73[0.62-0.85] | 0.68[0.59-0.77] | 0.68[0.54-0.81] | 0.74[0.62-0.87] |
| NBY | 0.71[0.61-0.80] | 0.68[0.55-0.80] | 0.75[0.63-0.86] | 0.76[0.66-0.86] | 0.63[0.47-0.79] | 0.77[0.67-0.87] |
| KNN | 0.56[0.47-0.64] | 0.41[0.29-0.53 | 0.57[0.46-0.67] | 0.69[0.61-0.78] | 0.66[0.54-0.79] | 0.74[0.63-0.86] |
| SVM | 0.69[0.61-0.79] | 0.68[0.56-0.82] | 0.71[0.60-0.85] | 0.75[0.65-0.85] | 0.58[0.41-0.75] | 0.80[0.68-0.92] |
| RF | 0.72[0.62-0.81] | 0.75[0.62-0.88] | 0.73[0.60-0.87] | 0.72[0.64-0.80] | 0.71[0.59-0.84] | 0.77[0.66-0.90] |
Then, a spectral analysis was carried out in an additional experiment, considering a component reduction of covariance descriptors. In such a case, we only consider reduced covariances, reconstructed from principal eigenvectors. These experiments were carried out in covariances from correlations among postural changes along the video. In Table 3 the results are reported from compact covariances. A slight improvement in the value of the accuracy and AUC-ROC when a value of 20 elements was applied on the X-position with values of 71% and 70%, respectively. While for the Y-position many similar values are shown, generally in many of the reductions, reaching a maximum accuracy of 75% and AUC-ROC of 74% for 20, 30 and 40 values.
| Method | X-position | Y-position | ||
| Accuracy | AUC-ROC | Accuracy | AUC-ROC | |
| No R | 0.69 | 0.69 | 0.73 | 0.73 |
| 60 | 0.67 | 0.67 | 0.74 | 0.74 |
| 50 | 0.69 | 0.69 | 0.75 | 0.74 |
| 40 | 0.69 | 0.69 | 0.73 | 0.73 |
| 30 | 0.70 | 0.70 | 0.75 | 0.74 |
| 20 | 0.71 | 0.70 | 0.74 | 0.74 |
| 10 | 0.68 | 0.67 | 0.74 | 0.74 |
An observational analysis of disposed covariance descriptors was also performed to find localized differences between Parkinson and control patients. In Figure 3, we can observe different examples for patients with Parkinson’s disease and control subjects.
In this visualization, shades of blue indicate low correlation, while shades of red indicate strong correlation or dynamic coordination between the joints of interest. It is noteworthy that patients with Parkinson’s disease exhibit low coordination values for the joint corresponding to the right hand (point 4) with the rest of the joints that are more coordinated, highlighting typical Parkinsonian patterns. The same process was applied to the 70x70 matrices, where each cell of the matrix represents the covariance between one frame and another, and each number corresponds to the analyzed frame number. In these matrices, correlated movements across several consecutive frames can be observed in control patients. However, in the case of Parkinson’s patients, fluctuations in correlation values are evident, leading to an instability in the organization of their gait movements, Parkinson patients had more near to 0 values in correlation with these blue values. These patterns are clearly discernible in Figure 3 in the right matrix for each case.
Recent research aims to quantify Parkinson’s motor patterns without physical markers or invasive setups
Despite the remarkable results of these approaches, the coarse classification remains far from standard clinical practice, limiting their applicability in real scenarios. For instance, physicians are interested in observing and explaining abnormal behaviors that occur between joints, which are supported by medical literature. In this line, the proposed approach emulates a standard gait analysis by computing markerless postures at each frame, allowing the kinematics of each joint for lower and upper limbs to be taken as reference. Thus, the proposed approach computes coordination variables and compact second-order statistics, which may be explainable for Parkinson’s automatic classification. In contrast, although the proposed approach follows a markerless framework, it preserves local joint analysis by retrieving postures during locomotion observation. In this sense, the output of the Parkinson predictions can be reversed to obtain the correlation between joints that may support the Parkinson/healthy label.
This point is fundamental for mapping the approach into clinical routines, as it is easily adaptable to standard motor scales. The proposed approach, evaluated on a study with 30 recorded patients, achieved an average accuracy and recall of 75% and 75%, respectively, complementing an AUC-ROC of 74%. In addition, two different analyses were conducted to explain major incidences from postural and joint perspectives. Nevertheless, the dataset employed is constrained to the sagittal plane of gait, which may constitute a limitation of the proposed method. Specifically, certain inter-joint relationships and positional data could be affected by occlusions or inaccuracies inherent to the pose estimation process, potentially leading to deviations from the actual gait patterns of the analyzed subjects. Moreover, the relatively small dataset size represents an additional limitation, as it is currently under construction and being expanded as part of an ongoing effort by our research group. Furthermore, our covariance-based analysis methodology still presents certain limitations, as it heavily relies on positional features, which, while significant, may not fully capture all relevant patterns associated with Parkinson’s disease. The study presented in this work achieves correspondences in the sagittal plane but has limitations in capturing volumetric orientations of body segments that may reflect segmental variations during gait. This constraint arises from the absence of 3D information required to perform such calculations. Therefore, future studies could explore the detection of rotational alignment of segments within a volumetric environment. Additionally, future studies should consider the normalization and standardization of subjects according to anthropometric variables to ensure more comparable and generalizable results.
This work introduced a methodology centered on gait characterization using covariance matrices. This approach allows the discrimination between individuals diagnosed with Parkinson’s disease (PD) and control subjects. Posture-based representations were derived using the OpenPose architecture, providing posture-related information to carry out classification tasks. The results indicate that using covariance matrices extracted from poses in each frame leads to improved classification metrics. In the clinical domain, these analyses are particularly relevant for identifying factors associated with movement coordination during gait, as they enable the examination of positional relationships among joints over time within a controlled clinical environment. Such analyses can contribute to rehabilitation and treatment processes for Parkinson’s disease by helping clinicians focus on specific phases or regions of the gait cycle that require targeted intervention.
Notably, reducing the dimensionality of these matrices using eigenvectors and eigenvalues resulted in a slight performance enhancement. Despite these advancements, our approach still has limitations. It heavily relies on positional features, which, while significant, may not fully capture all relevant patterns associated with Parkinson’s disease. Expanding the feature set could enhance the analysis, offering a more comprehensive understanding of the disease. Additionally, future studies would benefit from a larger, more recent dataset, enabling different perspectives of gait execution, even more robust comparisons and validations of our findings.
We express our gratitude to the Biomedical Imaging, Vision, and Learning Laboratory (BIVL²ab) and its members for their support in the development of this project, providing necessary materials and guidance for its execution, as well as for their valuable input on the manuscript. We also thank the School of Physical Therapy at UIS for their insightful recommendations on understanding Parkinson’s disease and locomotion patterns. Our appreciation extends to FAMPAS and FOSCAL for their collaboration in developing the database used in this study. Finally, we acknowledge the Ministry of Science, Technology, and Innovation of Colombia for supporting this research through the project “Caracterización de movimientos anormales del Parkinson desde patrones oculomotores, de marcha y enfoques multimodales basados en visión computacional” (Project Code: 92694).
The authors declare that they have no conflict of interest.
Jean Portilla: Methodology, Software, Visualization, discussion, Validation, Data analysis, Data acquisition.
Edgar Rangel Pieschacon: Data curation, Visualization, discussion, Validation.
Odair Bacca: Data acquisition, Data analysis, Validation, discussion.
Paula C. Ramírez: Data acquisition, Data analysis, Validation, discussion.
Luis Guayacán: Data curation, Visualization, discussion, Validation.
Fabio Martínez Carrillo: Investigation, Conceptualization, Methodology, Supervision, discussion, Validation, Data analysis, Funding acquisition, Resources.