[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Next Article in Journal
Properties of GA-h-Convex Functions in Connection to the Hermite–Hadamard–Fejér-Type Inequalities
Next Article in Special Issue
A Comparison of the Tortuosity Phenomenon in Retinal Arteries and Veins Using Digital Image Processing and Statistical Methods
Previous Article in Journal
Construction of a New 2D Hyperchaotic Map with Application in Efficient Pseudo-Random Number Generator Design and Color Image Encryption
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhancing Vessel Segment Extraction in Retinal Fundus Images Using Retinal Image Analysis and Six Sigma Process Capability Index

1
Center of Information, Communication and Networking Education and Innovation (ICONET), American University of Ras Al Khaimah, Ras Al Khaimah 72603, United Arab Emirates
2
Industrial Engineering Department, College of Engineering, University of Ha’il, Ha’il 81481, Saudi Arabia
3
Computer Science Department, Bahauddin Zakariya University, Multan 60800, Pakistan
4
Department of Ophthalmology, RAK Medical and Health Sciences University, Ras Al Khaimah 11172, United Arab Emirates
5
Saqr Hospital, Ministry of Health and Prevention, Ras Al Khaimah P.O. Box 5450, United Arab Emirates
6
Dr. Emad Mussalam Eye Clinic, Ras Al Khaimah P.O. Box 5450, United Arab Emirates
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(14), 3170; https://doi.org/10.3390/math11143170
Submission received: 14 May 2023 / Revised: 7 July 2023 / Accepted: 11 July 2023 / Published: 19 July 2023
Figure 1
<p>The process of optimizing the vessel skeletonization and extracting the proper vessel segments (root segments or between bifurcation points, cross sections, or leaf segments).</p> ">
Figure 2
<p>Iterative thinning skeletonization.</p> ">
Figure 3
<p>Distance-based skeletonization.</p> ">
Figure 4
<p>Bi-tangent skeletonization circles.</p> ">
Figure 5
<p>Medial axes skeletonization.</p> ">
Figure 6
<p>Branch points detection patterns (<b>a</b>) start or end of a segment, CPN = 1. (<b>b</b>) bifurcation point, CPN = 3. (<b>c</b>) crossover point, CPN = 4.</p> ">
Figure 7
<p>Skeletonization before removing the spur.</p> ">
Figure 8
<p>Tortuosity The inflection count metric is applied on the vessel fragments.</p> ">
Figure 9
<p>The process of quantifying the impact of the optimization on (<b>a</b>) the tortuosity measurement process before applying the optimization steps; (<b>b</b>) the tortuosity measurement process After applying the optimization steps.</p> ">
Figure 10
<p>Snapshots of the image after each stage: (<b>a</b>) original image. (<b>b</b>) vessel segmentation. (<b>c</b>) detection of intersection points from (<b>d</b>) skeletonized. image (<b>e</b>) identifying the vessel segments. (<b>f</b>) tortuosity measurement.</p> ">
Figure 11
<p>Skeletonization before and after removing the spur (<b>a</b>) skeletonization with spur (<b>b</b>) skeletonization with cleaned spur.</p> ">
Figure 12
<p>Detecting the pixels that cause breaking of the segment to sub-segments (<b>a</b>) “L” shaped corners in the vessel skeleton as a result of the initial skeleton from the vessel tree using the MATLAB function. (<b>b</b>) Marking the branch points (red square) and the “L” shaped corners (blue cross). (<b>c</b>) Enhanced vessels skeletonization after removing corner pixels from the “L” shape.</p> ">
Figure 13
<p>Illustration of a vessel segment extraction in a portion of the retinal image (<b>a</b>) vessel segments extracted before optimization (<b>b</b>) segments after optimization for the same vessel segment.</p> ">
Figure 14
<p>The corner pixels from the “L” shapes in vessel segments: (<b>a</b>) existence of ’L’ shape pixels in a specific segment within the skeleton (<b>b</b>) wrong sub-segments generated instead of one segment (<b>c</b>) resolving the root cause (<b>d</b>) the vessel segment localized correctly.</p> ">
Figure 15
<p>Generating the vessel segments (<b>a</b>,<b>c</b>) before applying the segment generation improvement in (<b>b</b>,<b>d</b>) after applying the improvement.</p> ">
Figure 16
<p>The proposed method enabled a precise segmentation of the vessel segment (<b>a</b>) original image (<b>b</b>) segments extracted before applying the skeletonization improvement method (<b>c</b>) segments obtained after using the skeletonization improved method. The white arrows in the second segmented segments point to the segments that have been wrongly broken, and the researchers’ proposed process has reconnected them and improved the results.</p> ">
Figure 17
<p>The proposed method enabled a precise segmentation of the vessel segment (<b>a</b>) original image (<b>b</b>) segments extracted before applying the skeletonization improvement method (<b>c</b>) segments obtained after using the skeletonization-improved method.</p> ">
Figure 18
<p>Enhanced skeletonized vessel segment images are generated from the AV Classification dataset and added to the RVM research work-generated datasets.</p> ">
Figure 19
<p>Box plot illustrates the fragment extraction optimization impact on the calculation of the vessel segment fragment centerline length.</p> ">
Figure 20
<p>Illustration of the fragment extraction enhancement impact on calculating the <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi></mrow></semantics></math> for the 504 retinal images.</p> ">
Figure 21
<p>XBar-R chart plot of <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> results for the 504 images (<b>a</b>) before enhancing the vessel extraction and (<b>b</b>) after enhancing the vessel extraction. The two run-charts emphasize that the <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> data before and after vessel enhancement are nonrandom, as the <span class="html-italic">p</span>-the value of the four main types of non-randomness is above 0.05 each.</p> ">
Figure 22
<p>Histogram of calculating tortuosity inflection count metric results for the 504 images, (<b>a</b>) before enhancing the vessel extraction (<b>b</b>) after enhancing the vessel extraction.</p> ">
Figure 23
<p>Applying the transformation to generate normally distributed bell curve for (<b>a</b>) ’ICMn Before’ the tortuosity data of the vessel segments before being enhanced (<b>b</b>) ’ICMn After’ After enhancing the vessel extraction and calculating the <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> tortuosity values for the segments extracted after the enhancement. The two normally distributed plots emphasize that the <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> data before and after vessel enhancement are normally distributed and ready to proceed in calculating the process capability index.</p> ">
Figure 24
<p>Probability plot of calculating tortuosity inflection count metric results for the 504 images, (<b>a</b>) before enhancing the vessel extraction; (<b>b</b>) after enhancing the vessel extraction. The two pp plots emphasize that the <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> data before and after vessel enhancement are normally distributed.</p> ">
Figure 25
<p>Run chart plot of <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> results for the 504 images, (<b>a</b>) before enhancing the vessel extraction and (<b>b</b>) after enhancing the vessel extraction. The two run-charts emphasize that the <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> data before and after vessel enhancement are nonrandom as the <span class="html-italic">p</span>-value of each of the four main types of non-randomness is above 0.05.</p> ">
Figure 26
<p>Capability report of <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> results for the 504 images, (<b>a</b>) before enhancing the vessel extraction and (<b>b</b>) after enhancing the vessel extraction.</p> ">
Figure 27
<p>Illustration of the normal distribution of <math display="inline"><semantics><mrow><mi>I</mi><mi>C</mi><mi>M</mi><mi>n</mi></mrow></semantics></math> (<b>a</b>) before enhancing vessel segments extraction and (<b>b</b>) after enhancing vessel segments extraction.</p> ">
Versions Notes

Abstract

:
Retinal vessel segmentation, skeletonization, and the generation of vessel segments are considered significant steps in any automated system for measuring the vessel biomarkers of several disease diagnoses. Most of the current tortuosity quantification methods rely on precise vascular segmentation and skeletonization of the retinal vessels. Additionally, the existence of a reference dataset for accurate vessel segment images is an essential need for implementing deep learning solutions and an automated system for measuring the vessel biomarkers of several disease diagnoses, especially for optimized quantification of vessel tortuosity or accurate measurement of AV-nicking. This study aimed to present an improved method for skeletonizing and extracting the retinal vessel segments from the 504 images in the AV classification dataset. The study utilized the Six Sigma process capability index, sigma level, and yield to measure the vessels’ tortuosity calculation improvement before and after optimizing the extracted vessels. As a result, the study showed that the sigma level for the vessel segment optimization improved from 2.7 to 4.39, the confirming yield improved from 88 percent to 99.77 percent, and the optimized vessel segments of the AV classification dataset retinal images are available in monochrome and colored formats.

1. Introduction

The retina, a thin and transparent tissue located at the back of the eye, is essential for detecting light and transmitting visual data to the brain. Recent technological advancements have developed numerous diagnostic instruments and computer-aided diagnostic systems (CAD) for ophthalmologists, allowing them to detect and monitor vascular morphological changes in the retina [1]. Fundus photography, a widely used technique, aids in identifying retinal alterations and monitoring the progression of eye diseases, resulting in earlier and more accurate diagnoses [2].
Retinal fundus images provide valuable information regarding patient health from the status of the vascular anatomy, including veins, arteries, macula, fovea, optic discs, and numerous aberrant lesions, including cotton wool spots, exudates, and hemorrhages. Fundus retinal image vascular skeletonization is an essential topic in medical image processing that has received much attention in recent years. The extraction of retinal vessel skeleton segments is essential for retinal image analysis and for diagnosing ocular diseases. It involves identifying and extracting the skeleton structure of retinal blood vessels, allowing for the quantification of vessel biomarkers and the evaluation of vessel tortuosity. Nevertheless, manual segmentation of the retinal vasculature from the colored fundus images is labor-intensive, time-consuming, and prone to inconsistencies between specialists [3,4]. Therefore, the demand for human-free automated retinal vascular segmentation has become crucial. Diagnosing retinal diseases such as diabetic retinopathy (DR) and hypertensive retinopathy (HR) is highly dependent on the study and analysis of blood vessel morphology changes [5,6].
Vessel segmentation, skeletonization, and the generation of vessel segments are significant steps in any automated system for measuring the vessel biomarkers of several disease diagnoses. For example, most current tortuosity quantification methods rely on precise vascular segmentation and skeletonization of the retinal vessels. Additionally, having a reference dataset that provides accurate vessel segmented images is crucial in developing a deep-learning solution and an automated system for measuring vessel biomarkers in various disease diagnoses, especially for optimized quantification of vessel tortuosity or accurate measurement of AV-nicking. A phenomenon noticed on the generated skeletons is that it segments the vessels at the cross-overs or branching points and within the vessel itself, thus creating many vessel segment cuts. Therefore, it implies that the generated skeletons need some enhancement or optimization to have the real vessel segments available only at the crossover or branching points.
Accurate segmentation of retinal blood vessels plays a crucial role in computer-assisted diagnosis and staging techniques, facilitating the detection of morphological changes resulting from various disorders. Unsupervised techniques, such as matching filters, vasculature tracing-based segmentation, and model-based segmentation, have been extensively studied for retinal vascular segmentation [7,8,9,10]. However, the absence of manually labeled ground truths frequently hinders the performance of unsupervised methods, making supervised approaches generally preferable. Unlike unsupervised techniques, supervised models can improve with access to standard gold labels and learn from annotated data. In supervised models, retinal vascular segmentation involves feature extraction and pixel classification. There is a dichotomy between autonomously learned and manually constructed characteristics. In machine learning, manual feature extraction is used for fundus images and common classifiers such as SVM [11], KNN [12], radial projection [13], and ridge-based schemes [14]. Manual feature selection is application-specific and may utilize domain knowledge, but it lacks generalization capability because it cannot autonomously learn new features [15]. Several other methods in [16] achieved vessel segmentation using shallow neural nets and deep learning approaches that showed promising results in multiple areas of fundus retinal image analysis and diagnostics problems. Deep learning algorithms for retinal vascular extraction were developed and tested on publicly accessible datasets for diabetic retinopathy and other retina diseases. These approaches perform better for retinal vessel segmentation because retinal image datasets contain more precise and apparent blood vessels than HR-specific datasets.
A seven-layer CNN was developed by Khalaf et al. [17]. To decrease intra-class variation, they classified pixels into big, background, and tiny vessels. In pre-processing, they isolated the green channels of pictures and used adaptive histogram equalization (AHE) and mathematical top-hat filtering. The green channel, AHE, and top-hat filtering strengthened training picture vasculature and reduced noise. FCNs generate dense and accurate picture patch pixel predictions with high performance for each of the seven FCNs.
Multi-model networks utilized by others, like Oliveira et al. [18], presented an FCN with skip connections in order to convey characteristics from shallow to deeper layers. SWT-transformation added additional channels as input to study the enabled multiscale structure of the vascular system, and it was concluded that the domain knowledge benefited the deep learning results.
Liu et al. [19] presented a skeletonization method using a multiscale vessel filter and adaptive thresholding. The method effectively captures vessel structures with varying widths. It exhibits robustness against noise but may encounter difficulties in accurately capturing vessel crossings. Wang et al. [20] provided a retinal image vessel crossing technique and a bifurcation detection technique. The authors used a multi-attention network for vessel segmentation and a directed graph search approach for vessel branching points. Although the suggested technique accurately detects vessel crossings and bifurcations, a critical feature of retinal image analysis, multi-attention networks improve vessel segmentation by concentrating on informative areas, improving detection performance. Exploring vascular-related issues using the directed graph search technique helps find branching spots. The work needs a detailed assessment of the suggested approach on big datasets, and a comparison with state-of-the-art methodologies is required to determine its efficacy and usefulness in real-world clinical contexts.
Despite the advancements in retinal vessel skeleton segment extraction, several challenges remain: Accurate extraction of vessel branches at crossovers and branching points remains a significant hurdle for many methods. Handling vessels with varying widths and irregular shapes poses difficulties for some approaches. Certain methods’ computational complexity and processing time may limit their practical application in real-time scenarios. The reliance on annotated datasets for training deep learning models may be a constraint in some contexts.
The main concerns addressed by this study are:
  • Why does skeletonization of the vascular tree break the vessel segments in points, not at a bifurcation or cross-section locations?
  • Why are vessel segments cut into several pieces between the connection points?
  • How can other researchers be provided with a correctly segmented skeletonized large dataset by expanding the researchers’ previously released AV classification dataset with images that comprise properly segmented vascular segments?
Moreover, this study proposed an improved method for skeletonizing and extracting pertinent vessel segments. Our method enhances the tortuosity calculation process by optimizing the vessel segment extraction process. We used process capability analysis, derived from the six sigma methodology, to quantify the improvements in tortuosity calculation before and after implementing our optimized method. In addition, we expanded the existing AV classification dataset by incorporating image-level segment skeletons’ severity level.
The main contribution and novelty of this work are:
  • Proposing an enhanced method to extract each vessel segment in the vessel’s skeleton tree from each intersection point to the next intersection point.
  • The improvement of the vessel-segment extraction leads to enhanced vessel-tortuosity calculation.
  • The tortuosity calculation improvements were quantified using the six-sigma process capability index, where the tortuosity was calculated for all the vessel segments in all the 504 retinal images twice, once before applying the enhanced method of vessel segments and the second time after enhancing the extracted vessel segments.
  • For the first time in the field, this work used the process capability index to measure tortuosity improvement due to improving the process of vessel segment extraction.
  • The approach was implemented and evaluated on a robust dataset of 504 retinal images.
  • The introduction of a new extension dataset containing vessel segment fragments for the 504 images made available for researchers’ future work.
The remainder of this article is structured as follows: Section 2 reviews the relevant literature on skeletonization research. Section 3 describes our optimized vessel extraction technique. Results of the proposed optimized method are presented in Section 4. Section 5 concentrates on the influence of enhanced vessel segments on the calculation of tortuosity. Finally, Section 6 presents the conclusions.

2. Literature Review

Vessel segment extraction plays a vital role in various applications of retinal image analysis, including vessel tortuosity measurement, disease diagnosis, and monitoring. Numerous techniques have been proposed in recent years to address the challenges associated with accurate and reliable segment extraction. At the same time, significant progress has been made in this field in recent years due to the increasing availability of high-resolution retinal imaging and the evolution of sophisticated image processing techniques. This literature review provides an overview of state-of-the-art methods and their strengths and weaknesses. At the same time, it provides an overview of contemporary methodologies for extracting segments of the retinal vessel skeleton, emphasizing their essential characteristics and contributions.
Fundus retinal image vascular skeletonization is an active research subject, with numerous potential ways to increase the process’s accuracy and efficiency. The study of the retinal vessel-segments extraction needs multiple steps to reach the retinal vessels’ skeleton fragments. Hence, each step definition and related work are summarized below; therefore, to quantify the enhanced extraction of the vessel segments, the following vessel-researched steps were performed to extract the vessel segments: vessel segmentation, vessel skeletonization, identification of bifurcation/intersection points, and extraction of optimized vessel segments. Thus, those steps will be discussed in the method section as they are necessary steps to extract the vessel fragments.
Extracting the vascular tree skeleton from fundus retinal images is challenging due to the complicated and variable design of retinal arteries and veins, noise and poor illuminations, and lesions. Graph-based techniques, morphological operations, and machine learning-based approaches to vessel skeletonization have been proposed in recent years. For instance, Mahapatra et al. [21] proposed a vessel segmentation method based on an optimal enhanced Frangi filter and ranked spatial fuzzy C-means, then used a graph-cut technique for skeletonization, achieving the latest performance in terms of efficiency and accuracy.
Another recent work in this direction was based on an optimized BCOSFIRE filter for vessel segmentation [22], FCN deep learning for the segmented retinal vessels classification to arteries and veins [23], the segmentation of ring-cut, and calculating the iterative-AVR as a new method for measuring AVR that was the first in the field to be implemented and published for arteriovenous ratio [6]. Using a publicly available dataset, ’AV classification’ and retinal morphometry datasets form the stages in a decision support system for diagnosing eye diseases from retinal images; however, the skeletonization phase was only briefly explained and described.
Ouyang et al. [24] described a U-Net-based deep learning framework for retinal vessel segmentation and suggested modification to U-net by adding vessel-related local feature augmentation and focused techniques to increase the accuracy of vascular segmentation in the LEA U-Net model. U-net is a prominent convolutional neural network (CNN) model. During segmentation, local feature improvement modules gather comprehensive vessel information and attention mechanisms concentrated on the key vessel sections. LEA U-Net performs well in retinal vascular segmentation. It detects vessel features, resists noise, and bypasses picture fluctuations. The local feature improvement and attention techniques increase segmentation accuracy and vessel feature extraction.
Lyu et al. [25] introduced a benchmark dataset and assessment system. Image improvement and noise reduction precede vessel segmentation utilizing vessel-ness filters and post-processing. Vascular tree analysis extracts morphological traits and quantifies vascular tortuosity and branching patterns. The research provides a benchmark dataset, assessment methodology, and a high-performing retinal vascular tree analysis approach. The method’s shortcomings are to be tested with patients with severe retinal images that require more study. Yan et al. [26] proposed a vessel skeleton extraction approach based on multiscale line tracking. The method combines vessel enhancement and line-tracking algorithms to extract vessel skeletons. The main advantage is its ability to handle various vessel widths. However, it may need more accuracy in complex vessel structures. Chen et al. [27] introduced a hybrid approach combining vessel segmentation and skeletonization using a deep learning model. The method achieves high accuracy in vessel segment extraction but requires a large annotated dataset for training, which can be time-consuming and costly. Wang et al. [20] proposed a graph-based skeleton extraction technique that utilizes vessel segmentation and graph representation. The method achieves accurate vessel skeleton extraction and is robust against noise. However, it may encounter challenges in handling vessel crossovers and branching points. Hawas et al. [28] presented a vessel skeleton extraction method using a scale-space analysis and graph-cut optimization. The method achieves accurate vessel segment extraction and effectively handles vessel crossings. However, it may be computationally intensive and time-consuming.
In conclusion, retinal vessel segment extraction methods have seen significant progress in recent years. Each method discussed above has strengths and weaknesses, providing valuable contributions to the field. However, challenges related to vessel branch extraction, varying vessel widths, and computational efficiency persist. Future research should address these challenges and develop more robust and efficient vessel segment extraction methods.
In addition to the fact that blood vessels are visible on the retina’s surface, vessel morphology changes can also be identified using retinal images. Its variations are apparent indicators of the severity of various eye diseases.
Another example of morphological alteration is vessel tortuosity, defined as the presence of twists or turns in the morphology of the vessel [29]. As the tortuosity increases, the severity of eye diseases like center retinal vessel occlusion (CRVO) [30,31], diabetic retinopathy, hypertensive retinopathy [32,33,34], systemic hypertension [35], and retinopathy of prematurity (ROP) [36,37,38,39,40] increase. Ref. [41] is associated with female sex, elevated blood pressure, elderly age, and other cardiovascular risk factors. Several studies have surveyed and analyzed tortuosity metrics. For example, Ref. [42] categorizes the surveyed metrics as distance-based and curvature-based. Ref. [43] provides a comprehensive review of tortuosity formulas and their practical use, including an in-depth discussion of every particular method and its formula and a review and classification of the tortuosity databases used in those studies. Ref. [44] comprehensively analyzed the correlation between diabetic retinopathy and vessel tortuosity. The detected patterns of tortuosity, as described in [45], manifest themselves as:
  • Tortuosity when the vessel appears in C- or S-shaped elongation;
  • Looping when the S- or C-shaped with Multivessel symmetry sign;
  • Coiling when the vessel is shaped with 360-degree turns in the vessel itself; and
  • Kinking: when it manifests arterial angulation with an acute level.
Developing a CAD system for eye disease diagnosis is a difficult task. However, numerous metrics have been proposed to quantify tortuosity. Such systems have both advantages and disadvantages. Additional research must be conducted to reach a universal consensus on the most precise metrics, standardizing tortuosity grades and connecting such severity grades with every eye disease [44]. The techniques for measuring retinal vascular tortuosity can be divided into three categories:
  • Arc to chord ratio methods;
  • Curvature-based methods;
  • Hybrid item methods.
The vessel tortuosity is error-prone to the noisy center line or skeletonization procedures. However, the fractal-wavelet-based algorithm may be used as it can be directly applied to segmented images. Furthermore, it analyzes the whole image and not only particular sample points on the vessel (curve). As tortuosity is a level 1 result of hypertensive retinopathy (HR), fractal analysis is a method that is more sensitive to small changes in vessel tortuosity. However, it is robust as accuracy remains unchanged regardless of the dataset size. Moreover, it extracts the full vasculature tree [46].
This study proposed a better approach for skeletonizing and extracting the right vessel segments from the five hundred and four (504) pictures in the AV classification dataset and measuring the improvement in the tortuosity calculation procedure before and after optimization. This paper used the distance metric from distance-based approaches and the inflection count metric from hybrid methods to examine the impact of optimized extracted vessel segments on enhancing the tortuosity measurement process.

3. Materials and Method

3.1. Material

The AV classification dataset described in [23] includes labels for two research problems, vessel segmentation, and artery-vein classification, which was developed specifically to satisfy the requirements of deep learning experiments and is also used in their evaluation. The proposed method was applied to the AV classification dataset retinal images. The AV classification dataset was created to satisfy the ‘ labels. These fundus images and their labels are 2002 by 2000 pixels. Each original retinal image has four labels, one that is colored to help with vascular segmentation research problems, and the other is monochromatic. In addition to these two labels, AV classification research challenges may be solved with two additional terms.

3.2. Method

The process of optimizing the vessel skeletonization and extracting the exact proper vessel segments, either root segments or between bifurcation points, cross-sections, or leaf segments, are summarized in Figure 1.

3.2.1. Vessel Segmentation

Although blood vessels’ separation from fundus images of the retina is difficult due to factors such as uneven illumination, the center light reflex, choroidal vascularization, poor contrast, impulse noises, and background homogeneity, numerous supervised and unsupervised methods exist for retinal vessel segmentation; the authors’ previous work in [22] was used for the retina’s effective vessel segmentation. The suggested vessel segmentation technique combines the optimization for B-COSFIRE with the proposed optimized filter parameters. The method was verified to be useful in vessel edge detection and overcoming the central light reflex problem. Furthermore, the suggested technique can appropriately segment all the vasculature, including the vessels, with the central light reflex. Therefore, it is included in the researchers’ method for automatic background removal and returning the monochrome image of the segmented vessels.

3.2.2. Vessel Skeletonization and Segments Extraction

Skeletonization is a mathematical operation performed in the images to enable the detection of an object’s center lines inside the image. In this research, it is the detection of each vessel’s centerline in the vasculature tree. In addition, it is a way of representing the significant topological features of the vessels to handle the operations related to the vasculature tree. Blum initially proposed a skeletonization transform in 1967 using a transformation called Grassfire [47]. Blum’s transformation algorithm starts from a random point and uses evolution propagation to transform and create the median access skeleton [47]. Most of the skeletonization literature approaches are inspired by Blum’s transformation method. However, skeletonization is widespread in several methods and procedures, and this can be grouped into three main approaches (distance-based approaches, iterative thinning approaches, and Voronoi-skeleton). See Table 1:
In iterative thinning approaches, the researchers used morphological processing via iteratively repeated erosions of the object boundary to detect the image skeleton [48,49] as in Figure 2. While in distance-based approaches, other researchers used geometric distance-based methods by generating the distance map of the symmetrical shape parts, using different distance transformation methods (geodesic, Manhattan, and Euclidian) to directly compute the symmetric shape parts to identify the skeleton within, as in Figure 3. In addition, others recognized the skeleton points as centers of circles in 2D or the center of balls in 3D [50], as in Figure 4. While others employed non-iterative processes that generate a specific mid-line or centerline of the model, to be dilated immediately in one cycle, without looking at all the images in Figure 5. Others used the shape constraints to transform the problem into grassfire and then curve evolution.
Another way for vessel skeletonization is to consider the loci of centers of two-tangent circle rings with the shape boundary, which completely fits in the front [51]. As illustrated in the triangular form in Figure 4, the idea of including the contextual information about the complete branching segments with color-based features enhances the skeletonization and segment extraction Multiple methods were proposed for vessel skeleton extraction in [52]. First, the vascular skeleton is removed using a thinning process [53] that iteratively erodes one layer of border pixels from each connected component within the black-and-white image, considerably preserving its connectivity until each connected part is the skeleton itself.

3.2.3. Spur Pixels Cleaning

At the top of the MATLAB function bwmorph(), which has the below mathematical Formulas (1) to (4): When used with the ’thin’ option, bwmorph applies the following MATLAB logic [54]:
  • In the first sub-iteration, delete pixel p if and only if the conditions A1, A2, and A3 are all true;
  • In the second sub-iteration, delete pixel p if and only if the conditions A1, A2, and A3’ are all true,
where x1, x2,…, x8 are the values of p’s eight neighbors in counter-clockwise order, beginning with the neighbor to the east.
   Condition A 1 :
X H ( p ) = 1 w h e r e X H ( p ) = a b v i a n d v i = 1 , i f x 2 i 1 = 0 a n d ( x 2 i 1 = 1 o r x 2 i + 1 = 1 ) 0 , o t h e r w i s e .
Condition A 2 :
2 m i n ( n 1 p , n 2 p ) 3 w h e r e n 1 ( p ) = k = 1 4 x 2 k 1 x 2 k a n d n 1 ( p ) = k = 1 4 x 2 k + 1 x 2 k
Condition A 3 :
( x 2 x 3 x 8 ¯ ) x 1 = 0
Condition A 3 :
( x 6 x 7 x 4 ¯ ) x 5 = 0 .
In this work, the authors introduced an enhanced skeletonization method at the top of the MATLAB skeletonization step by eliminating the noisy spur pixels and smoothing the generated skeleton following the analysis.
The initial skeletonization results are illustrated in Figure 6. It has extra noise, with connected vessel segments on each vessel’s left and right sides. This was enhanced and removed by iteratively detecting the endpoints and eliminating them until the main vessel was reached. Then, the extra small segments were deleted from the vessel, and its pixels were no longer found as endpoints until the last of such noisy segments appeared.

3.2.4. Detection of the Vessel Tree Intersection/Bifurcation Points

Vessel branch point detection is required to measure, analyze, and quantify the tortuosity level. Firstly, a morphological operation was performed to detect the branch points, then dilate them. The researchers used the identified branch points pixels to separate the different segments, hence locating the vessel segment as connected components from the vasculature tree that do not include crossover or bifurcation points. The segment is either a starting root segment or a vessel part between bifurcation points, cross-sections, or ending leaf-points [55]. In contrast, the edges of the vessel tree vasculature are attained through a morphological operation that cleans the inner pixels and reserves the vessel’s pixels [55]. To detect the branch points, the researchers calculate the cross-point-number (CPN) using Equation (5) in [56], where P1–P8 are the 8-neighborhood pixel values counter clock-wise as illustrated in Figure 6 around the point C i that is under detection.
C P N = 1 2 i = 1 8 P i P i + 1 .

3.2.5. Eliminating the False Intersection Points and Segment Extraction

The MATLAB-implemented function for image skeletonization performs the morphological thinning of the image boundaries. This step achieves the image’s skeleton However, it has a drawback: generating a spur pixel when making the vessels’ skeleton creates confusion about whether it is the daughter branch of the vessel or just a spur extra pixels (Figure 7).
To solve this problem, the researchers have improved skeletonization results to perform the following steps in the Algorithm 1 pseudo-code.
A phenomenon has been noticed in the above MATLAB function output, where one pixel remains in the vessel skeleton from the root of each deleted spur piece, causing L-shaped angles in the vessel curve. Furthermore, this extra pixel has an impact on the subsequent steps as it causes adding two extra branch points in the MATLAB branch point extraction function, BWmorph(), for ’branch points’ detection, and it also causes breaking the vessel segment into multiple subsegments.
Algorithm 1: Optimization pseudo code for fragment extraction
Mathematics 11 03170 i001

3.3. Measuring Retinal Vessel Tortuosity to Quantify the Impact of the Enhanced Vessel Fragments

Extracting the vessel fragments from the fundus retinal images is a prerequisite to calculating vessel tortuosity. It is the level of twistedness in the retinal vessels. It is an important sign of the severity of diabetic nephropathy and hypertensive retinopathy. Many formulas are proposed and used to measure the tortuosity in retinal images. In this work, the researchers have selected the inflection count metric tortuosity measures to calculate the tortuosity of all the vessel segments in the AV classification dataset (See Figure 8).
It is essential to extract the vessel segments from the retinal image to proceed in the calculation of the tortuosity inflection count metric (ICMn) using the below formulas in Equations (6) to (8):
The inflection counts metric uses the number of angles by which the vessel twists in different directions as it gives a strong indication of the twists that happen in the vessel multiplied by the ratio of the geodesic vessel length devised by the straight line distance length between the start and the end of the vessel segment, see Figure 8 and Equation (6) for the calculation formula.
I C M = ( I n f l e c t i o n_p o i n t s + 1 ) * A r c C h o r d
I C M B e f o r e = { A | R 3 : A ( A r c i , j , C h o r d i , j , I C M i , j ) }
I C M A f t e r = { A | R 3 : A ( A r c i , j , C h o r d i , j , I C M i , j ) } .
The above equations will be applied twice on the 504 images of the vessel segmentation dataset. As a result, the researchers generated a feature set for quantifying the impact of improving the vessel segment extraction on the tortuosity calculation results and to proceed in measuring the process capability before and after the improvement.

3.4. Performance Metrics

The process capability index ( C p K ) from the prominent six-sigma standard was employed in this study to quantify the improvement gained from the improved vessel extraction steps. C p K is a real number that measures a process’s or a product’s feature’s performance per the criteria stated. Generally, the distance between the process specification limits is divided by the distance between the natural tolerance limits, as defined by six sigma process units. These indices let us determine how well the process meets the criteria [57]. A process is competent if the actual values’ quality characteristic of the generated data come within the lower and upper specification limits with a high degree of probability. Various statistics, such as Cp and C p K , assess a manufacturing process’s capability. As the I C M tortuosity calculation becomes evident, the researchers must add the optimization steps to obtain the I C M of each vessel segment. Adding the optimization steps to the optimized vessel extraction procedure will generate a new, enhanced method for calculating tortuosity. Therefore, the researchers have two processes: process1 is the tortuosity measurement before enhancement application, and process2 is the tortuosity measurement after enhancement. The experiment was performed to extract all the vessel segments using the old approach and to calculate the I C M tortuosity for all the vessel segments extracted before applying the optimization. The second scenario is to generate all the vessel segments using the new optimized approach and to calculate I C M tortuosity for all the vessel segments.
The quantified tortuosity values create a feature set containing ’ICM before’, where the tortuosity is measured for all the retinal images in the selected ’AV classification’ dataset.
Based on the C p K results, the sigma level was identified, and finally, the researchers compared the two sigma levels for the two processes to identify the process improvement level. The above steps are illustrated in the flowchart diagram Figure 9 to represent the quantification process visually. It is worth noting that this quantification is just one example of the benefits of vessel extraction optimization. Furthermore, it was used here to have another view of the importance of the reached results in addition to being presented visually in Section 4.3 in the results section. Alternatively, Process or machine capability indices are quantitative assessments of how well machines and processes can operate compared to specifications. The capability index assumes that the process output parameter follows a normal distribution. The capability index combines the normal distribution parameters (the mean X ¯ and standard deviation) into a single parameter by comparing the observed process characteristics to a theoretical three-sigma process. The upper and lower specification limits are the theoretical process limits ( U S L and L S L ) [58].
C p K considers the process mean and analyzes the process distribution about the actual state of the process. The ratio of C p K to C p directly indicates how far off-center the process is performed. It presupposes that the process output follows a normal distribution. The calculated C p K and C P values are identical if the process variance lies between the defined limits. However, when the variance deviates from the center of the specification, it is penalized proportionally to its degree of deviation. C p K is extremely beneficial and extensively employed. A C p K greater than 1.33 indicates that the process is almost capable. Less than 1.33 indicates that the variation is too large relative to the specification or that its location is offset from the specification’s center. It could be a combination of both location and width. C p K measures the three deviations between the process mean and the closer specification limit. To accurately measure C p K , it is necessary to use data that follow a bell-shaped “normal” (Gaussian) distribution. Others consider it an approximation. Only when the process is perfectly centered does C p K equal C p . C p represents the maximum possible value for C p K [59]. For processes where the mean of the measured input variable matches the value of the targeted mean, the process capability Cp index indices may be derived using Equation (9). It may be used to determine the process-capability C p index for processes where the mean of observed parameters matches the value of a target:
C P = U S L I C M 2 * k * σ ,
where U S L and L S L are the specification limits, k is 3 (the process capability), and σ is the observed standard deviation of the input variable data in Equation (10) of the input variable data.
σ = i = 1 n ( x i μ ) 2 N .
Suppose the measured parameter’s mean is not equal to the value of a target. If the mean is not centered within the specification limits, the corrected capability index is C p K . The process capability index C p K (see Equation (11)) is used to measure the process capability before optimization and after optimization using the below formulas borrowed from the six sigma framework [57].
C p K = m i n ( U S L X ¯ 3 σ , X ¯ L S L 3 σ ) .
C p K will be measured before applying the optimization steps for all the 504 images (12) and similarly will be repeated in (13) after applying the optimization steps
C p K B e f o r e = { R | R : I C M i , j C p K i , j }
C p K A f t e r = { R | R : I C M i , j C p K i , j } .
In order to use C p K , data should be normally distributed; this can be achieved by applying a Box–Cox transform on the data of I C M in (14) and (15)
I C M n B e f o r e = { R | R : I C M i , j B o x C o x T r a n s f o r m I C M n i , j }
I C M n A f t e r = { R | R : I C M i , j B o x C o x T r a n s f o r m I C M n i , j } .
If the tortuosity I C M values for the 504 retinal images are not normally distributed, then transformed will convert it to become normally distributed. The Box-Cox transformation normalizes the variable optimally, bypassing the need to randomly test several transformations to find the optimum alternative. Moreover, it converts non-normal data on the required positive response variable X into normal data using Equation (16).
x λ = x λ 1 λ λ 0 ln ( x ) λ = 0 .
It operates by adjusting the shape and dispersion of the data via a power transformation. When the Box-Cox transformation is used to fit the data to a ’normal’ distribution, this may be used to test for normality. If the modified data have a normal distribution, the original data are probably also normal. The Box-Cox transformation may enhance data linearity and convert skewed data into a more symmetrical distribution. Furthermore, increase the precision of statistical tests like linear regression and C p K . The following assumptions need to be fulfilled before using the C p K [60] that are:
  • Comprehending the foundations of process capability analysis and its corresponding measurements, accumulating the process data, and computing the essential statistics;
  • If the data is not normally distributed, apply Box-Cox Transform, as it is a prerequisite to C p K calculation;
  • If the data are not normally distributed, apply the Box-Cox Transform, as it is a prerequisite to C p K calculation capability.
After validating the above assumptions, C p K was calculated for ICM_fore and ICM_after; the results were compared, and the C p K outcomes of the process were interpreted.

4. Results

This research experiment’s results are presented as follows; the visualization of the process steps results is illustrated in Section 4.1. Followed by depicting the enhanced extracted vessel segments in Section 4.2 and Section 4.3. In addition, presenting how the newly optimized vessel segments helped to gain more accurate results of the tortuosity metrics in Section 4.4. Moreover, Section 4.5 about the updated AV classification dataset with the new set of enhanced vessel fragments dataset.

4.1. Visualization of the Results of the Process Steps

Figure 10 illustrates a high-level overview of each step’s visual results in extracting the vessel fragments and calculating the tortuosity.
The proposed enhancement steps were added after the step in Figure 10d,e. Figure 11a shows the existence of a spur problem, while Figure 11b illustrates the spur removal improvement.
After performing the standard segmentation and skeletonization, the small spur segments were cleaned from the skeleton. This result leads to the segments containing ‘L’-shaped consecutive sets of pixels in the skeleton (See Figure 12).
Such pixels cause the wrong breakdown of the vessels to the segments at each pixel in the “L”-shaped corner. Hence, the researchers have detected and eliminated those pixels from the skeleton (see Figure 12c) to achieve smooth, proper, complete vessel segments (see Figure 13).
After applying the proposed method of enhancing the skeletonization to obtain a proper segment for each vessel branching or crossover, the researchers noticed the optimization difference by detecting the right full segments before and after optimization of the optimized skeleton in Figure 14, as these pixels cause the fragmentation of the corresponding segments at false branch points.

4.2. Vessel segments identification

As described in Section 3.2.2, the list of the proper segments is achieved by extracting the branch points from the optimized skeleton generated in step 6 in the process in Figure 1 above and performing the logical operation between the optimized skeletonization and the branch points image complement; Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14, Figure 15 and Figure 16 illustrate the enhancement of the segment’s identification.

4.3. Visualization of the Extracted Optimized Segments

Figure 15, Figure 16 and Figure 17 show examples of the proposed method implementation on the 504 images of the AV classification dataset and the improvement of the skeletonized vessels that led to proper vessel segments instead of having the initial broken vessel segments from the MATLAB bwmorph() function results of datasets.

4.4. Results of Calculating the Tortuosity before and after the Improvement

The inflection count metric I C M and its Box–Cox-transformed reading is applied before and after applying the optimized steps to all vessel segments in each retinal image included in the AV classification dataset to measure the impact of optimizing the vessel segment extraction. A sample of this work is presented in Table 2 below:

4.5. AV Classification Dataset

The AV Classification dataset is enhanced by having another set of skeleton images for its original retinal images (See Figure 18). This set of new images can be available for researchers of such research problems by email.

5. Discussion

This section measures and discusses the advantages of optimal vessel segment extraction. The process capability index compares the tortuosity calculation’s improvement before and after the vessel extraction optimization. The improvement of the quantification of the tortuosity computation is found in Section 5.1.
Its worth indicating that the steps of image processing and machine learning needed to achieve the above results were performed using MATLAB 17b. In contrast, the below analysis of the process capability index was performed using MINITAB version 22.

5.1. Quantifying the Tortuosity Calculation Improvement

C p K was used in this work to quantify the effect of vessel extraction on the values calculated for I C M tortuosity. Other process-related metrics (sigma level, yield, and DPMO) were calculated and compared in addition to C p K . The two columns of I C M n before and after, shown in Table 2, represent the results of calculating the I C M n tortuosity before and after optimization for all 504 images and were used as input to the C p K index calculations. In order to quantify the impact of the enhanced vessel segments, the stages above will be described and illustrated in Section 5.1.1, Section 5.1.2 and Section 5.2.

5.1.1. The Impact on the Vessel-Segment Length

After optimizing the vessel segment extraction, the extracted vessel segment becomes longer since each segment represents a portion of the vessel from the vessel start/intersection/bifurcation point to the subsequent intersection/bifurcation point/vessel end. Therefore, if the researchers take the mean length of all the vessel segments in the retinal image before and after optimization and plot those averages in a linear regression line, they obtain the following graph, demonstrating that the average vessel segment length has increased for all 504 retinal images. These results are promising to enhance the computation results for tortuosity (see Figure 19).

5.1.2. The Impact on the Tortuosity Inflection Count Metric

Figure 20 shows two different linear box plots for 504 retinal image’s inflection count metric values before and after optimization. The optimized vessel fragments process connected multiple broken pieces of the same vessel fragment into one connected piece from its start to its end; this decreased the total number of segments, ending up with an image with a longer segment and, from the graph, it can be seen that the average and mean of the ICM_after value have greater ICM_before average and mean. This suggests that the tortuosity readings are generally greater after optimization.

5.2. The Impact on the Process Capability Index of Calculating the ICMn

A set of assumptions must be validated before calculating the C p K of the two retinal vessel tortuosities, ’ICM before’ and ’ICM after’, for optimized extracted segments from the 504 images. Kotz and Montgomery [60] state that the following important assumptions are to be asserted and confirmed.
  • The process output must be statistically controlled;
  • The distribution of the quality attribute is normal;
  • Observations must be random and unrelated to one another.
Section 5.2.1, Section 5.2.2 and Section 5.2.3 discuss the above assumptions’ validity to calculate the process capability index before and after vessel segments enhancement.
Table 3 is a pre-processing sample from the ICMn_Before and ICMn_After data to draw the run charts and probability plots for validating the assumptions and calculating the process capability indices. The table shows a moving window of five readings taken to calculate their average (X-bar) and range R-bar and the total target averages of X-bar and R-bar according to the Equations (9)–(11).

5.2.1. Verifying the Statistical Stability of the Tortuosity Measurement Processes before and after Optimization

The control chart can be used to review the data and to ensure process stability. Figure 21a,b show that all displayed sample ranges and average scores are inside the control boundaries on the R-Chart and the X-Bar chart, with no sign of clustering, run, trend, or shift. Therefore, the process is statistically controlled and influenced only by rare variations. In other words, the process is steady over time.

5.2.2. Verifying the Normality Assumption

Histogram and probability plots and transformation were utilized to test the normality assumption of the calculated tortuosity I C M n results. The histogram and normal probability plot were created via MINITAB version 22 Statistical software.
The tortuosity results in each column were checked to determine whether they were normally distributed. If not, it was transformed using the Box-Cox transform to become normally distributed to fulfill the requirement to measure the process capability index as per [57,60]. Figure 22a,b depict the histogram of the I C M tortuosity results before and after vessel extraction optimization; both histograms show that the data are skewed to the right and, as the p-value is less than 0.05, the data are not normal. It is crucial to remember that, for a more accurate process capability index, the data should be more symmetrical in a normal distribution shape [60], and this can be achieved by applying the Box-Cox transform for the two columns’ I C M before’ and ’ICM after’ to become a normal distribution shape (see Figure 23a,b) and the new columns ’ICMn before’ and ’ICMn after’ values become ready for the process capability calculation.
Figure 23a,b show that the two histograms of the I C M n before and after data become normally distributed after transforming the data using the Box-Cox transform.
Moreover, the normal probability plots are depicted in Figure 24a,b, highlighting that the normal probability plot test results for the tortuosity I C M n data before and after optimization reveal that, via the Anderson Darling test statistic, a mean: (3.045, 2.053), a standard deviation: (0.5094, 0.07516), and the significance threshold (0.05) is increased to (0.829, 0.257). Furthermore, p-values of (0.032, 0.721) for the ICMn_before and ICMn_after indicate that the transformed process data are now normally distributed about the mean. This indicates that the information has been successfully transformed. Consequently, it has been determined that the transformed data are generated through a normally distributed method.

5.2.3. Verifying the Randomness Assumption

The run chart in Figure 25 discovered the four main types of non-randomness: trend, mixture, oscillation, and cluster patterns, where:
  • The trend: is a consistent upward or downward shift in data;
  • A mixture: is distinguished by the lack of points along the center line;
  • The oscillation: is the data swinging up and down;
  • Finally, clusters are collections of connected points on a single side chart center line.
Run chart interpretation: the p-values for trends, clustering, mixtures, and oscillation are all larger than the alpha value of 0.05. The actual number of runs is similar to what was predicted. As a result, the data are judged to be independent and random.
The actual number of runs is similar to the anticipated number. Therefore, I C M n tortuosity-reported results data observations are random before or after enhancing vessel segment extraction.
After validating the three assumptions, the researchers can calculate and compare the process capability indices of the I C M n tortuosity computation process and analyze the C p and C p K values for each process before and after adding the enhancement steps.

5.3. Process Capability Index- C p K

P p and P p k denote the process performance, while C p and C p K denote the process capability. C p and C p K are the most important capability indices. C p indicates how much the process data can fit within the criteria. In contrast, C p K indicates whether the overall mean is centered. That is why C p K is used when the process output distribution is skewed. If the aggregate average falls in the middle of the specification, C p and C p K will be identical. If C p and C p K scores are dissimilar, this indicates that the aggregate mean is not exactly centered. The greater the two score values’ disparity, the more the mean deviated from the overall average. This concept is depicted in Figure 26a,b. It is noticed that the overall and within bell curves are almost over each other in Figure 26a as | C p CpK | = 1.03 0.89 = 0.14 . In contrast, the overall and within bell curves have almost deviated from each other in Figure 26b as | C p C p K | = | 1.46 1.67 | = 0.21 since the between bell curve values deviate from the mean more than the overall bell curve.
Table 4 compares C p K values, sigma level, DPMO, and process yield for the data before and after the optimization steps. The C p K value increased from 0.89 to 1.46, indicating that the process became less dispersed around the mean. Thus, the process can produce I C M n tortuosity readings within expected specification limits (see Figure 27). Furthermore, the increase in the C p K value from 0.89 to 1.46 moves the process capability from being almost capable to being a capable process as per the process capability index scale (See Table 5).
According to Table 4 and Table 5, the proposed improvement shifted the process capability from almost capable to a capable process.
Table 4 presents a big improvement in the DPMO level of the tortuosity process defects, as the defects are reduced from 115,000 per million before optimization to 1866 per million after optimization. The sigma level was calculated based on the number of defects that occur per one million opportunities (DPMO). There are six main categories, with the sixth being the most capable process.
  • 1 Sigma: This sigma level permits 691,462 defects per million chances.
  • 2 Sigma: This standard allows for 308,538 defects per million opportunities.
  • 3 Sigma: 66,807 defects per million opportunities are permissible at this sigma level.
  • 4 Sigma: 6210 defects per one million opportunities are acceptable.
  • 5 Sigma: 233 defects are permitted at this sigma level.
  • 6 Sigma: 3.4 defects per million opportunities are observed at this level.
Finally, the proposed improvement increased the sigma level of the tortuosity calculation process from 2.7 to 4.39 and improved the confirming readings (yield) from 88%.
Figure 26a,b depict the results of calculating the process capability indices C p , C p K for the tortuosity calculation process before and after enhancing the vessel segment extraction. After adding the vessel segment enhancement steps in the tortuosity calculation process, the difference between C p K and PpK values converges to zero when the researchers compared their values before and after optimization, indicating that the process is under greater statistical control, as the sample standard deviation and s i g m a become almost identical. C p and C p K compare the performance output consistency to the process output average performance. The letter ’k’ represents a centralizing factor. The index considers the possibility that process output data are not centered. C p K provides information regarding the future performance of a process when its results are under statistical control. By comparing the C p K value after vessel segment enhancement (1.46) to its value prior to applying the proposed new steps (0.89), it can be seen that the process becomes more capable of calculating the tortuosity I C M n formula after improving the vessel segment extraction and the vessel segments become one long connected segment from the start till the end of the segment, as opposed to being broken to multiple fragmented sub-segments before.
The new set of enhanced skeletonized 504 images was added as a subset of the researcher’s work on retinal vessel morphometry (RVM) generated datasets [6]. Figure 27 illustrates how the bell curve of the I C M n data after the optimization becomes closely tight around its mean (2.05) compared to the ’ICMn_before’, which was spread away around its mean (3.05).
This effort aligns the extraction of vessel segments with the true definition of the vessel segment, allowing for a more accurate calculation of vessel tortuosity.

6. Conclusions

In this research, the authors have contributed to solving the problem of breaking the vessel segment into various parts while extracting the vessel segments from the vasculature skeleton, particularly when the vessel segment is between two bifurcation points and is broken into multiple pieces. The vessel segment extraction from the skeleton of the vasculature tree is a crucial step in quantifying vessel tortuosity for diagnosing several eye diseases. However, inaccurate extraction of the vessel segments can cause errors by increasing the count of segments, thereby impacting the accuracy of the tortuosity measurement. The author’s contribution was the proposal of an improvement to the MATLAB skeletonization bwmorph() function by identifying and eliminating an ’L-shaped’ set of pixels in the skeleton, which is the root cause of the incorrect identification of branch points, resulting in the incorrect extraction of segments at said points. Also, the Six Sigma process capability index method was utilized to quantify the improvement in calculating the level of vessels’ tortuosity before and after optimizing the extracted vessels. As a result, the vessel segment optimization improved the sigma level from 2.7 to 4.39. In contrast, the confirming yield improved from 88 percent to 99.77 percent.
Finally, the authors generated optimized vessel segments for each of the 504 images in the AV classification dataset, available in monochrome and color formats. The images are organized in distinct folders for future use in research projects. Researchers can request access to the dataset by contacting the authors and citing this work in their academic research.

Author Contributions

Conceptualization, S.A.B., M.T., I.E., I.A.C., N.U.M., A.K.N. and E.M.; Methodology, M.T., N.U.M. and A.K.N.; Software, S.A.B.; Validation, S.A.B., M.T., I.E., I.A.C. and E.M.; Formal analysis, S.A.B. and E.M.; Investigation, S.A.B., I.E. and I.A.C.; Resources, S.A.B. and M.T.; Data curation, S.A.B. and I.A.C.; Writing—original draft, S.A.B., I.E. and I.A.C.; Writing—review & editing, S.A.B., N.U.M. and A.K.N.; Visualization, S.A.B., N.U.M. and A.K.N.; Supervision, S.A.B.; Project administration, S.A.B. and M.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors acknowledge the American University of Ras Al Khaimah (AURAK), the UAE Ministry of Culture and Youth, and its public library in Ras Al-Khaimah for their valued facilities to researchers that helped achieve this work.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AVArery-Vein
AVRArteriovenous Ratio
C p Process Capability index that indicates how much the process data can fit within
the criteria
C p K Process Capability index used when the process output distribution is skewed
CNNConvolutional neural network
DPMOnumber of defects that occur per one million opportunities
DRDiabetic retinopathy
HRHypertensive retinopathy
ICMInflection Count Metric
ICMnInflection Count Metric normally distributed after applying BoxCox transform
ICM_before I C M calculated before the enhancing vessel segments extraction.
ICM_After I C M calculated after the enhancing vessel segments extraction.
ICMn_After I C M n calculated after the enhancing vessel segments extraction.
ICMn_before I C M n calculated before the enhancing vessel segments extraction.
Ppstands for Process Performance; Pp is used when the process output is normally
distributed.
PpKstands for Process Performance; PpK is used when the distribution of the process
output is skewed.
SWTStationary wavelet transform
SVMsupport vector machine
YieldThe percentage of the defected cases from the overall process output total count

References

  1. Hagiwara, Y.; Koh, J.E.W.; Tan, J.H.; Bhandary, S.V.; Laude, A.; Ciaccio, E.J.; Acharya, U.R. Computer-aided diagnosis of glaucoma using fundus images: A review. Comput. Methods Programs Bio-Med. 2018, 165, 1–12. [Google Scholar] [CrossRef] [PubMed]
  2. Aguirre-Ramos, H.; Avina-Cervantes, J.G.; Cruz-Aceves, I.; Ruiz-Pinales, J.; Ledesma, S. Blood vessel segmentation in retinal fundus images using Gabor filters, fractional derivatives, and Expectation Maximization. Appl. Math. Comput. 2018, 339, 568–587. [Google Scholar] [CrossRef]
  3. Niemeijer, M.; Staal, J.; Van Ginneken, B.; Loog, M.; Abramoff, M.D. Comparative study of retinal vessel segmentation methods on a new publicly available database. Med. Imaging 2004, 5370. [Google Scholar] [CrossRef]
  4. Dai, P.; Luo, H.; Sheng, H.; Zhao, Y.; Li, L.; Wu, J.; Zhao, Y.; Suzuki, K. A new approach to segment both main and peripheral retinal vessels based on gray-voting and gaussian mixture model. PLoS ONE 2015, 10, e0127748. [Google Scholar] [CrossRef]
  5. Iqbal, S.; Khan, T.M.; Naveed, K.; Naqvi, S.S.; Nawaz, S.J. Recent trends and advances in fundus image analysis, A review. Comput. Biol. Med. 2022, 151, 106277. [Google Scholar] [CrossRef]
  6. Badawi, S.A.; Fraz, M.M.; Shehzad, M.; Mahmood, I.; Javed, S.; Mosalam, E.; Nileshwar, A.K. Detection and grading of hypertensive retinopathy using vessels tortuosity and arteriovenous ratio. J. Digit. Imaging 2022, 35, 281–301. [Google Scholar] [CrossRef]
  7. Mookiah, M.R.K.; Hogg, S.; MacGillivray, T.J.; Prathiba, V.; Pradeepa, R.; Mohan, V.; Anjana, R.M.; Doney, A.S.; Palmer, C.N.A.; Trucco, E. A review of machine learning methods for retinal blood vessel segmentation and artery/vein classification. Med. Image Anal. 2021, 68, 101905. [Google Scholar] [CrossRef]
  8. Rezaee, K.; Haddadnia, J.; Tashk, A. Optimized clinical segmentation of retinal blood vessels by using combination of adaptive filtering, fuzzy entropy and skeletonization. Appl. Soft Comput. 2017, 52, 937–951. [Google Scholar] [CrossRef]
  9. Nergiz, M.; Akın, M. Retinal vessel segmentation via structure tensor coloring and anisotropy enhancement. Symmetry 2017, 9, 276. [Google Scholar] [CrossRef] [Green Version]
  10. Kaba, D.; Salazar-Gonzalez, A.G.; Li, Y.; Liu, X.; Serag, A. Segmentation of retinal blood vessels using gaussian mixture models and expectation maximisation. In Health Information Science: Second International Conference, HIS 2013, London, UK, 25–27 March 2013; Proceedings 2; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  11. Durai, B.S.K.; Raja, J.B. A bio-inspired fall webworm optimization algorithm for feature selection and support vector machine optimization for retinal abnormalities detection. Multimed. Tools Appl. 2023, 1–20. [Google Scholar] [CrossRef]
  12. Barges, E.; Thabet, E. GLDM and Tamura features based KNN and particle swarm optimization for automatic diabetic retinopathy recognition system. Multimed. Tools Appl. 2023, 82, 271–295. [Google Scholar] [CrossRef]
  13. You, X.; Peng, Q.; Yuan, Y.; Cheung, Y.M.; Lei, J. Segmentation of retinal blood vessels using the radial projection and semi-supervised approach. Pattern Recognit. 2011, 44, 2314–2324. [Google Scholar] [CrossRef]
  14. Staal, J.; Abràmoff, M.D.; Niemeijer, M.; Viergever, M.A.; Van Ginneken, B. Ridge-based vessel segmentation in color images of the retina. IEEE Trans. Med. Imaging 2004, 23, 501–509. [Google Scholar] [CrossRef]
  15. Mo, J.; Zhang, L. Multi-level deep supervised networks for retinal vessel segmentation. Int. J. Comput. Assist. Radiol. Surg. 2017, 12, 2181–2193. [Google Scholar] [CrossRef] [PubMed]
  16. Pouyanfar, S.; Sadiq, S.; Yan, Y.; Tian, H.; Tao, Y.; Reyes, M.P.; Shyu, M.L.; Chen, S.C.; Iyengar, S.S. A survey on deep learning: Algorithms, techniques, and applications. ACM Comput. Surv. (CSUR) 2018, 51, 1–36. [Google Scholar] [CrossRef]
  17. Khalaf, A.F.; Yassine, I.A.; Fahmy, A.S. Convolutional neural networks for deep feature learning in retinal vessel segmentation. In Proceedings of the IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA, 25–28 September 2016. [Google Scholar]
  18. Oliveira, A.; Pereira, S.; Silva, C.A. Retinal vessel segmentation based on fully convolutional neural networks. Expert Syst. Appl. 2018, 112, 229–242. [Google Scholar] [CrossRef] [Green Version]
  19. Liu, Y.; Wan, W.; Zhang, X.; Liu, S.; Liu, Y.; Liu, H.; Zeng, X.; Wang, W.; Zhang, Q. Segmentation and Automatic Identification of Vasculature in Coronary Angiograms. Comput. Math. Methods Med. 2021, 2021, 2747274. [Google Scholar] [CrossRef] [PubMed]
  20. Wang, G.; Huang, Y.; Ma, K.; Duan, Z.; Luo, Z.; Xiao, P.; Yuan, J. Automatic vessel crossing and bifurcation detection based on multi-attention network vessel segmentation and directed graph search. Comput. Biol. Med. 2023, 155, 106647. [Google Scholar] [CrossRef] [PubMed]
  21. Mahapatra, S.; Agrawal, S.; Mishro, P.K.; Pachori, R.B. A novel framework for retinal vessel segmentation using optimal improved frangi filter and adaptive weighted spatial FCM. Comput. Biol. Med. 2022, 147, 105770. [Google Scholar] [CrossRef]
  22. Badawi, S.A.; Fraz, M.M. Optimizing the trainable B-COSFIRE filter for retinal blood vessel segmentation. PeerJ 2018, 6, e5855. [Google Scholar] [CrossRef] [Green Version]
  23. Badawi, S.A.; Fraz, M.M. Multiloss Function Based Deep Convolutional Neural Network for Segmentation of Retinal Vasculature into Arterioles and Venules. BioMed Res. Int. 2019, 2019, 4747230. [Google Scholar] [CrossRef]
  24. Ouyang, J.; Liu, S.; Peng, H.; Garg, H.; Thanh, D.N. LEA U-Net: A U-Net-based deep learning framework with local feature enhancement and attention for retinal vessel segmentation newblock. Complex Intell. Syst. 2023, 1–14. [Google Scholar] [CrossRef]
  25. Lyu, X.; Cheng, L.; Zhang, S. The reta benchmark for retinal vascular tree analysis newblock. Sci. Data 2022, 9, 397. [Google Scholar] [CrossRef] [PubMed]
  26. Yan, Q.; Wang, B.; Zhang, W.; Luo, C.; Xu, W.; Xu, Z.; Zhang, Y.; Shi, Q.; Zhang, L.; You, Z. Attention-guided deep neural network with multi-scale feature fusion for liver vessel segmentation. IEEE J. Biomed. Health Inform. 2020, 25, 2629–2642. [Google Scholar] [CrossRef]
  27. Chen, C.; Chuah, J.H.; Ali, R.; Wang, Y. Retinal vessel segmentation using deep learning: A review. IEEE Access 2021, 9, 111985–112004. [Google Scholar] [CrossRef]
  28. Hawas, A.R.; Elsetiha, M.E.; El-Khobby, H.; Ashour, A. Extraction of Blood Vessels Geometric Shape Features with Catheter Localization and Geodesic Distance Transform for Right Coronary Artery Detection. J. Eng. Res. 2023, 7, 162–170. [Google Scholar] [CrossRef]
  29. U. Oxford. Dictionary—Tortuous. Available online: https://www.lexico.com/en/definition/tortuous (accessed on 5 May 2023).
  30. Dogra, M.; Dogra, M. Congenital tortuous retinal vessels. Indian J. Ophthalmol. 2019, 67, 277. [Google Scholar] [CrossRef]
  31. A comparative study between occlusive and non-occlusive retinal vasculitis: Data from a referral center in Tunisia, North Africa. Ocul. Immunol. Inflamm. 2023, 31, 97–104. [CrossRef]
  32. Sasongko, M.; Wong, T.; Nguyen, T.; Cheung, C.; Shaw, J.; Wang, J. Retinal vascular tortuosity in persons with diabetes and diabetic retinopathy. Diabetologia 2011, 54, 2409–2416. [Google Scholar] [CrossRef] [Green Version]
  33. Lee, H.; Lee, M.; Chung, H.; Kim, H.C. Quantification of Retinal Vessel Tortuosity in Diabetic Retinopathy Using Optical Coherence Tomography Angiography. Retina 2018, 38, 976–985. [Google Scholar] [CrossRef]
  34. Cavallari, M.; Stamile, C.; Umeton, R.; Calimeri, F.; Orzi, F. Novel method for automated analysis of retinal images: Results in subjects with hypertensive retinopathy and CADASIL. BioMed Res. Int. 2015, 2015, 752957. [Google Scholar] [CrossRef]
  35. Abràmoff, M.D.; Garvin, M.K.; Sonka, M. Retinal imaging and image analysis. IEEE Rev. Biomed. Eng. 2010, 3, 169–208. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Cheung, C.Y.; Tay, W.T.; Mitchell, P.; Wang, J.J.; Hsu, W.; Lee, M.L.; Lau, Q.P.; Zhu, A.L.; Klein, R.; Saw, S.M.; et al. Quantitative and qualitative retinal microvascular characteristics and blood pressure. J. Hypertens. 2011, 29, 1380–1391. [Google Scholar] [CrossRef] [PubMed]
  37. Wallace, D.K.; Kylstra, J.A.; Chesnutt, D.A. Prognostic significance of vascular dilation and tortuosity insufficient for plus disease in retinopathy of prematurity. J. Am. Assoc. Pediatr. Ophthalmol. Strabismus 2000, 4, 224–229. [Google Scholar] [CrossRef] [PubMed]
  38. Gelman, R.; Jiang, L.; Du, Y.E.; Martinez-Perez, M.E.; Flynn, J.T.; Chiang, M.F. Plus disease in retinopathy of prematurity: Pilot study of computer-based and expert diagnosis. J. Am. Assoc. Pediatr. Ophthalmol. Strabismus 2007, 11, 532–540. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  39. Koreen, S.; Gelman, R.; Martinez-Perez, M.E.; Jiang, L.; Berrocal, A.M.; Hess, D.J.; Flynn, J.T.; Chiang, M.F. Evaluation of a computer-based system for plus disease diagnosis in retinopathy of prematurity. Ophthalmology 2007, 114, e59–e67. [Google Scholar] [CrossRef]
  40. Yang, M.B. A pilot study using “ROPtool” to quantify plus disease in retinopathy of prematurity. J. Am. Assoc. Pediatr. Ophthalmol. Strabismus {JAAPOS} 2007, 11, 630–631. [Google Scholar] [CrossRef]
  41. Del Corso, L.; Moruzzo, D.; Conte, B.; Agelli, M.; Romanelli, A.M.; Pastine, F.; Protti, M.; Pentimone, F.; Baggiani, G. Tortuosity, kinking, and coiling of the carotid artery: Expression of atherosclerosis or aging? Angiology 1998, 49, 361–371. [Google Scholar] [CrossRef]
  42. Abdalla, M.; Hunter, A.; Al-Diri, B. Quantifying retinal blood vessels’ tortuosity. In Proceedings of the 2015 Science and Information Conference (SAI), London, UK, 28–30 July 2015. [Google Scholar]
  43. Kalitzeos, A.A.; Lip, G.Y.; Heitmar, R. Retinal vessel tortuosity measures and their applications. Exp. Eye Res. 2013, 106, 40–46. [Google Scholar] [CrossRef]
  44. Zaki, W.M.D.W.; Zulkifley, M.A.; Hussain, A.; Halim, W.H.W.; Mustafa, N.B.A.; Ting, L.S. Diabetic retinopathy assessment: Towards an automated system. Biomed. Signal Process. Control. 2016, 24, 72–82. [Google Scholar] [CrossRef]
  45. Ciurică, S.; Lopez-Sublet, M.; Loeys, B.L.; Radhouani, I.; Natarajan, N.; Vikkula, M.; Maas, A.H.; Adlam, D.; Persu, A. Arterial Tortuosity: Novel Implications for an Old Phenotype. Hypertension 2019, 73, 951–960. [Google Scholar] [CrossRef] [PubMed]
  46. Mayrhofer-Reinhartshuber, M.; Cornforth, D.J.; Ahammer, H.; Jelinek, H.F. Multiscale analysis of tortuosity in retinal images using wavelets and fractal methods. Pattern Recognit. Lett. 2015, 68, 132–138. [Google Scholar] [CrossRef]
  47. Blum, H. A transformation for extracting new descriptors of shape. In Models for the Perception of Speech and Visual Form; MIT Press: Cambridge, MA USA, 1967; Volume 19, pp. 362–380. [Google Scholar]
  48. Guo, Z.; Hall, R.W. Fast fully parallel thinning algorithms. CVGIP Image Underst. 1992, 55, 317–328. [Google Scholar] [CrossRef]
  49. Saeed, K.; Tabędzki, M.; Rybnik, M.; Adamski, M. K3M: A universal algorithm for image skeletonization and a review of thinning techniques. Int. J. Appl. Math. Comput. 2010, 20, 317–335. [Google Scholar] [CrossRef]
  50. van der Walt, S.; Schönberger, J.L.; Nunez-Iglesias, J.; Boulogne, F.; Warner, J.D.; Yager, N.; Gouillart, E.; Yu, T. The scikit-image contributors. scikit-image: Image processing in Python. PeerJ 2014, 2, e453. [Google Scholar] [CrossRef]
  51. Fisher, R.; Perkins, S.; Walker, A.; Wolfart, E.; Brown, N.; Cammas, N.; Fitzgibbon, A.; Horne, S.; Koryllos, K.; Murdoch, A.; et al. HIPR2: Image Processing Learning Resources. 2005. Available online: http://homepages.inf.ed.ac.uk/rbf/HIPR2/hipr_top.htm (accessed on 5 February 2023).
  52. Gálvez, A.; Iglesias, A.; Cobo, A.; Puig-Pey, J.; Espinola, J. Bézier curve and surface fitting of 3D point clouds through genetic algorithms, functional networks and least-squares approximation. In Proceedings of the International Conference on Computational Science and Its Applications; Springer: Berlin/Heidelberg, Germany, 2007; pp. 680–693. [Google Scholar]
  53. Lotmar, W.; Freiburghaus, A.; Bracher, D. Measurement of vessel tortuosity on fundus photographs. Albrecht Graefes Archiv für Klin. Exp. 1979, 211, 49–57. [Google Scholar] [CrossRef]
  54. Mathworks Documentation 2017. Bwmprh. Available online: https://www.six-sigma-material.com/Tables.html (accessed on 5 May 2023).
  55. Gonzalez, R.C.; Eddins, S.L.; Woods, R.E. Digital Image Processing Using MATLAB; Prentice Hall, Pearson Education, Inc.: Upper Saddle River, NJ, USA, 2004. [Google Scholar]
  56. Roy, P.K.; Nguyen, U.T.; Bhuiyan, A.; Ramamohanarao, K. An effective automated system for grading severity of retinal arteriovenous nicking in colour retinal images. In Proceedings of the 2014 36th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Chicago, IL, USA, 26–30 August 2014; pp. 6324–6327. [Google Scholar]
  57. Mahapatra, A.P.K.; Song, J.; Shao, Z.; Dong, T.; Gong, Z.; Paul, B.; Padhy, I. Concept of process capability indices as a tool for process performance measures and its pharmaceutical application. J. Drug Deliv. Ther. 2020, 10, 333–344. [Google Scholar] [CrossRef]
  58. Balazs, H.I.; Krammer, O.; Géczy, A. Reflow Soldering: Apparatus and Heat Transfer Processes; Elsevier: Amsterdam, The Netherlands, 2020. [Google Scholar]
  59. Wooluru, Y.; Swamy, D.; Nagesh, P. The process capability analysis-a tool for process performance measures and metrics-a case study. Int. J. Qual. Res. 2014, 8, 399–416. [Google Scholar]
  60. Montgomery, D.C. Introduction to Statistical Quality Control; John Wiley, Aptara, Inc.: Hoboken, NJ, USA, 2020; Printed and Bound by R. R. Donnelley (Jefferson City) & Sons. [Google Scholar]
Figure 1. The process of optimizing the vessel skeletonization and extracting the proper vessel segments (root segments or between bifurcation points, cross sections, or leaf segments).
Figure 1. The process of optimizing the vessel skeletonization and extracting the proper vessel segments (root segments or between bifurcation points, cross sections, or leaf segments).
Mathematics 11 03170 g001
Figure 2. Iterative thinning skeletonization.
Figure 2. Iterative thinning skeletonization.
Mathematics 11 03170 g002
Figure 3. Distance-based skeletonization.
Figure 3. Distance-based skeletonization.
Mathematics 11 03170 g003
Figure 4. Bi-tangent skeletonization circles.
Figure 4. Bi-tangent skeletonization circles.
Mathematics 11 03170 g004
Figure 5. Medial axes skeletonization.
Figure 5. Medial axes skeletonization.
Mathematics 11 03170 g005
Figure 6. Branch points detection patterns (a) start or end of a segment, CPN = 1. (b) bifurcation point, CPN = 3. (c) crossover point, CPN = 4.
Figure 6. Branch points detection patterns (a) start or end of a segment, CPN = 1. (b) bifurcation point, CPN = 3. (c) crossover point, CPN = 4.
Mathematics 11 03170 g006
Figure 7. Skeletonization before removing the spur.
Figure 7. Skeletonization before removing the spur.
Mathematics 11 03170 g007
Figure 8. Tortuosity The inflection count metric is applied on the vessel fragments.
Figure 8. Tortuosity The inflection count metric is applied on the vessel fragments.
Mathematics 11 03170 g008
Figure 9. The process of quantifying the impact of the optimization on (a) the tortuosity measurement process before applying the optimization steps; (b) the tortuosity measurement process After applying the optimization steps.
Figure 9. The process of quantifying the impact of the optimization on (a) the tortuosity measurement process before applying the optimization steps; (b) the tortuosity measurement process After applying the optimization steps.
Mathematics 11 03170 g009
Figure 10. Snapshots of the image after each stage: (a) original image. (b) vessel segmentation. (c) detection of intersection points from (d) skeletonized. image (e) identifying the vessel segments. (f) tortuosity measurement.
Figure 10. Snapshots of the image after each stage: (a) original image. (b) vessel segmentation. (c) detection of intersection points from (d) skeletonized. image (e) identifying the vessel segments. (f) tortuosity measurement.
Mathematics 11 03170 g010
Figure 11. Skeletonization before and after removing the spur (a) skeletonization with spur (b) skeletonization with cleaned spur.
Figure 11. Skeletonization before and after removing the spur (a) skeletonization with spur (b) skeletonization with cleaned spur.
Mathematics 11 03170 g011
Figure 12. Detecting the pixels that cause breaking of the segment to sub-segments (a) “L” shaped corners in the vessel skeleton as a result of the initial skeleton from the vessel tree using the MATLAB function. (b) Marking the branch points (red square) and the “L” shaped corners (blue cross). (c) Enhanced vessels skeletonization after removing corner pixels from the “L” shape.
Figure 12. Detecting the pixels that cause breaking of the segment to sub-segments (a) “L” shaped corners in the vessel skeleton as a result of the initial skeleton from the vessel tree using the MATLAB function. (b) Marking the branch points (red square) and the “L” shaped corners (blue cross). (c) Enhanced vessels skeletonization after removing corner pixels from the “L” shape.
Mathematics 11 03170 g012
Figure 13. Illustration of a vessel segment extraction in a portion of the retinal image (a) vessel segments extracted before optimization (b) segments after optimization for the same vessel segment.
Figure 13. Illustration of a vessel segment extraction in a portion of the retinal image (a) vessel segments extracted before optimization (b) segments after optimization for the same vessel segment.
Mathematics 11 03170 g013
Figure 14. The corner pixels from the “L” shapes in vessel segments: (a) existence of ’L’ shape pixels in a specific segment within the skeleton (b) wrong sub-segments generated instead of one segment (c) resolving the root cause (d) the vessel segment localized correctly.
Figure 14. The corner pixels from the “L” shapes in vessel segments: (a) existence of ’L’ shape pixels in a specific segment within the skeleton (b) wrong sub-segments generated instead of one segment (c) resolving the root cause (d) the vessel segment localized correctly.
Mathematics 11 03170 g014
Figure 15. Generating the vessel segments (a,c) before applying the segment generation improvement in (b,d) after applying the improvement.
Figure 15. Generating the vessel segments (a,c) before applying the segment generation improvement in (b,d) after applying the improvement.
Mathematics 11 03170 g015
Figure 16. The proposed method enabled a precise segmentation of the vessel segment (a) original image (b) segments extracted before applying the skeletonization improvement method (c) segments obtained after using the skeletonization improved method. The white arrows in the second segmented segments point to the segments that have been wrongly broken, and the researchers’ proposed process has reconnected them and improved the results.
Figure 16. The proposed method enabled a precise segmentation of the vessel segment (a) original image (b) segments extracted before applying the skeletonization improvement method (c) segments obtained after using the skeletonization improved method. The white arrows in the second segmented segments point to the segments that have been wrongly broken, and the researchers’ proposed process has reconnected them and improved the results.
Mathematics 11 03170 g016
Figure 17. The proposed method enabled a precise segmentation of the vessel segment (a) original image (b) segments extracted before applying the skeletonization improvement method (c) segments obtained after using the skeletonization-improved method.
Figure 17. The proposed method enabled a precise segmentation of the vessel segment (a) original image (b) segments extracted before applying the skeletonization improvement method (c) segments obtained after using the skeletonization-improved method.
Mathematics 11 03170 g017
Figure 18. Enhanced skeletonized vessel segment images are generated from the AV Classification dataset and added to the RVM research work-generated datasets.
Figure 18. Enhanced skeletonized vessel segment images are generated from the AV Classification dataset and added to the RVM research work-generated datasets.
Mathematics 11 03170 g018
Figure 19. Box plot illustrates the fragment extraction optimization impact on the calculation of the vessel segment fragment centerline length.
Figure 19. Box plot illustrates the fragment extraction optimization impact on the calculation of the vessel segment fragment centerline length.
Mathematics 11 03170 g019
Figure 20. Illustration of the fragment extraction enhancement impact on calculating the I C M for the 504 retinal images.
Figure 20. Illustration of the fragment extraction enhancement impact on calculating the I C M for the 504 retinal images.
Mathematics 11 03170 g020
Figure 21. XBar-R chart plot of I C M n results for the 504 images (a) before enhancing the vessel extraction and (b) after enhancing the vessel extraction. The two run-charts emphasize that the I C M n data before and after vessel enhancement are nonrandom, as the p-the value of the four main types of non-randomness is above 0.05 each.
Figure 21. XBar-R chart plot of I C M n results for the 504 images (a) before enhancing the vessel extraction and (b) after enhancing the vessel extraction. The two run-charts emphasize that the I C M n data before and after vessel enhancement are nonrandom, as the p-the value of the four main types of non-randomness is above 0.05 each.
Mathematics 11 03170 g021
Figure 22. Histogram of calculating tortuosity inflection count metric results for the 504 images, (a) before enhancing the vessel extraction (b) after enhancing the vessel extraction.
Figure 22. Histogram of calculating tortuosity inflection count metric results for the 504 images, (a) before enhancing the vessel extraction (b) after enhancing the vessel extraction.
Mathematics 11 03170 g022
Figure 23. Applying the transformation to generate normally distributed bell curve for (a) ’ICMn Before’ the tortuosity data of the vessel segments before being enhanced (b) ’ICMn After’ After enhancing the vessel extraction and calculating the I C M n tortuosity values for the segments extracted after the enhancement. The two normally distributed plots emphasize that the I C M n data before and after vessel enhancement are normally distributed and ready to proceed in calculating the process capability index.
Figure 23. Applying the transformation to generate normally distributed bell curve for (a) ’ICMn Before’ the tortuosity data of the vessel segments before being enhanced (b) ’ICMn After’ After enhancing the vessel extraction and calculating the I C M n tortuosity values for the segments extracted after the enhancement. The two normally distributed plots emphasize that the I C M n data before and after vessel enhancement are normally distributed and ready to proceed in calculating the process capability index.
Mathematics 11 03170 g023
Figure 24. Probability plot of calculating tortuosity inflection count metric results for the 504 images, (a) before enhancing the vessel extraction; (b) after enhancing the vessel extraction. The two pp plots emphasize that the I C M n data before and after vessel enhancement are normally distributed.
Figure 24. Probability plot of calculating tortuosity inflection count metric results for the 504 images, (a) before enhancing the vessel extraction; (b) after enhancing the vessel extraction. The two pp plots emphasize that the I C M n data before and after vessel enhancement are normally distributed.
Mathematics 11 03170 g024
Figure 25. Run chart plot of I C M n results for the 504 images, (a) before enhancing the vessel extraction and (b) after enhancing the vessel extraction. The two run-charts emphasize that the I C M n data before and after vessel enhancement are nonrandom as the p-value of each of the four main types of non-randomness is above 0.05.
Figure 25. Run chart plot of I C M n results for the 504 images, (a) before enhancing the vessel extraction and (b) after enhancing the vessel extraction. The two run-charts emphasize that the I C M n data before and after vessel enhancement are nonrandom as the p-value of each of the four main types of non-randomness is above 0.05.
Mathematics 11 03170 g025
Figure 26. Capability report of I C M n results for the 504 images, (a) before enhancing the vessel extraction and (b) after enhancing the vessel extraction.
Figure 26. Capability report of I C M n results for the 504 images, (a) before enhancing the vessel extraction and (b) after enhancing the vessel extraction.
Mathematics 11 03170 g026
Figure 27. Illustration of the normal distribution of I C M n (a) before enhancing vessel segments extraction and (b) after enhancing vessel segments extraction.
Figure 27. Illustration of the normal distribution of I C M n (a) before enhancing vessel segments extraction and (b) after enhancing vessel segments extraction.
Mathematics 11 03170 g027
Table 1. Topological and geometrical features of each skeletonization method type.
Table 1. Topological and geometrical features of each skeletonization method type.
Skeletonization Methodology and ApproachTopologicalGeometrical
(1) Distance-based transform χ
(2) Voronoi-skeleton
(3) Thinning alliteratively χ
Note: ✓ indicates the approach is classified under this skeletonization type, while χ indicates not.
Table 2. A sample from the tortuosity results before and after enhancing the vessel segments.
Table 2. A sample from the tortuosity results before and after enhancing the vessel segments.
Before Enhancing
Vessel Segments Extraction
After Enhancing
Vessel Segments Extraction
Image_No Segments
Count
ICM ICMn Segment
Count
ICM ICMn
1028685.03.479305.92.2
1104769.54.139134.52.1
1146393.63.952217.52.1
1395473.24.043227.42.1
1407644.33.759110.82.1
27168127.53.859226.32.2
3094630.74.236112.92.2
Table 3. Sample data collected from the ’ICMn before’ and ’ICMn After’, each sample is a group of five readings, where the mean (X-bar) and the range (R) are calculated for each sample.
Table 3. Sample data collected from the ’ICMn before’ and ’ICMn After’, each sample is a group of five readings, where the mean (X-bar) and the range (R) are calculated for each sample.
ICMn_Before ICMn_After
S# C1C2C3C4C5X-barR S#C1C2C3C4C5X-barR
13.13.13.43.33.93.350.80 12.12.02.12.12.22.090.24
23.33.83.23.03.43.340.75 22.02.12.22.02.02.070.19
33.33.33.03.33.33.260.31 32.12.12.12.12.12.080.02
43.83.63.23.22.93.360.91 42.12.12.02.02.12.070.11
53.23.23.13.33.13.200.22 52.22.12.02.02.12.070.28
63.13.34.33.23.73.521.15 62.02.02.22.02.22.090.20
73.33.73.72.83.43.380.89 72.12.12.22.02.12.070.21
83.73.03.43.04.23.441.29 82.12.02.02.12.22.080.22
92.93.43.03.43.23.180.51 92.12.01.92.02.02.020.15
103.13.53.23.83.73.460.76 102.02.12.12.12.12.080.13
113.23.53.63.13.43.350.48 112.12.02.12.02.12.060.08
123.73.23.42.93.13.270.87 122.12.12.02.02.02.020.11
132.84.03.22.73.53.251.29 131.92.12.11.92.02.010.25
143.34.12.93.43.63.441.18 142.02.21.92.12.12.070.30
153.03.43.33.23.53.290.53 152.02.12.02.12.12.060.16
163.13.43.03.63.53.350.57 162.12.22.02.02.12.070.16
173.23.13.23.13.53.210.48 172.22.12.02.22.12.140.24
183.83.53.83.33.13.500.70 182.12.12.12.22.12.090.10
193.33.93.23.43.03.380.87 192.12.12.02.12.02.060.15
203.63.23.23.52.93.290.69 202.02.22.12.11.92.060.21
Table 4. Process capability vs. sigma level and process yield before and after vessel segment enhancement.
Table 4. Process capability vs. sigma level and process yield before and after vessel segment enhancement.
The Process Capability ( CpK ) of
Measuring the Tortuosity ICMn
CpK Sigma LevelDPMOConforming
(Yeild%)
Before vessel segments optimization0.892.7115,00088%
After vessel segments optimization1.464.39186699.77%
Table 5. Process capability/sigma level/DPMO Scale [59,60].
Table 5. Process capability/sigma level/DPMO Scale [59,60].
Is Process
Capable?
CpK Sigma
Level
DPMOStandard Dev Compared to
Specification Limits
Not
Capable
0.331691,462Higher
0.672308,538
Almost
Capable
1366,807Lower
1.13.335,930
1.23.617,864
1.33.98198
Capable1.3346210Lower
1.474.41866
1.64.8483
1.75233
1.85.448
263.4
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Badawi, S.A.; Takruri, M.; ElBadawi, I.; Chaudhry, I.A.; Mahar, N.U.; Nileshwar, A.K.; Mosalam, E. Enhancing Vessel Segment Extraction in Retinal Fundus Images Using Retinal Image Analysis and Six Sigma Process Capability Index. Mathematics 2023, 11, 3170. https://doi.org/10.3390/math11143170

AMA Style

Badawi SA, Takruri M, ElBadawi I, Chaudhry IA, Mahar NU, Nileshwar AK, Mosalam E. Enhancing Vessel Segment Extraction in Retinal Fundus Images Using Retinal Image Analysis and Six Sigma Process Capability Index. Mathematics. 2023; 11(14):3170. https://doi.org/10.3390/math11143170

Chicago/Turabian Style

Badawi, Sufian A., Maen Takruri, Isam ElBadawi, Imran Ali Chaudhry, Nasr Ullah Mahar, Ajay Kamath Nileshwar, and Emad Mosalam. 2023. "Enhancing Vessel Segment Extraction in Retinal Fundus Images Using Retinal Image Analysis and Six Sigma Process Capability Index" Mathematics 11, no. 14: 3170. https://doi.org/10.3390/math11143170

APA Style

Badawi, S. A., Takruri, M., ElBadawi, I., Chaudhry, I. A., Mahar, N. U., Nileshwar, A. K., & Mosalam, E. (2023). Enhancing Vessel Segment Extraction in Retinal Fundus Images Using Retinal Image Analysis and Six Sigma Process Capability Index. Mathematics, 11(14), 3170. https://doi.org/10.3390/math11143170

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

Article Metrics

Back to TopTop