1. Introduction
Research on glaucoma has a long tradition in ophthalmology. Currently, one of the common causes of vision loss is the development of glaucoma. The progression of this disease is often asymptomatic, which complicates timely diagnosis. This is the field of study that deals with pathological changes in glaucoma, which include increased intraocular pressure, thinning of the retinal nerve fiber layer, loss of ganglion cells, neuroretinal rim thinning, and degradation of capillary vessels. These structural changes can be visualized on fundus images, making them promising tools for large-scale screening.
Regular glaucoma screening is essential to prevent irreversible vision loss. However, this leads to myriad problems in clinical practice. Existing diagnostic methods based on fundus images either require manual analysis by highly qualified specialists, which can be subjective and labor-intensive, or involve automated approaches that currently lack sufficient accuracy and generalization ability for widespread deployment.
One effective method for diagnosing glaucoma is calculating the cup-to-disc ratio (CDR). However, the main problem is that glaucoma is characterized not only by changes in the optic disc but also by diffuse thinning of the peripapillary retinal nerve fiber layer and degradation of the capillary network. These vascular changes may serve as additional biomarkers for diagnosing pathological alterations, yet they remain understudied.
Traditional diagnosis based on calculating the cup-to-disc ratio is often insufficiently effective in the early stages. A further problem is that automated tools for rapid and objective assessment of the retinal vascular network are sparsely represented in the literature. Most studies focus on analyzing the macular region or the optic disc, while the diagnostic potential of the retinal vasculature in glaucoma remains understudied. This gap motivates the present research.
In [
1,
2], the authors provided a comprehensive review of deep learning methods for binary classification and segmentation of the optic disc region. They note that despite the widespread use of methods for analyzing disc shape and excavation, the combination of precise vascular segmentation followed by textural analysis is applied infrequently. Many existing works focus on analyzing the geometric parameters of the disc or use end-to-end classification models without extracting interpretable biomarkers. Ref. [
3] presented a comprehensive survey of automated detection methods for diabetic retinopathy, highlighting the growing role of texture-based and fractal-based features in retinal image analysis.
The successful application of deep learning methods for glaucoma diagnosis is confirmed by several studies [
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14]. For instance, the authors of [
4] demonstrated that an ensemble of neural network models for optic disc segmentation showed significant superiority over traditional approaches. A CAD system for binary classification using a modified pelican optimization-based extreme learning machine has been proposed in [
13]. A deep learning algorithm demonstrating effectiveness on ethnically diverse datasets has been reported in [
14]. These works confirm the potential of automated methods; however, none of them combine vessel segmentation with multifractal analysis.
In addition, many biomedical researchers apply fractal and multifractal analysis algorithms. This toolkit allows for the quantitative assessment of structural complexity. A foundational review of fractal analysis of the retinal vascular tree has been provided in [
15], demonstrating that fractal dimension can serve as a quantitative descriptor of vascular architecture. Our previous work [
16] successfully applied fractal analysis combined with neural networks for the classification of lung CT images, demonstrating the translational potential of this methodology across different medical imaging modalities. A key factor influencing quality is pre-processing, which may involve frequency transformation, noise reduction, contrast enhancement, or morphological operations such as binarization.
There is a wide range of methods for estimating fractal and multifractal characteristics. They can be based on counting covering elements (box-counting) at various scales or on analyzing the distribution of pixel brightness [
17]. The choice of a specific method also determines pre-processing requirements: classical box-counting applies to binary images, while its differential modifications work with grayscale images. The authors of [
18] performed multifractal analysis of human retinal vessels and showed that multifractal parameters provide richer information about vascular morphology than classical fractal dimension alone.
The effectiveness of combining grayscale conversion methods, GLCM texture analysis, and the differential box-counting method has been demonstrated not only in technical applications but also in related biomedical tasks. For example, three methods have been used in [
19] for converting images to monochrome format in conjunction with GLCM parameters and the differential box-counting algorithm. The authors of [
20] applied a similar approach for quantitative assessment of corrosion damage. The success of these studies justifies the promise of applying such a methodology to retinal image analysis.
Classical fractal analysis has a significant limitation: it characterizes the entire structure with only a single numerical value. In situations where visually different patterns yield the same dimension, this approach loses its discriminative power. One way to overcome this limitation is to employ multifractal analysis, which characterizes structural heterogeneity through a set of generalized Rényi dimensions. A recent meta-analysis has summarized the current evidence on fractal dimension in retinal pathology, motivating further exploration of advanced fractal-based descriptors for glaucoma diagnostics [
21].
The application of multifractal analysis in medical imaging demonstrates its high diagnostic potential. In [
22], the multifractal spectrum of lung CT images was used to quantitatively track the progression of pneumonia. The authors of [
23] applied multifractal analysis to retinal images and, combined with machine learning, achieved high accuracy in classifying pathologies. In [
24], researchers demonstrated that combining structural and non-structural features, including texture-based parameters, improves glaucoma detection performance. These studies confirm the feasibility of a multifractal approach for analyzing structural changes in eye diseases.
One of the key challenges identified in contemporary research on AI in ophthalmology is the insufficient transparency of diagnostic decisions. In their systematic review, the authors of [
25] emphasized that despite achieving high accuracy (up to 98.3%) and AUC (up to 0.99), deep learning models often operate as “black boxes,” hindering clinicians’ understanding of diagnostic rationale. This creates significant barriers to clinical implementation, where decision justification is critical.
Recent studies have demonstrated the effectiveness of deep convolutional neural networks for ocular disease diagnosis. For instance, Al Jbaar and Dawwd [
26] proposed parallel embedded architectures based on VGG16 and custom lightweight networks, achieving accuracy of up to 96% on the ODIR dataset for multi-label ocular disease detection.
In contrast, the authors note that tabular data combined with interpretable machine learning methods (logistic regression, Random Forest, SVM) not only achieves comparable accuracy but also enables identification of the most significant diagnostic factors. Building on this approach, the present study applies fractal and texture analysis to extract quantitative features that, unlike hidden layers of neural networks, are directly interpretable. This allows for tracing the relationship between structural characteristics of ocular tissues and the diagnostic conclusion, providing necessary transparency for clinical application.
The wide range of accuracy values (76–98%) observed in the literature indicates that high accuracy alone does not guarantee clinical value. As Shahriari et al. emphasize, interpretability remains critically important, particularly when employing “black boxes” in the form of deep neural networks.
The methodology of this study represents a multi-stage ensemble approach combining preprocessing, textural, fractal, and multifractal analysis with subsequent machine learning classification. Specifically, we propose an interpretable multifractal–textural ensemble for glaucoma diagnosis.
To our knowledge, no previous research has investigated such an ensemble. The key contribution of this work is the solution it provides. This study is the first to integrate (i) three alternative grayscale conversion strategies for GLCM-based texture analysis, (ii) differential box-counting fractal dimension of the optic nerve head, and (iii) multifractal spectrum parameters of U-Net-segmented vessels within a single interpretable machine learning framework for glaucoma classification.
At the initial stage, the original RGB images are divided into two domains: full retinal images and extracted optic nerve head (ONH) regions. For each domain, conversion to grayscale is performed using three alternative methods to enable comparative analysis of their impact on classification accuracy. The obtained monochrome images are filtered (median and Gaussian) to minimize noise and artifacts.
For all filtered monochrome images, the Gray-Level Co-occurrence Matrix (GLCM) is calculated, from which Haralick textural features are extracted: contrast, correlation, energy, homogeneity, and entropy. These features characterize the microstructure of the retinal tissue and the ONH.
For the optic nerve head crops, the differential box-counting method is applied. The choice of this method is due to its ability to work with grayscale images without prior binarization, preserving information about brightness gradients within the ONH structure. As a result, fractal dimension is computed as a quantitative measure of disc morphological complexity.
The analysis of full retinal images includes a critical step: segmentation of the vascular bed. Preliminary testing of classical morphological processing methods revealed insufficient effectiveness in segmenting thin capillaries. To overcome this problem, the U-Net neural network architecture [
27] was configured and trained on labeled data. The choice of U-Net is justified by its proven effectiveness in biomedical segmentation tasks with limited training data. This approach improved segmentation completeness of peripapillary vessels, which play a key role in glaucoma pathogenesis. Based on the binary masks obtained after segmentation, multifractal analysis is performed, yielding scaling characteristics that capture the heterogeneity and complexity of the vascular architecture.
At the final stage, a combined feature table is formed, including GLCM textures (for all images), DBC fractal dimension (for ONH crops), and multifractal parameters (for vessel masks). The resulting dataset is used for training and comparative analysis of several machine learning models (logistic regression, Support Vector Machine, Random Forest, Gradient Boosting). Model performance is evaluated on a held-out test set using accuracy, precision, recall, and F1-score for the binary classification task (“normal/glaucoma”).
The remainder of this paper is organized as follows:
Section 2 describes the dataset, preprocessing steps, U-Net segmentation, fractal and multifractal analysis methods, and the machine learning classification pipeline.
Section 3 presents the experimental results and discusses their implications, including segmentation quality, feature extraction outcomes, and classification performance.
Section 4 concludes this paper with a summary of the findings and directions for future work.
2. An Ensemble Framework for Retinal Image Feature Extraction and Classification
2.4. Differential Box-Counting Method
In the classical box-counting approach, the object under study typically consists of foreground pixels extracted from a binary image. This object originates from a two dimensional domain, the image plane, which has undergone a kind of dimensionality collapse. The initial domain is both topologically and Euclidean two-dimensional. However, due to its fractal nature, it does not fully occupy the plane. Instead, it forms disconnected components such as isolated contours, scattered islands, or sparse line structures.
Regardless of the specific pattern, the classical box-counting method estimates the fractal dimension of these fragmented structures. For island like patterns, one can relate the area to the perimeter. For line like structures, one can relate the length to the spatial extent. In all cases, the fractal dimension characterizes how the measured property scales with the observation scale. Because the object is embedded in and fails to cover the plane completely, its fractal dimension is always less than 2. It ranges from 1 for a smooth curve to nearly 2 for an almost space filling pattern, but never reaches the Euclidean dimension of the embedding space.
This fundamental limitation, namely the loss of intensity information and the inability to capture variations within the object, motivates the use of the differential box-counting method for grayscale images. The input for this method consists of the transformed monochrome images of the retina and the optic nerve head region.
The differential box-counting method, originally proposed by [
36], extends the box-counting concept to grayscale images by interpreting pixel intensity as a third dimension. A grayscale image of size
pixels is treated as a three-dimensional surface, where the coordinates
define the spatial position of a pixel, and the
z-coordinate corresponds to the pixel intensity value, ranging from 0 to
(with
for an 8-bit image). In this representation, the surface remains topologically two-dimensional but is embedded in
, allowing its fractal dimension to range from 2 (perfectly smooth) to 3 (extremely rough). A schematic illustration of the DBC algorithm is provided in
Figure 1.
The differential box-counting algorithm is implemented through the following steps.
Step 1. Scale selection. The image of size pixels is partitioned into non-overlapping square grids of size pixels, where s takes values such as 2, 4, 8, 16, 32, 64, . For each scale, the scaling factor is defined as . The grid cells are indexed by , where and , with i and j denoting the row and column positions, respectively.
Step 2. Box height determination. To ensure scale invariance, the height
h of each three-dimensional box is coupled to the grid size
s:
where
. This coupling preserves the proportion
, guaranteeing that the fractal dimension estimate is independent of image resolution.
Step 3. Intensity range within each cell. For each grid cell
, the minimum and maximum intensity values are identified:
Step 4. Box indices for min and max. The entire intensity range
is divided into vertical boxes (layers) of equal height
h. The box indices for the minimum and maximum intensities are:
where
denotes the floor function.
Step 5. Number of boxes covering the cell. The number of vertical boxes required to cover the intensity variation within cell
is:
If the intensity surface is flat within the cell (
), then
and
.
Step 6. Total boxes for the entire image. Summing over all grid cells, the total number of boxes of size
needed to cover the entire intensity surface at scale
r is:
Step 7. Repetition across scales. Steps 1 through 6 are repeated for each selected grid size s, yielding a set of points .
Step 8. Fractal dimension estimation. The values of
are plotted against
in double logarithmic coordinates. A straight line is fitted to the points using the least squares method. The slope of this line is the fractal dimension
:
where
C is the intercept.
In this study, the differential box-counting method was applied to both the full retinal images and the extracted optic nerve head crops to obtain fractal dimension estimates for each image type.
For full retinal images and ONH crops (resized to 2048 × 2048), the grid sizes were s = 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024. Partial boundary cells were included using their actual size (no discarding).