- 1LaTiS NMR Tomography and Spectroscopy Laboratory, Department of Fossil Fuels, Faculty of Geology, Geophysics and Environmental Protection, AGH University of Krakow, Krakow, Poland
- 2Department of Neurology, Jagiellonian University Medical College, University Hospital in Krakow, Krakow, Poland
Introduction: Multiple sclerosis (MS) changes brain microstructure even at early disease stages, with changes detectable in normal-appearing white matter (NAWM) and grey matter (GM). Diffusion tensor imaging (DTI) is sensitive to such alterations, while fractal dimension (FD) provides complementary information on tissue complexity. We hypothesized that T1-based FD offers additional diagnostic value beyond DTI-derived metrics of tissue integrity, including fractional anisotropy (FA) and mean diffusivity (MD).
Methods: MRI data were acquired from 120 patients with relapsing–remitting MS and low mean Expanded Disability Status Scale (EDSS) scores, as well as 75 healthy control (HC) participants. FD, FA, and MD were quantified in global brain tissues and within white matter (WM) skeletons, both with and without lesion masking. The interactions between FD and DTI metrics were assessed, and classification models were constructed to evaluate diagnostic performance.
Results: WM in MS exhibited reduced FD and FA alongside elevated MD, consistent with demyelination and axonal degradation. GM demonstrated higher FD, FA, and MD values, suggesting a more nuanced interplay of inflammatory remodeling, dendritic reorganization and compensatory structural adaptation. The limited impact of lesion masking on group-average metrics, but its marked effect on FD-DTI interactions, revealed that lesions regulate structural variance without dominating global tissue complexity. FD proved particularly sensitive at tissue interfaces, where geometry is disrupted, whereas WM skeleton analyses reflected preserved regularity of core tracts, even amid microstructural degeneration.
Discussion: Our findings support the concept of a surface-in gradient of complexity loss in MS. Combining FD with FA and MD substantially improved classification accuracy, particularly in WM skeleton-based models, emphasizing the diagnostic potential of geometric-microstructural integration. Widespread associations of FA with clinical covariates and age further suggest that diffuse WM alterations underpin both cognitive and clinical decline.
1 Introduction
Multiple sclerosis (MS) is a neurological disease characterized by inflammation, demyelination, and neurodegeneration within the central nervous system. Recent research has emphasized the heterogeneity of MS, recognizing it as a spectrum of diseases (1). Diffusion tensor imaging (DTI) is an MRI technique sensitive to molecular diffusion and capable of modeling its anisotropy to characterize the underlying microstructural properties of the medium. In MS, DTI can be used to detect and quantify brain tissue damage that is not visible on other MRI modalities (2). DTI can reveal early-stage or subtly active MS by identifying microstructural changes in normal-appearing white matter (NAWM) (3). It is also suitable for monitoring disease progression and evaluating treatment efficacy (3). Commonly used DTI metrics include mean diffusivity (MD), which reflects overall diffusivity and increases with tissue rarefaction or damage, and fractional anisotropy (FA), which decreases with loss of fiber coherence, demyelination, or other shifts toward isotropic diffusion.
Fractal dimension (FD) is a mathematical descriptor of structural complexity or irregularity that describes its roughness (4). In the context of brain anatomy, FD reflects how intricately a structure fills space. In neuroimaging, FD is often estimated using techniques like box-counting (5) and is applied to images derived from T1-weighted MRI or DTI. In grey matter (GM), FD captures surface complexity and gyrification patterns, with altered FD reflecting changed folding area, sulcal depth, and curvature (1, 6). In WM, FD reflects the spatial complexity and branching of the fiber architecture (7, 8), and reductions in WM FD, particularly when computed from anisotropy maps or skeletonized DTI representations, have been linked to demyelination, axonal loss, and diffuse disorganization (9). A more detailed review of FD applications in neurological disorders can be found elsewhere (1).
T1- and DTI-based FD are used in studies of numerous neurological diseases, such as MS (9, 10), Alzheimer’s disease (11), mild cognitive impairment (MCI) (12), schizophrenia, and other psychiatric disorders (1). In MS patients, cortical GM FD was shown to be a potential marker of a higher risk of disability accumulation (10). Other findings show increased FD in GM among MS patients compared to healthy controls, indicating early structural changes even in patients with short disease durations (13). Conversely, decreased FD in WM has been associated with diffuse damage and was influenced by the presence of plaques and microstructural changes in normal-appearing WM (9). Although FD reflects macro-scale geometric organization and DTI reflects micro-scale diffusion properties, few studies have examined how these measures relate to each other in MS. Understanding this relationship is important because microstructural disruptions detected by DTI may propagate to the macro-scale geometry reflected in FD, or FD may capture complementary aspects of structural change not reflected in FA or MD. For example, a study on patients with small vessel disease and MCI employed machine learning techniques to integrate FD and DTI features, finding that WM FD was a consistent predictor of cognitive performance (12).
In this study, we focus on global measures of FD, which provide a whole-brain description of structural complexity in GM and WM and integrate both focal and diffuse pathology without requiring a priori assumptions about lesion location or specific anatomical targets. Such global measures are particularly valuable for assessing whether widespread structural disruption is present, independent of regional variability. Despite increasing interest in FD, direct studies correlating FD with DTI metrics in MS, particularly in cohorts with low mean Expanded Disability Status Scale (EDSS), remain limited. Therefore, the primary objective of this study is to assess whether global FD measures provide information specific to MS that is complementary to FA and MD. To address this aim, we first evaluate whether FD differentiates MS patients from healthy controls and then quantify FD-DTI correlations to determine whether FD reflects overlapping or independent structural information relative to FA and MD. Furthermore, we examined the robustness of global FD and DTI measures to methodological choices, including lesion masking, GM/WM mask type (general structure or skeleton), and diffusion tensor estimation using either the standard constant-in-space b-matrix (sDTI) or the spatially distributed b-matrix (BSD) correction (14–16), which accounts for systematic errors caused by non-uniformity in the gradient field. By integrating global FD and DTI metrics and evaluating their sensitivity and associations, this study aims to identify multiscale structural markers that reflect MS-related pathology and to assess the stability of these measures across common methodological variations. Because global measures were computed on whole-brain GM and WM masks, lesions were initially included to capture overall structural burden. For completeness, results were also compared with results before and after lesion masking.
2 Methods
2.1 Subjects
Subjects were recruited at The University Hospital in Krakow, Poland, and involved 150 patients with MS (later called “MS” group) and 100 healthy control volunteers (“HC” group). Among them, 20 patients and 25 HC were not qualified for the project (7 MS and 14 HC) or were excluded from this study due to incomplete MRI data (23 MS and 11 HC). Ultimately, there were 120 subjects in the MS and 75 subjects in the HC. All subjects were aged 18–50 and assessed in terms of hand function (9-Hole Peg Test), level of fatigue (Fatigue Scale for Motor and Cognitive Functions), and cognitive modalities (Symbol Digit Modalities Test, SDMT). Patients were diagnosed with relapsing–remitting MS, treated with disease-modifying therapy (DMT), and additionally rated with the EDSS with an inclusion constraint of EDSS = 0–6.5. HC individuals were eligible for the study if no lesions were identified on MRI. Within the RRMS cohort, 48% of individuals were in an early stage of the disease, defined as a disease duration of less than 5 years. HC participants had no clinical symptoms or history suggestive of MS. At the time of MRI examination, most patients were treated with dimethyl fumarate (n = 60), while smaller groups received other platform therapies (MET) such as interferons (n = 18), glatiramer acetate (n = 14), teriflunomide (n = 7), fingolimod (n = 4), and cladribine (n = 3), or high-efficacy agents (HET) like natalizumab (n = 6) and ocrelizumab (n = 3). Since there were only nine patients on HET and they were aligned stochastically within the MET group (they were not outlying), these two therapies were not separated in the analyses. All procedures, including recruitment and examinations, were approved by the Bioethics Committee at the Regional Medical Chamber, No. 282/KBL/OIL/2020 of December 18, 2020, and a positive opinion for the clinical trial was issued. Descriptive statistics for groups are shown in Table 1.
2.2 MRI protocol
MS patients and HC volunteers were examined in a 3 T Magnetom Vida Fit scanner (Siemens, Germany). T1-weighted imaging was conducted applying magnetization-prepared rapid gradient echo (MPRAGE) pulse sequence (TR/TE = 2300/2.99 ms, field of view, FOV = 242 mm x 250 mm, voxel size 0.98 mm x 0.98 mm x 1.20 mm), while DTI applying spin-echo echo-planar imaging (SE-EPI) pulse sequence (number of diffusion gradient directions, NDGD = 20 per shell, b-values = 0, 1,000, 2000 s/mm2, TR/TE = 3900/88 ms, FOV = 191×191 mm2, voxel size 2.53 mm x 2.53 mm x 2.50 mm), T2-weighted imaging applying turbo spin echo (TSE) pulse sequence (TR/TE = 9150/80 ms, FOV = 208 mm x 230 mm, voxel size = 0.51 mm x 0.51 mm x 3.00 mm), and fluid-attenuated inversion recovery (FLAIR) using a T2-weighted SPACE sequence with inversion recovery (TR/TE/TI = 7300/426/900 ms, FOV = 250 mm x 250 mm, voxel size = 0.49 mm x 0.49 mm x 1.00 mm). DTI was also performed for a calibration phantom used in the BSD method, applying the same protocol and table position as for each individual. The BSD-DTI approach is described in the next section.
2.3 Data preprocessing and diffusion tensor calculations
Structural T1-weighted images were preprocessed using the fmriprep software (17), which includes brain extraction with ANTs, spatial normalization to MNI152 space, and tissue segmentation using FSL FAST. GM and WM probability maps generated by FAST were thresholded at 0.5 and binarized to obtain subject-specific GM and WM masks. Additionally, the SynthSeg software was used to obtain volumetric measurements from T1-weighted images. Based on these results, the brain parenchymal fraction (BPF) was calculated as the ratio of brain parenchymal volume to total intracranial volume. MS lesions were manually delineated on FLAIR images (for supratentorial lesions) and T2-weighted images (for infratentorial lesions) by a team of experienced neuroradiologists and data scientists. Subsequently, the total lesion volume was derived, and the lesion parenchymal fraction (LPF) was calculated as the ratio of lesion volume to brain volume. DTI data were denoised using the Local Principal Component Analysis (LPCA) method in DIPY (18). All diffusion-weighted images (DWI) were registered to the image without diffusion weighting, i.e., the b0 image, using affine registration in FSL software (19). Diffusion tensors were calculated: (1) using vendor-provided b-matrix (constant in space)- this approach will be called sDTI; (2) using spatially variant, b(r) matrices obtained from the BSD method- BSD approach. Diffusion tensor MD and FA maps were registered to T1 space using the following pipeline: (1) b0 images were aligned to T1 images using FLIRT (FSL) with 6 degrees of freedom; (2) alignment matrices were used to guide boundary-based registration (BBR) using FLIRT (FSL) and WM masks from fmriprep; (3) BBR registration matrices were inverted and applied to FA and MD maps.
2.3.1 B-matrix spatial distribution calibration
The BSD-DTI approach (15, 16, 20, 21) was used to correct spatially dependent biases in diffusion gradient amplitude and directions caused by gradient nonlinearity and other hardware imperfections. Standard DTI (sDTI) assumes a single nominal B-matrix for all voxels, but in practice, it varies with position in the magnet. BSD accounts for this by estimating a voxel-wise B-matrix, b(r), derived from the Generalized Stejskal-Tanner (GST) equation using a calibration phantom with known diffusion properties. The voxel-wise B-matrix, , can be defined using the magnetic field gradient transformation tensor , which describes the local deviation of the actual gradient fields from the nominal ones:
where is the standard, constant B-matrix provided by the vendor. During tensor fitting in subject data, these spatially varying b(r) matrices replace the global nominal B-matrix, thereby reducing systematic, position-dependent errors in DTI metrics. Full mathematical details are provided in the original BSD papers and patents (15, 16, 20–21).
2.4 Tract-based spatial statistics (TBSS)
TBSS analysis (22) was conducted in FSL (19) using standard TBSS pipeline according to FSL documentation: (1) 3D FA maps were generated for each subject from 4D sDTI and BSD NiFTI files obtained from the in-house software (BSD-DTI v.2.0, AGH, Krakow, Poland) using fslroi utility; (2) FA maps were prepared using tbss_1_preproc; (3) FA maps were nonlinearly registered to a standard space using tbss_2_reg; (4) mean FA maps for sDTI and BSD were generated and skeletonized using tbss_3_postreg; (5) individual subject FA map was projected onto mean FA skeleton using tbss_4_prestats and commonly used threshold = 0.2 as suggested by Smith et al. (22). To evaluate the spatial robustness of significant clusters, we additionally generated negative-effect masks (MS < HC) at three FA skeleton thresholds (0.15, 0.20, 0.25). For each threshold and model, we extracted: number of significant voxels, mean FA values for MS and HC, and effect size (Cohen’s d). Spatial consistency between masks was quantified using pairwise Dice coefficients and percentage overlap relative to each mask. These metrics were aggregated into overlap matrices and used for hierarchical clustering with average linkage, yielding dendrograms that identified stable clusters across thresholds and models. All analyses in the second approach were implemented in Python (NumPy, SciPy, scikit-learn, pandas, matplotlib).
For FD analysis, two group-mean FA skeletons were generated separately for the MS and HC cohorts. These skeletons were binarized and used as input for FD estimation in MATLAB (see Section 2.5), yielding a single FD value per group. This approach provides a measure of global structural complexity along the most coherent WM tracts for each cohort. It also reduces the influence of individual variability and minor misalignments, capturing overarching patterns of microstructural organization at the group level.
In the second approach, FA maps projected onto the one common skeleton for each subject were used. FSL’s randomise function was then used to test statistically significant group differences in DTI metrics, with Threshold-Free Cluster Enhancement (TFCE) applied to correct for multiple comparisons across space and 5,000 permutations. Both contrasts (MS > HC and HC > MS) were included to enable two-tailed testing. TFCE-corrected p < 0.05 in either direction were considered significant, and directionality was assigned post hoc based on the sign of the t-statistics. Contrasts examined in a hierarchical model were as follows: (1) HC ≠ MS; (2) HC ≠ MS controlling for age; (3) HC ≠ MS controlling for age and SDMT; (4) HC ≠ MS controlling for age, SDMT, and EDSS.
2.5 Data analysis
T1-based FD was calculated for GM and WM masks obtained from fmriprep, and TBSS-based FD for group-wise WM skeletons. The software was shown to be robust even in the presence of lesions (17). FD calculation was performed in MATLAB (The MathWorks Inc., MATLAB Version: 23.2.0.2409890 (R2023b) Update 3, Natick, Massachusetts, USA) according to the standard approach described in Ruiz de Miras (5) using the 3D box-counting method (23). FD was calculated from the linear part of log–log box-counting (i.e., log–log dependency of the number of boxes needed to cover nonzero elements of an image and box size). Mean FA and MD were calculated: (1) in WM and GM using fmriprep masks (binary threshold for probabilistic masks- 0.5) in native T1 space to avoid losing details, which occurred for masks registered to native DTI space; (2) in WM skeletons in FMRIB58 space. FA and MD values were correlated with FD values. Statistical differences between the MS and HC groups were assessed using a two-sample t-test for normally distributed data and the Mann-Whitney U test for non-normally distributed data. Normality was verified using the Shapiro–Wilk test. p-values were corrected for false discovery rate (FDR) using the Benjamini-Hochberg (BH) method (24).
2.5.1 Robustness analysis of correlations
To assess the robustness of correlations between FD and DTI metrics (FA, MD), we complemented standard Pearson correlation (delivering the correlation coefficient, rp) with Spearman correlation (ρ), outlier-resistant Huber regression, and leave-one-out cross-validation (LOO-CV). All analyses were performed in Python (v3.10) using pandas, numpy, scipy.stats, and sklearn.linear_model. HuberRegressor. Pearson and Spearman (ρ) coefficients were computed with pearsonr() and spearmanr(), while the Huber slope provided an outlier-robust estimate of the relationship. The LOO rCV value, derived from the Pearson correlation between observed and cross-validated predictions, served as an indicator of model stability. Correlations were considered robust when the direction and sign were consistent across all three approaches (Pearson, Huber, and LOO).
2.5.2 Residual redundancy modeling
To assess whether FD carries diagnostically relevant information that is not redundant with classical DTI metrics (FA, MD), demographic (age), and volumetric covariates (BPF), we used linear residual modeling. We fitted an OLS regression model:
From the model, residuals (ε) were extracted as variance in FD that is not explained by FA, MD, age, and BPF. Predictor collinearity was evaluated using the Variance Inflation Factor (VIF). Next, we tested whether residual FD still distinguishes between groups. Normality assumptions were assessed using Levene’s test (homogeneity of variances) and the Welch/Student t-test in case of normal distributions, while the Mann–Whitney U test otherwise. Multiple comparison corrections were applied using BH-FDR separately for t-tests and MW tests. Distributions of group-specific residuals were visualized using density histograms (with KDE), enabling qualitative comparison of variance retention after covariate adjustment. To evaluate the robustness of between-group differences, we additionally performed bootstrap resampling (N = 5,000) on group mean differences of the FD residuals.
2.5.3 Receiver operating characteristic curve
To evaluate the discriminative performance of MRI metrics, receiver operating characteristic (ROC) curves were constructed in a bootstrap analysis (N = 1,000), and the area under the curve (AUC) was calculated. Optimal cut-off values were determined using the Youden index. Sensitivity, specificity, and 95% confidence intervals for AUC were reported.
3 Results
FD was calculated for each subject in the WM and GM masks obtained from T1 images. Then, FA and MD maps were registered to the T1 space, and weighted mean (based on probabilistic mask weights) FA and MD were calculated in the same WM and GM masks. An example of these masks overlaid on FA and MD maps in T1 space for a representative MS patient is shown in Figure 1 for sDTI (Figures 1B,C) and BSD approaches (Figures 1D,E). Since the BSD method relies on phantom measurements to determine b-matrix maps (Equation 1), all images were additionally masked out by a phantom mask before any calculations.
Figure 1. White matter mask contour (yellow contour) and grey matter mask (red overlay) for an example multiple sclerosis (MS) patient overlaid on T1 image in 3 orthogonal planes (A), mean diffusivity (MD) map from standard diffusion tensor calculations approach (sDTI) (B) and after non-uniform magnetic field gradient calibration (BSD) (D), fractional anisotropy (FA) map from sDTI (C) and BSD (E).
3.1 Comparison of metrics across groups
The WM/GM general structure group results of FD, MD, and FA before and after lesion masking are shown in Figure 2 and summarized in Table 2 for BSD and Supplementary Table S1 for sDTI. FD was higher in GM than in WM. Mean FA values in WM were ~0.3 due to the mean calculated from the whole WM. Moreover, MS are more dispersed than HC.
Figure 2. Distributions of fractional anisotropy (FA), mean diffusivity (MD), and T1-based fractal dimension (FD) in healthy controls (HC) and multiple sclerosis (MS) cohorts. Distributions for MS were analyzed without (“(incl.)”) and with (“(excl.)”) lesion masking. Brackets indicate statistically different mean values at a significance level of 0.05, with a probability located above the bracket. For FA in GM Welch, the t-test was used, whereas the Mann–Whitney U-test was used for the remaining comparisons.
Table 2. Mean fractional anisotropy (FA), mean diffusivity (MD), and T1-based fractal dimension (FD) in healthy controls (HC) and multiple sclerosis patients (MS) before (incl.) and after (excl.) lesion masking in grey (GM) and white matter (WM) general structures.
In GM, FA was slightly higher in MS patients compared to HC, and the difference remained statistically significant both before (p < 0.001) and after lesion exclusion (p < 0.05). Conversely, WM showed a clear reduction in FA in MS for both conditions (p < 0.001), indicating disrupted microstructural organization. MD was significantly elevated in MS patients across both tissue types and masking conditions (all p < 0.001). FD was marginally higher in GM in MS before lesion masking (p < 0.001), but this difference became non-significant after lesion exclusion (p = 0.071). In WM, FD was consistently and significantly lower in MS patients before and after masking (both p < 0.001), suggesting reduced structural complexity beyond focal lesions.
Compared with sDTI (Supplementary Table S1), BSD produced consistently lower FA and MD values in both GM and WM across all groups. In GM, FA values in HC, MS (lesions included), and MS (lesions excluded): 0.1301 vs. 0.1338, 0.1329 vs. 0.1366, and 0.1318 vs. 0.1355; MD: 0.787 vs. 0.820, 0.821 vs. 0.854, 0.820 vs. 0.853·10−3 mm2/s for BSD vs. sDTI, respectively. In WM, FA values were 0.286 vs. 0.289, 0.271 vs. 0.274, 0.270 vs. 0.273, and MD were 0.682 vs. 0.698, 0.713 vs. 0.729, 0.712 vs. 0.728·10−3 mm2/s for BSD vs. sDTI in HC, MS-included and MS-excluded, respectively. Standard deviations were comparable across methods and groups, with BSD showing slightly smaller variability in some cases but no systematic shift.
3.2 T1-based FD in relation to DTI metrics
Figure 3 shows FD in relation to DTI metrics in both GM and WM. Correlation metrics are shown in Table 3. In the HC group, FD showed moderate, significant, positive, robust, and stable correlations with FA in both GM and WM. FD-MD relationships were significant only in WM. They were consistent across Pearson, Spearman, and Huber analyses, while the effects (based on LOO-CV) were unstable. In Figure 3, HET and MET subjects were divided to visualize potential grouping. However, FD and DTI metrics were not significantly different (p > 0.05) between those two groups. Eventually, HET- and MET-treated patients were analyzed jointly.
Figure 3. FD-DTI correlation plots in Grey (A,B) and white matter (C,D) in HC and MS cohort with division to lesions included (incl.) and excluded (masked out) (excl.) conditions. Patients treated with high-efficacy therapy (HET) are discerned as squares. On the plots, Pearson (rp), Spearman (ρ), and Pearson in leave-one-out cross-validation (rCV) correlation coefficients are shown.
Table 3. Partial correlation metrics of T1-based fractal dimension (FD) and BSD-DTI metrics of general structure (FA, MD) and White Matter skeleton with statistically significant probabilities of these correlations in the brackets.
In HC, FD-FA correlations were moderate in both WM (rp = 0.46, p < 0.001) and GM (rp = 0.32, p < 0.05). MD showed a negative correlation with FD in WM (rp = −0.26, p < 0.05). These associations were largely consistent across Pearson and Spearman coefficients, suggesting linear and monotonic relationships. In MS patients, FA-based correlations became slightly weaker, particularly in WM, with significant positive correlations observed both before (rp = 0.29, p < 0.05) and after lesion masking (rp = 0.36, p < 0.001). Conversely, MD consistently showed significant negative correlations with FD in MS WM (rp = −0.31, p < 0.05), suggesting that higher tissue diffusivity corresponds to reduced structural complexity. Notably, lesion masking increased the strength of these associations in WM, highlighting the relevance of microstructural alterations beyond focal lesions. In GM, correlations in MS were weak and mostly non-significant, indicating that FD may be more sensitive to WM tissue integrity. The differences in correlation strength between HC and MS were tested in the Fisher Z test. They were found in GM for FD-FA (p < 0.05), but did not survive FDR correction.
Application of BSD resulted in a selective reconfiguration of the correlations between general structure DTI metrics and FD in comparison to sDTI (Supplementary Table S3). One association observed in sDTI was no longer significant after BSD (MS (lesions included) GM MD- GM FD (sDTI rp = 0.17, p < 0.05)). Conversely, one correlation absent in sDTI was revealed after BSD, such as GM FD-GM MD in HC, or remained similar regardless of the method, but was more robust after BSD.
3.3 FD residual redundancy analysis
To evaluate whether FD retains disease-related information beyond what is already explained by FA, MD, age, and BPF, we examined the distribution of adjusted FD residuals (FD ~ FA + MD + age + BPF) across HC and MS groups. If the covariates fully capture the disease-related variance, the residuals should be statistically indistinguishable between groups, indicating redundancy of group information. Conversely, persistent group separation in the residual space would imply that FD contains unique, non-redundant variance associated with MS pathology.
Residual analysis did not deliver statistically significant differences between HC and MS. However, a comparison of the FD residual distributions (Figures 4A,B,D,E) shows that their distributions differ. Two-sample QQ-plots analysis (Figures 4C,F) showed deviation from the y = x line, suggesting differences in residual distributions. Bootstrap analysis of means and medians (HC vs. MS) did not reveal significant differences, whereas statistically significant differences were found for the whole distributions in WM (p < 0.05). However, only comparison of HC and MS without lesion masking (incl.) survived FDR correction at a significance level of 0.05.
Figure 4. Fractal dimension (FD) residual analysis for the applied linear model (Equation 2): boxplots of residuals distribution (A,D), histogram with KDE (B,E), two-sample QQ-plots (C,F) in Grey (A–C) and white matter (D–F) for healthy controls (HC) and multiple sclerosis patients (MS) for unmasked data (incl.) and after lesion masking (excl.).
3.4 Classification performance based on general structure metrics
All T1-based and DTI metrics (FA, MD, FD) and their combinations were tested in ROC analysis. In this approach, metrics represent the general structures of WM and GM, and results are shown in Figure 5 and Table 4 (for sDTI ROC see Supplementary Figure S3). Among individual metrics, MD demonstrated the highest diagnostic performance in both GM (AUC = 0.797 for lesions included, 0.791 for lesions excluded) and WM (AUC = 0.844 for lesions included; 0.839 for lesions excluded), outperforming FA and FD. However, combining metrics led to a clear improvement in classification metrics. Specifically, the FA + MD + FD set achieved higher AUCs than any single metric, highlighting the added value of FD.
Figure 5. Receiver operating characteristic (ROC) curves for different combinations of general structure metrics in grey (A,B) and white matter (C,D) for data without (A,C) and with (B,D) lesion masking.
The best overall performance was obtained using the FA + MD + FD model in WM under the “lesions excluded” condition, achieving an AUC of 0.8689 (CI: 0.7888–0.9231), sensitivity of 0.725, specificity of 0.9067, and accuracy of 0.7949. The same model in the “lesions included” condition reached a similar AUC (0.8686), although with slightly higher specificity (0.92 vs. 0.9067) and accuracy (0.7897). For GM, performance was moderate, with the best results also seen for the FA + MD + FD model under the “lesions included” condition (AUC = 0.8380, CI: 0.7429–0.9023). However, the accuracy and specificity remained lower than those for WM, suggesting weaker separation of MS-related changes in GM diffusion metrics.
Sensitivity-specificity balance was further assessed using the Youden Index. The highest Youden values were observed for WM models, especially for FA + MD + FD (lesions excluded: Youden Index = 0.6646), confirming its good discriminative balance. Some FD-based models showed high specificity (up to 0.933), but at the expense of sensitivity, indicating a strong bias toward correctly classifying healthy controls.
Compared with sDTI, BSD produced the strongest improvements in ROC metrics in GM, particularly for FA, which showed the largest relative increases in AUC, sensitivity, and specificity (+1.94%/+1.73%, −3.95%/+13.43%, and +8%/−8% for lesions included/excluded, respectively). MD also improved consistently in GM, with AUC changes of +0.95%/+0.65%, sensitivity +5.43%/+5.43%, and accuracy +4.08%/+4.08% for lesions included/excluded, respectively. Combined metrics were similarly enhanced: FA + MD increased by +0.90%/+0.79% in AUC, while FA + MD + FD changed by +1.76%/+1.39% for lesions included/excluded, respectively. In WM, improvements were most robust for MD and FA + MD. MD showed AUC gains of +0.91%/+0.94% and the largest increases in specificity: +11.94%/+11.94% and accuracy: +0.68%/+0.69%, while FA + MD improved by +0.95%/+1.10% in AUC, with specificity changes of +8.82%/+8.33% and accuracy +1.34%/+1.38% for lesions included/excluded, respectively. Conversely, FA in WM exhibited small negative changes (AUC −0.16%/−0.08%, accuracy −0.81%/0% for lesions included/excluded, respectively), and models including FD tended to show slight declines in both conditions. Overall, BSD enhanced MD-based and FA + MD metrics across tissue types, improved FA-derived metrics in GM, and produced minimal or negative effects on FA and FD-augmented models in WM compared to sDTI.
3.5 TBSS-based fractal dimension
To determine group WM core FD, TBSS analysis was conducted separately for MS and HC. Group mean FA maps were skeletonized (Supplementary Figure S1), and FD was calculated based on the skeletons. The skeletonization FA threshold of 0.2 was chosen following the standard TBSS procedure described by Supplementary Figure S4 (22). To verify the robustness of our results, we repeated the skeletonization using thresholds of 0.15 and 0.25. The mean FA skeleton masks showed Dice overlaps of 0.93 (0.15 vs. 0.20) and 0.94 (0.20 vs. 0.25), with 100% spatial overlap of the 0.20 mask within the 0.15 skeleton. Based on the dendrogram, localizations of voxels are stable for thresholds 0.15 and 0.20, while 0.25 restricts the skeleton’s spread (Supplementary Figure S4). Thus, the skeleton structure, the spatial pattern of significant clusters, and HC vs. MS difference patterns remained qualitatively consistent and confirmed 0.2 as a reasonable threshold.
Figure 6 shows the ratio of derivatives of the number of boxes needed to cover the skeleton, n, and box size, r, as a function of 1/r. For comparison, the same dependency was shown in Figure 6 for T1-based WM and GM masks. It can be seen that skeletonized WM does not exhibit a linear component, as in the case of T1-based analysis. It means that FD is not scale-invariant, which is actually common in biological structures such as the brain. WM skeleton is not a “true fractal” but exhibits multifractal behavior. This suggests that we observe different structural properties at different spatial scales. Therefore, FD was calculated from relation n(r) within four ranges (limited by the image size according to the boxcount function in MATLAB): 1–2; 1–4; 1–8; 8–16. All results, including DTI metrics, are shown in Table 5. It can be seen that for very small box sizes, FD was slightly higher in MS. Increasing r leads to equal MS and HC FDs for medium box size and higher FD in HC cohort for the most linear part of Figure 6A (range 8–16). This means that for smaller local dimensions, the WM core in MS is more complex or simply rough. As the local dimension increases, fewer local details can be captured, and in this case, the global morphology becomes more complex in HC. This can also suggest a more coherent topology.
Figure 6. Local dimension (−d ln(n)/d ln(r)) as a function of a box size in the boxcounting method used to determine fractal dimension in group TBSS skeletons (A), and T1-based Grey (B) and white matter (C) obtained from example individuals.
Table 5. Group mean fractional anisotropy (FA), mean diffusivity (MD), and fractal dimension (FD) values in the whole skeleton and in significant voxels obtained for different models in healthy controls (HC) and multiple sclerosis (MS) cohort.
BSD and sDTI produced highly concordant HC-MS differences in FD, FA, and MD across both whole-skeleton and significant-voxel analyses (Supplementary Table S4). BSD introduced small systematic downward shifts in FA and MD but did not meaningfully alter effect sizes or spatial patterns of group differences.
3.6 Modeling the variability of white matter core FA
Average FA and MD values in a common mean skeleton mask (in this approach, MS and HC subjects had one group mean skeleton) were calculated (Figure 7A; Table 5). Statistically significant differences between MS and HC were found for both FA and MD.
Figure 7. White matter core fractional anisotropy (FA (skel.)) and mean diffusivity (MD (skel.)) distributions (A), their correlations with T1-based fractal dimension (FD) (B,C), and receiver operating characteristic (ROC) curves for them and their combinations (D). On the ROC panel area (D), the under-curve (AUC) and its 95% confidence interval are shown. p-values were obtained in the Mann–Whitney U test.
A statistically significant relationship between DTI metrics and clinical variables- EDSS score, SDMT score, and age, within the mean WM skeleton of a group consisting of both MS and HC, was investigated. Firstly, the correlation among covariates was examined (Supplementary Figure S2), and the variance inflation factor (VIF) was calculated (Supplementary Table S2). In MS, EDSS and SDMT are slightly negatively correlated (rp = −0.107), not significantly (p = 0.232), suggesting that cognitive performance is not strongly related to disability in this sample. EDSS versus age showed a weak positive correlation (rp = 0.148), not significant (p = 0.098), which indicates that older MS patients tend to have slightly higher disability scores. Finally, SDMT and age exhibited moderate negative correlations (rp = −0.361 and rp = −0.175 for MS and HC, respectively), significant for MS (p < 0.001) and not significant for HC (p = 0.13). However, results show that aging in MS additionally increases cognitive performance. All VIFs were ~1, which means that covariates (EDSS, SDMT, Age) are not collinear and can be safely included together in the same model.
Based on Table 5, it can be seen that the model with all covariates is the most restrictive in terms of the number of significantly different voxels between HC and MS. For this model, the largest MD and FA values were observed, which means that covariate-controlled differences occur in more anisotropic regions, where the largest differences between the two cohorts were obtained. Most voxels are significant in all four models (41,161 voxels), but some voxels are distinguished for a single model (see Supplementary Figure S5). Very large effect sizes calculated based on Cohen’s d coefficient are visible between HC and MS. Larger values were observed for MD in both whole skeleton and significant voxels, whereas the overall largest value occurred for MD when controlling for all covariates.
3.7 Combining white matter core metrics with general structure FD
Fractal dimension of WM general structure (T1-based) was correlated with DTI metrics obtained in TBSS skeleton (Figures 7B,C; Table 3). In the case of WM core MD, partial correlation coefficients were very similar to those obtained for general structure in MS, while reduced for HC. For WM core FA, the HC group showed decreased correlation with WM general structure FD. However, in the MS group, correlation between T1-based FD and WM core FA was visibly stronger than for FD-FA from general structure (rp = 0.45 vs. rp = 0.29 for lesions included and rp = 0.53 vs. rp = 0.38 for lesions excluded). All correlations were robust and stable (Table 3). Furthermore, WM skeleton-based FA and MD were correlated with T1-based FD of GM. No associations were found in the HC group and MS with excluded lesions, neither for FA (skeleton) nor MD (skeleton). However, in the case of MS with lesions within the mask, significant, negative, robust, but unstable correlations were found for both FA (skeleton) and MD (skeleton) (FA rp = −0.22 and MD rp = 0.32).
Within the WM interior region, the classification model performance improved compared to whole-brain analysis (Figure 7D; Table 4). Among individual metrics, skeleton MD exhibited the strongest predictive capability, achieving an AUC of 0.873 (CI: 0.809–0.935), sensitivity of 0.742, specificity of 0.880, and an overall accuracy of 0.795. This confirms that MD remains the most sensitive single biomarker for detecting MS-related microstructural changes in deep WM regions.
Skeleton FA demonstrated moderate discriminative power (AUC = 0.754), with good specificity (0.840) but lower sensitivity (0.550), indicating its tendency to better identify healthy controls than MS cases. The combination of features led to substantial improvements in classification performance. The skeleton-based FA + MD model achieved an AUC of 0.888 (CI: 0.807–0.943) and a markedly high specificity of 0.933, indicating strong discriminative capacity even without FD. However, the best results were achieved using FA (skeleton) + MD (skeleton) + FD (general structure), both with and without lesions. The top-performing model (FA + MD + FD with excluded lesions) reached an AUC of 0.903 (CI: 0.826–0.945), specificity of 0.973, sensitivity of 0.775, and the highest overall accuracy (0.851). This indicates that multimodal diffusion features provide complementary information and considerably enhance both sensitivity and specificity.
Analyses based on skeletonized diffusion metrics revealed several differences between sDTI and BSD. Several associations that were not detectable in sDTI became significant after BSD: (1) HC WM: FA(skeleton)-FD (rp = 0.37, p < 0.05); (2) MS (incl.) GM: FA(skeleton)-FD (rp = −0.22, p < 0.05) and MD(skeleton)-FD (rp = 0.32, p < 0.001); (3) MS (excl.) GM: MD(skeleton)-FD (rp = 0.18, p < 0.05); (4) MS (excl.) WM: FA(skeleton)-FD (rp = 0.53, p < 0.001).
4 Discussion
This study investigated the feasibility and diagnostic relevance of T1-based FD in conjunction with conventional DTI metrics (FA and MD) for describing MS-related microstructural alterations in both general brain tissue structures and deep WM skeletons. In GM, MS patients showed higher FD, MD, and FA, which may indicate functional compensation mechanisms via microstructural reorganization. In WM, MS showed lower FA and FD and higher MD, suggesting demyelination and inflammation. FD demonstrated distinct and complementary sensitivity to structural abnormalities, particularly in WM, and its integration with DTI-derived features considerably improved classification performance. The combination of FA, MD, and FD achieved the highest diagnostic accuracy, particularly in the WM skeleton-based approach, indicating that multimodal geometric-microstructural assessment may provide a more comprehensive characterization of MS pathology.
4.1 Methodology choice
In our previous studies (25, 26), it was shown that BSD correction can be crucial for local microstructure analysis in smaller ROIs and may enhance the distinction between MS and HC. This is further supported (27), who demonstrated that the classical implementation of BSD significantly altered FA/MD values, bringing them closer to reference measurements, and hence developed a deep learning-based version for more convenient BSD applications. In the present study, we build on this evidence for the BSD application in MS, showing results, while corresponding sDTI results are available in the Supplementary materials. Across diffusion metrics, BSD yielded lower mean FA and lower mean MD in both GM and WM and both HC and MS, indicating that conventional sDTI in this dataset tends to overestimate both anisotropy and diffusivity. When the effective b-value is lower than the nominal, which is common in peripheral brain regions, sDTI yields artificially elevated MD. FA decreased under BSD due to the method’s ability to correct anisotropic b-matrix distortions, including direction-dependent gradient magnitude errors and off-diagonal terms, thereby altering the eigenvalue structure of the diffusion tensor rather than uniformly scaling it. These reductions were most pronounced in GM, likely reflecting the greater numerical sensitivity of low-anisotropy and highly orientation-dispersed tissue to direction-dependent gradient errors and eigenvalues sorting. Moreover, GM is located more off-centrally with respect to the magnet’s isocenter, where magnetic field gradients are more non-uniform. Second, BSD both reveals biologically meaningful associations and removes spurious ones. Newly appearing correlations in MS involve FA (skeleton) and MD (skeleton) metrics, which under sDTI were essentially absent or highly unstable (Supplementary Table S3). Intriguingly, BSD also strengthened the cross-tissue coupling between skeleton WM, MD, and GM FD, indicating that GM morphological complexity is more tightly linked to the WM core diffusivity than sDTI implied. This cross-region dependence becomes detectable only when systematic errors are removed and may reflect shared degeneration pathways or long-range structure–function coupling in MS. Finally, BSD improves patient/control classification performance, with the strongest and most consistent gains in GM and for MD-based or combined diffusion metrics, while effects in WM are metric-dependent and generally smaller.
In the study, lesions were deliberately not masked, as the goal was to capture the global structural complexity of the brain, including both normal-appearing tissue and lesioned areas. This makes FD more reflective of the overall disease burden. To assess the stability of results, we compared them with those coming from images with masked-out lesions. Given the relatively low lesion load in our cohort (mean LPF 0.83%), their contribution to global average FD metrics was minimal. Discriminative sensitivity is preserved or improved after lesion masking, depending on the tissue. This is supported by previous work showing that cortical FD remains predictive of clinical outcomes even after adjusting for T2 lesion volume (10). This topic will be discussed in the next section in relation to the results shown in this study.
Lastly, our study focused on whole-brain measures without regional analysis. Whole-brain measures, including FD, have been successfully applied in previous MS studies (13) and captured the cumulative impact of local alterations. Previous work has suggested that regional FD may provide higher sensitivity to subtle cortical pathology (10). Global measures offer robustness against local segmentation errors, are more reproducible, allow direct comparison with whole-brain DTI metrics such as FA and MD, and can serve as fast, preliminary classifiers. Future studies could extend these analyses to regional FD to investigate more localized microstructural changes in MS. Regional cortical FD analysis represents an important next step, as it may provide finer-grained information on localized microstructural changes, similar to how region-specific measures of cortical thickness or diffusion metrics have been used in MS and other neurodegenerative diseases to detect subtle pathology (e.g., cortical thinning in Alzheimer’s disease or regional FA reductions in MS). Integrating both global and regional approaches could thus offer a more comprehensive assessment of disease burden.
4.2 Impact of lesion masking on the integrity-complexity relationship
A common approach in MRI studies of MS is to mask or fill lesions before analysis to obtain “pure” WM or GM measures. While useful for standardization in, for example, volumetric assessments of GM and WM, this practice imposes an artificial separation between normal-appearing and diseased tissue, even though lesions and NAWM interact and jointly contribute to global brain alterations. This can be confirmed by the moderate correlation between WM skeleton FA and GM FD.
In our study, average FD and DTI values and their correlations were minimally affected by lesion masking, but the significant redistribution of correlations after masking suggests that lesions carry distinct microstructural variance that strongly modulates FD-DTI relationships. In WM, lesion masking increases correlations with general structure and skeleton metrics, but diminishes skeleton-based correlations in GM. This suggests that lesions contribute meaningfully to the complexity signal, and that whole-brain FD may serve as a complementary marker of global structural disruption. Retaining lesions in the analysis does not necessarily reduce interpretability but can capture the integrated nature of MS pathology.
The discriminative ability of FD appeared to depend on whether lesions were masked out or not (Figures 5, 7). In WM, FD performed worse under the “lesions included” condition. In GM, FD demonstrated higher performance, but overall performance in GM was worse than in WM. The best discrimination between MS and HC was obtained with skeleton-based metrics, where the difference between “lesions included” and “lesions excluded” conditions was minimal, but the best accuracy was achieved for the latter. When the correlation between WM skeleton FA and WM FD is additionally analyzed, it can be concluded that greater integrity of the WM core increases WM general structure complexity. Negative correlation between WM skeleton FA/MD and GM FD, which had opposite sign to what was observed in WM, indicates that higher integrity and diffusivity of WM core is connected with lower FD of GM calculated for “lesions included” condition. Since this association did not persist after excluding lesions, it can be concluded that WM core condition and lesion load are related.
4.3 FD of the white matter interior (skeleton)
T1-based FD was higher in GM than in WM, indicating greater structural intricacy in cortical regions. This result is consistent with neuroanatomical complexity and aligns with previous findings that attribute higher FD in GM to its convoluted gyri and sulci (1). Applying FD to TBSS skeletons entails certain interpretational challenges, since skeletonization inevitably suppresses part of the geometric variability that FD is designed to capture. Nevertheless, we considered this approach valuable because several studies have shown that skeleton-derived FD provides unique insights into WM organization (28, 29) demonstrated its sensitivity to age, hemisphere asymmetry, and sex beyond volumetric effects, while (30) showed that skeleton FD can detect microstructural alterations in traumatic brain injury when general structure (global) or surface FD and DTI metrics do not. Likewise, (7) confirmed that cerebellar skeleton FD reflects branching complexity linked to morphological features such as branch and node counts. Even studies that did not directly compute FD on the WM skeleton, such as (12), explicitly suggested that skeleton-based FD may represent a promising avenue by reducing the variance introduced by surrounding tissue.
TBSS-based analysis conducted separately for both groups revealed that the WM skeleton does not exhibit a constant FD across scales, indicating multifractal behavior. This observation reflects the complex, scale-dependent nature of WM structure, especially in diseased tissue. This may be particularly relevant in MS, where focal lesions and diffuse pathology create heterogeneous spatial patterns. FD of the whole skeleton increased progressively with larger box-size ranges, reflecting expected scaling properties of the fractal measurement, and was higher for HC for larger scales. Conversely, FA and MD extracted from skeleton voxels showed stronger group separation, with large effect sizes (FA: -1.02, MD: 1.31). Combined with the general structure of FD, they can be valuable diagnostic measures.
4.4 Exploratory associations of FA with clinical variables in WM interior
To evaluate the potential effects of clinical variables on FA, MS, and HC groups, they were combined and analyzed using TBSS. We hypothesized that higher EDSS scores would be associated with reduced FA in MS patients, reflecting increased structural damage corresponding to disease severity. We also tested the correlation between SDMT and FA in both HC and MS groups to investigate whether cognitive performance influenced FA and to assess WM involvement in cognition. The covariates’ associations are very widespread, almost global across the WM skeleton (Supplementary Figure S5). In TBSS, the skeleton represents the core of major WM tracts, so a high percentage of significant voxels indicates associations between clinical variables with FA in almost all tracts. This could mean that the disease effects in MS are not localized but instead diffusely affect the white matter. Effects of SDMT, EDSS, and age are partially visible in the same voxels. This suggests that these covariates are associated with FA changes in overlapping brain regions. For example, voxels where EDSS is negatively correlated with FA might also be correlated with SDMT or age. There is a shared neurobiological substrate where disease severity (EDSS), cognitive performance (SDMT), and aging converge. It implies that these factors are not independent. Older patients may perform worse on the SDMT and have higher EDSS. WM degradation may reflect a combined burden of aging, disease progression, and cognitive impact.
Building on this, highly significant correlations of FA (skeleton) and FD (both lesions included and excluded conditions), controlling for BPF and age, that did not occur for HC, together with the high discriminative power of these metric combinations, may indicate that they can be sensitive to functional and cognitive decline in MS.
4.5 Comparison of the two approaches
Our results using global T1-based WM and GM masks revealed a different pattern of FD alterations in MS. In WM, FD was lower in MS than in HC, accompanied by a concurrent decrease in FA and increases in MD. This contrasts with GM, where FD, FA, and MD were higher in MS. An additional analysis directly comparing “lesions included” and “lesions excluded” conditions clarified the role of focal pathology. Importantly, lesion load in our cohort was low (~0.8% of parenchymal volume), reinforcing that global FD alterations cannot be explained simply by lesion burden but rather reflect broader changes in tissue microstructural complexity. This can be confirmed by an increased MS FA of GM, regardless of lesion-masking status.
The observed T1-based WM FD reduction in MS in comparison to HC likely reflects the inclusion of peripherally located voxels with spatially coherent microstructural disruptions at the WM/GM interface, which are particularly sensitive to demyelination, axonal loss, and microstructural simplification (31). Loss of fiber density and organization in these juxtacortical regions reduces structural complexity, thereby decreasing FD. In case of GM, juxtacortical and subcortical lesions, along with inflammatory processes and dendritic remodeling, can enhance microstructural irregularity in cortical regions, resulting in higher FD values in MS compared to HC (32). These divergent patterns between WM and GM underscore the value of global mask analysis, which captures the combined effects of diffuse and interface pathology reflected in GM measures and yields greater discriminative sensitivity compared to the masked-out lesions approach.
Conversely, TBSS analysis showed visible reductions in FA in MS without substantial FD changes. This supports the notion that WM interior damage primarily involves diffuse demyelination or axonal loss without introducing substantial geometric complexity change detectable by FD (33). In other words, the perivenous origin of lesion formation, followed by confluent and radial plaque formation, can be reflected in the intact WM core regularity (34). Furthermore, FA-FD correlations and their discriminative power increase after lesion masking. Thus, FD appears particularly sensitive to pathological alterations at tissue interfaces, where lesions are more likely to disrupt local structural heterogeneity, whereas central tracts may show decreased anisotropy without appreciable changes in fractal geometry. This is also consistent with the concept of “surface-in” gradient of neuronal and axonal loss in GM, and can be indicative of an early stage of the disease (32). Taken together, the combination of global T1-based masks and TBSS provides a more nuanced characterization of MS-related microstructural changes. This integrative approach can enhance the ability to detect subtle disease-related structural complexity changes that may not be apparent when using a single analytic framework, but more studies on the FD of the general WM/GM structure, FD of the WM/GM surface, and FD of the WM interior are needed to explore this topic more deeply (for example using different MRI modalities).
4.6 Limitations and possible future directions
This study has several limitations. First, we examined only global GM and WM fractal dimension, which is suitable for capturing widespread structural complexity but limits anatomical specificity and prevents identification of regional contributors to group differences. Second, the cross-sectional design precludes conclusions about longitudinal change or prognostic value. Third, the cohort consisted mainly of individuals with low disability, which limits generalizability and reduces the sensitivity to detect relationships between FD, DTI, and clinical measures.
Although FD-DTI correlations were central for assessing complementarity, these analyses cannot establish causal or mechanistic links between geometric complexity and diffusion properties. Lesion inclusion and exclusion each influence global metrics, and neither fully isolates diffuse pathology (lesion exclusion removes focal plaques, but the remaining NAWM/NAGM can include perilesional and subtle diffuse abnormalities, meaning that the resulting FD still reflects heterogeneous pathology rather than an isolated diffuse signal). Moreover, all analyses were derived from a single scanner and processing pipeline. Although mask type, lesion masking, and BSD correction were examined, external validation is required to confirm the independence of BSD-derived measures.
Interpretation from a clinical perspective is also constrained. Global FD captures integrated structural irregularity but does not indicate which tracts or cognitive domains it reflects, and low variability in clinical scores limits the detection of clinically meaningful associations. Exploratory links between FA, FD, and cognitive or functional measures; hence, they require replication in larger and more heterogeneous samples.
Future studies should incorporate regional and multi-scale FD analyses, apply longitudinal designs to test sensitivity to disease progression, and integrate FD with additional microstructural or connectomic measures. Multi-site harmonization, including but not limited to BSD-based approaches, will be essential for establishing the robustness of FD-DTI relationships in broader clinical and research contexts.
Data availability statement
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Ethics statement
The studies involving humans were approved by the Bioethics Committee of the Regional Medical Chamber, Krakow, Poland. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.
Author contributions
WM-R: Conceptualization, Data curation, Formal analysis, Methodology, Software, Visualization, Writing – original draft, Writing – review & editing. ZS: Data curation, Formal analysis, Methodology, Software, Writing – review & editing. AS: Data curation, Funding acquisition, Investigation, Project administration, Resources, Supervision, Writing – review & editing. AK: Conceptualization, Data curation, Funding acquisition, Methodology, Project administration, Resources, Software, Supervision, Validation, Writing – review & editing.
Funding
The author(s) declared that financial support was received for this work and/or its publication. The clinical trial entitled “Assessment of the clinical effectiveness of the BSD-MS (B-matrix Spatial Distribution for Multiple Sclerosis) technology and algorithms based on artificial intelligence for the analysis of MRI images in the course of multiple sclerosis” was financed by Medical Research Agency (contract number 2020/ABM/01/00006–00).
Acknowledgments
The authors thank the Medical Research Agency for funding the research and all the colleagues involved in the clinical part of this study.
Conflict of interest
The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declared that Generative AI was not used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fneur.2025.1618319/full#supplementary-material
References
1. Ziukelis, ET, Mak, E, Dounavi, M-E, Su, L, and T O'Brien, J. Fractal dimension of the brain in neurodegenerative disease and dementia: a systematic review. Ageing Res Rev. (2022) 79:101651. doi: 10.1016/j.arr.2022.101651,
2. Rovaris, M, and Filippi, M. Diffusion tensor MRI in multiple sclerosis. J Neuroimaging. (2007) 17:27S–30S. doi: 10.1111/j.1552-6569.2007.00133.x,
3. Cassol, E, Ranjeva, J-P, Ibarrola, D, Mékies, C, Manelfe, C, Clanet, M, et al. Diffusion tensor imaging in multiple sclerosis: a tool for monitoring changes in normal-appearing white matter. Mult Scler. (2004) 10:188–96. doi: 10.1191/1352458504ms997oa
4. Mandelbrot, BB. I. Introduction In: BB Mandelbrot, editor. The fractal geometry of nature. New York: W. H. Freeman and Co. (1982). 1–20.
5. Ruiz de Miras, J. Fractal analysis in MATLAB: a tutorial for neuroscientists. Adv Neurobiol. (2024) 36:815–25. doi: 10.1007/978-3-031-47606-8_41
6. Im, K, Lee, JM, Yoon, U, Shin, YW, Hong, SB, Kim, IY, et al. Fractal dimension in human cortical surface: multiple regression analysis with cortical thickness, sulcal depth, and folding area. Hum Brain Mapp. (2006) 27:994–1003. doi: 10.1002/hbm.20238,
7. Maryenko, N, and Stepanenko, O. Characterization of white matter branching in human cerebella: quantitative morphological assessment and fractal analysis of skeletonized MR images. Biomed Res Ther. (2021) 8:4345–57. doi: 10.15419/BMRAT.V8I5.673
8. Zhang, L, Butler, AJ, Sun, CK, Sahgal, V, Wittenberg, GF, and Yue, GH. Fractal dimension assessment of brain white matter structural complexity post stroke in relation to upper-extremity motor function. Brain Res. (2008) 1228:229–40. doi: 10.1016/j.brainres.2008.06.008,
9. Esteban, FJ, Sepulcre, J, de Mendizábal, NV, Goñi, J, Navas, J, de Miras, JR, et al. Fractal dimension and white matter changes in multiple sclerosis. NeuroImage. (2007) 36:543–9. doi: 10.1016/J.NEUROIMAGE.2007.03.057,
10. Roura, E, Maclair, G, Andorrà, M, Juanals, F, Pulido-Valdeolivas, I, Saiz, A, et al. Cortical fractal dimension predicts disability worsening in multiple sclerosis patients. Neuroimage Clin. (2021) 30:102653. doi: 10.1016/J.NICL.2021.102653,
11. Di Marco, N, di Palma, A, and Frosini, A. A study on the predictive strength of fractal dimension of white and grey matter on MRI images in Alzheimer’s disease. Ann Math Artif Intell. (2024) 92:201–14. doi: 10.1007/s10472-023-09885-8
12. Pantoni, L, Marzi, C, Poggesi, A, Giorgio, A, De Stefano, N, Mascalchi, M, et al. Fractal dimension of cerebral white matter: a consistent feature for prediction of the cognitive performance in patients with small vessel disease and mild cognitive impairment. Neuroimage Clin. (2019) 24:101990. doi: 10.1016/j.nicl.2019.101990,
13. Esteban, FJ, Sepulcre, Jorge, de Miras, Juan Ruiz, Navas, Juan, de Mendizábal, Nieves Vélez, Goñi, Joaquín, et al., 2009 Fractal dimension analysis of grey matter in multiple sclerosis J Neurol Sci Elsevier 282 67–71 doi: 10.1016/J.JNS.2008.12.023
14. Krzyżak, AT (2025). A method for correcting dwi/dti imaging errors by determining the actual distribution of magnetic field gradients. Poland: Patent Office of the Republic of Poland (number PCT/EP2025/067839).
15. Krzyżak, AT, and Figura, B (2021). A method for imaging in a nuclear magnetic resonance experiment. Poland: Patent Office of the Republic of Poland (number PCT/EP2021/062240 and PL248072B1).
16. Krzyżak, AT, and Olejniczak, Z. Improving the accuracy of PGSE DTI experiments using the spatial distribution of b matrix. Magn Reson Imaging. (2015) 33:286–95. doi: 10.1016/j.mri.2014.10.007,
17. Esteban, O, Markiewicz, CJ, Blair, RW, Moodie, CA, Isik, AI, Erramuzpe, A, et al. fMRIPrep: a robust preprocessing pipeline for functional MRI. Nat Methods. (2019) 16:111–6. doi: 10.1038/s41592-018-0235-4,
18. Garyfallidis, E, Brett, M, Amirbekian, B, Rokem, A, van der Walt, S, Descoteaux, M, et al. Dipy, a library for the analysis of diffusion MRI data, Front Neuroinform (2014) 8:1–17. doi: 10.3389/fninf.2014.00008
19. Jenkinson, M, Beckmann, CF, Behrens, TEJ, Woolrich, MW, and Smith, SM. FSL. NeuroImage. (2012) 62:782–90. doi: 10.1016/J.NEUROIMAGE.2011.09.015,
20. Borkowski, K, and Krzyżak, AT. The generalized Stejskal-Tanner equation for non-uniform magnetic field gradients. J Magn Reson. (2018) 296:23–8. doi: 10.1016/j.jmr.2018.08.010,
21. Krzyżak, AT. ‘Anisotropic Diffusion Phantom for Calibration of Diffusion Tensor Imaging Pulse Sequence Used in MRI. Patent application, 2008; Patents granted: US 8,643,369 B2 (2014); JP 6270174 B2 (2018); EP 2286258 B1 (2018).
22. Smith, SM, Jenkinson, M, Johansen-Berg, H, Rueckert, D, Nichols, TE, Mackay, CE, et al. Tract-based spatial statistics: voxelwise analysis of multi-subject diffusion data. NeuroImage. (2006) 31:1487–505. doi: 10.1016/J.NEUROIMAGE.2006.02.024,
23. Moisy, F.. 2025 boxcount, MATLAB Central File Exchange. Available online at: https://www.mathworks.com/matlabcentral/fileexchange/13063-boxcount (Accessed: 20 April 2025).
24. Benjamini, Y., and Hochberg, Y. 1995 Controlling the false discovery rate: a practical and powerful approach to multiple testing J R Stat Soc Series B Stat Methodol John Wiley & Sons, Ltd 57 289–300 doi: 10.1111/J.2517-6161.1995.TB02031.X
25. Krzyżak, AT, Lasek, J, Schneider, Z, Wnuk, M, Bryll, A, Popiela, T, et al. Diffusion tensor imaging metrics as natural markers of multiple sclerosis-induced brain disorders with a low expanded disability status scale score. NeuroImage. (2024) 290:120567. doi: 10.1016/j.neuroimage.2024.120567,
26. Krzyzak, AT, Lasek, J, and Slowik, A. Diagnostic performance of a multi-shell DTI protocol and its subsets with B-matrix spatial distribution correction in differentiating early multiple sclerosis patients from healthy controls. Front Neurol. (2025) 16:1618582. doi: 10.3389/FNEUR.2025.1618582/BIBTEX
27. Lasek, J, and Krzyżak, AT. AIBSD: deep learning approach to address spatial systematic errors in diffusion tensor imaging. Comput Methods Prog Biomed. (2025) 271:109034. doi: 10.1016/J.CMPB.2025.109034,
28. Farahibozorg, S, Hashemi-Golpayegani, SM, and Ashburner, J. Age- and sex-related variations in the brain white matter fractal dimension throughout adulthood: an MRI study. Clin Neuroradiol. (2015) 25:19–32. doi: 10.1007/s00062-013-0273-3,
29. Zhang, L, Dean, D, Liu, JZ, Sahgal, V, Wang, X, and Yue, GH. Quantifying degeneration of white matter in normal aging using fractal dimension. Neurobiol Aging. (2007) 28:1543–55. doi: 10.1016/J.NEUROBIOLAGING.2006.06.020,
30. Rajagopalan, V, Das, A, Zhang, L, Hillary, F, Wylie, GR, and Yue, GH. Fractal dimension brain morphometry: a novel approach to quantify white matter in traumatic brain injury. Brain Imaging Behav. (2019) 13:914–24. doi: 10.1007/s11682-018-9892-2,
31. Calabrese, M, Filippi, M, and Gallo, P. Cortical lesions in multiple sclerosis. Nat Rev Neurol. (2010) 6:438–44. doi: 10.1038/nrneurol.2010.93
32. Calabrese, M, Preziosa, P, Scalfari, A, Colato, E, Marastoni, D, Absinta, M, et al. Determinants and biomarkers of progression independent of relapses in multiple sclerosis. Ann Neurol. (2024) 96:1–20. doi: 10.1002/ana.26913,
33. Kutzelnigg, A, Lucchinetti, CF, Stadelmann, C, Brück, W, Rauschka, H, Bergmann, M, et al. Cortical demyelination and diffuse white matter injury in multiple sclerosis. Brain. (2005) 128:2705–12. doi: 10.1093/brain/awh641,
Keywords: diffusion tensor imaging, fractal dimension, fractional anisotropy, multiple sclerosis, non-uniform gradients, systematic error
Citation: Mazur-Rosmus W, Schneider Z, Słowik A and Krzyżak AT (2026) T1- and diffusion tensor-based fractal dimension of white and grey matter in multiple sclerosis. Front. Neurol. 16:1618319. doi: 10.3389/fneur.2025.1618319
Edited by:
Kevin Koch, Medical College of Wisconsin, United StatesReviewed by:
Matteo Figini, University College London, United KingdomAdil Maarouf, Assistance Publique Hôpitaux de Marseille, France
Kyesam Jung, Helmholtz Association of German Research Centres (HZ), Germany
Copyright © 2026 Mazur-Rosmus, Schneider, Słowik and Krzyżak. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Weronika Mazur-Rosmus, d21henVyQGFnaC5lZHUucGw=; Artur Tadeusz Krzyżak, YWtyenl6YWtAYWdoLmVkdS5wbA==
Zofia Schneider1