Syed Irtaza Haider
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Syed Irtaza Haider has a total of 75 co-authors. Here are the top co-authors by number of shared publications:
- Khursheed Aurangzeb
King Saud University
17 shared publications - Musaed Alhussein
Computer Engineering Department, College of Computer and Information Sciences, King Saud University, Riyadh, Saudi Arabia
10 shared publications - Nadeem Javaid
Computer Science Department, Faculty of Computers and Information Technology, University of Tabuk, Tabuk, Saudi Arabia
5 shared publications Musaed Alhussein
Department of Computer Engineering, College of Computer and Information Sciences, King Saud University, Saudi Arabia
4 shared publications- Sheraz Aslam
Department of Computer Science, CTL Eurocollege, Limassol, 3077, Cyprus
4 shared publications - Ghulam Hafeez
Department of Electrical Engineering, University of Engineering and Technology, Mardan, Pakistan
3 shared publications
Latest Publications
- 27 November 2023
- Published by Springer Nature in Neural Computing and Applications
- Vol. 37 (25) , 20451-20479
AMIAC: adaptive medical image analyzes and classification, a robust self-learning framework
- 27 November 2023
- Published by Springer Nature in Neural Computing and Applications
- Vol. 37 (25) , 20451-20479
AMIAC: adaptive medical image analyzes and classification, a robust self-learning framework
- Open Access
- 20 September 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 105069-105081
Systematic Development of AI-Enabled Diagnostic Systems for Glaucoma and Diabetic Retinopathy
With the rapid advancements in artificial intelligence, particularly in machine learning and deep learning, automated disease diagnosis is becoming increasingly feasible. Generating larger databases is crucial for training and validating the performance of models for chronic diseases such as glaucoma and diabetic retinopathy, which progress slowly and unnoticed. Automated procedures for retinal vessel segmentation and optic cup/disk localization are preferred for large-scale screening of the public, contributing to the early detection and treatment of eye diseases, preventing blindness, and improving public health. This paper focuses on the challenges involved in segmenting the retinal vessels from fundus images and presents a modified ColonSegNet model for retinal vessel segmentation that includes efficient methods for locating the true vessels and applies data augmentation to overcome the issue of fewer graded images. The paper uses the optimal values for the contrast enhancement of retinal fundus images using intelligent evolution algorithms. The central vessel reflex, bifurcation, crossover, thin vessels, and lesion presence are highlighted as significant challenges in retinal vessel segmentation. The proposed method achieves high sensitivity, specificity, and accuracy, {0.839, 0.979, 0.966}, {0.865, 0.979, 0.971}, and {0.867, 0.981, 0.972}, segmenting retinal vessels on DRIVE, CHASE_DB, and STARE. The work is crucial in developing automated systems for the early detection and treatment of eye diseases, thereby improving public health.
- 20 September 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 105069-105081
Open AccessSystematic Development of AI-Enabled Diagnostic Systems for Glaucoma and Diabetic Retinopathy
With the rapid advancements in artificial intelligence, particularly in machine learning and deep learning, automated disease diagnosis is becoming increasingly feasible. Generating larger databases is crucial for training and validating the performance of models for chronic diseases such as glaucoma and diabetic retinopathy, which progress slowly and unnoticed. Automated procedures for retinal vessel segmentation and optic cup/disk localization are preferred for large-scale screening of the public, contributing to the early detection and treatment of eye diseases, preventing blindness, and improving public health. This paper focuses on the challenges involved in segmenting the retinal vessels from fundus images and presents a modified ColonSegNet model for retinal vessel segmentation that includes efficient methods for locating the true vessels and applies data augmentation to overcome the issue of fewer graded images. The paper uses the optimal values for the contrast enhancement of retinal fundus images using intelligent evolution algorithms. The central vessel reflex, bifurcation, crossover, thin vessels, and lesion presence are highlighted as significant challenges in retinal vessel segmentation. The proposed method achieves high sensitivity, specificity, and accuracy, {0.839, 0.979, 0.966}, {0.865, 0.979, 0.971}, and {0.867, 0.981, 0.972}, segmenting retinal vessels on DRIVE, CHASE_DB, and STARE. The work is crucial in developing automated systems for the early detection and treatment of eye diseases, thereby improving public health.
- Open Access
- 3 April 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 33640-33651
Demand Response for Optimal Power Usage Scheduling Considering Time and Power Flexibility of Load in Smart Grid
Demand response (DR) shaves peak energy consumption and drives energy conservation to ensure reliable operation of power grid.With the emergence of the smart power grid (SPG), DR has become increasingly popular and highly contributes to energy optimization. On this note, in this work, DR is adopted for scheduling home appliances to reduce utility bill payment, peak to average demand ratio (PADR), and discomfort. First, home appliances are classified into two categories according to time and power flexibility: time-flexible and power-flexible. Secondly, the demand-side users power usage scheduling problem is modelled as per the user priority and modes of operation considering demand and supply. Finally, the energy consumption scheduler (ECS) is developed to adjust the time and power of both types of appliances under different operation modes to acquire desired tradeoff between utility bills payment and discomfort, and PADR and discomfort. Simulation results depict that employing the proposed ECS benefits demand-side users by minimizing their utility bills payment, PADR, and achieving the desired tradeoff between utility bill payment and discomfort, and PADR and discomfort. Results illustrate that developed reduced utility bill payment and alleviated PADR without compromising comfort by 28% and 21%, respectively, compared to without scheduling case.
- 3 April 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 33640-33651
Open AccessDemand Response for Optimal Power Usage Scheduling Considering Time and Power Flexibility of Load in Smart Grid
Demand response (DR) shaves peak energy consumption and drives energy conservation to ensure reliable operation of power grid.With the emergence of the smart power grid (SPG), DR has become increasingly popular and highly contributes to energy optimization. On this note, in this work, DR is adopted for scheduling home appliances to reduce utility bill payment, peak to average demand ratio (PADR), and discomfort. First, home appliances are classified into two categories according to time and power flexibility: time-flexible and power-flexible. Secondly, the demand-side users power usage scheduling problem is modelled as per the user priority and modes of operation considering demand and supply. Finally, the energy consumption scheduler (ECS) is developed to adjust the time and power of both types of appliances under different operation modes to acquire desired tradeoff between utility bills payment and discomfort, and PADR and discomfort. Simulation results depict that employing the proposed ECS benefits demand-side users by minimizing their utility bills payment, PADR, and achieving the desired tradeoff between utility bill payment and discomfort, and PADR and discomfort. Results illustrate that developed reduced utility bill payment and alleviated PADR without compromising comfort by 28% and 21%, respectively, compared to without scheduling case.
- Open Access
- 29 March 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 33872-33886
A Strategy for Multi-Objective Energy Optimization in Smart Grid Considering Renewable Energy and Batteries Energy Storage System
Multi-objective energy optimization is pivotal for reliable and secure power system operation. However, multi-objective energy optimization is challenging due to interdependent and conflicting objectives. Thus, a multi-objective optimization model is needed to cater to conflicting objectives. On this note, a multi-objective optimization model is developed, where a non-dominated genetic sorting algorithm is employed to optimize objectives pollution emission, operation cost, and loss of load expectation (LOLE) considering renewable energy sources (RES). RES, like wind and solar, are intermittent and uncertain, which are modelled using a beta probability density function (PDF). The developed method’s effectiveness and applicability are analyzed by implementing it on the 30-bus system, and the results are compared for two cases. Findings reveal that the developed multi-objective optimization model minimizes operation cost, pollution emission, and LOLE by 59%, 7%, and 2.67%, respectively, compared to existing models.
- 29 March 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 33872-33886
Open AccessA Strategy for Multi-Objective Energy Optimization in Smart Grid Considering Renewable Energy and Batteries Energy Storage System
Multi-objective energy optimization is pivotal for reliable and secure power system operation. However, multi-objective energy optimization is challenging due to interdependent and conflicting objectives. Thus, a multi-objective optimization model is needed to cater to conflicting objectives. On this note, a multi-objective optimization model is developed, where a non-dominated genetic sorting algorithm is employed to optimize objectives pollution emission, operation cost, and loss of load expectation (LOLE) considering renewable energy sources (RES). RES, like wind and solar, are intermittent and uncertain, which are modelled using a beta probability density function (PDF). The developed method’s effectiveness and applicability are analyzed by implementing it on the 30-bus system, and the results are compared for two cases. Findings reveal that the developed multi-objective optimization model minimizes operation cost, pollution emission, and LOLE by 59%, 7%, and 2.67%, respectively, compared to existing models.
- Open Access
- 28 October 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 23107-23118
An Efficient and Light Weight Deep Learning Model for Accurate Retinal Vessels Segmentation
Detecting eye diseases early can make a difference when trying to treat them. Existing diagnostic systems are not only prone to inaccurate judgments, but are also difficult and require a longer time from experts. Artificial intelligence (AI) based on deep learning (DL) has attracted global interest recently because of its effectiveness and accuracy in detecting eye diseases. There are several challenges in diagnosing eye diseases based on retinal fundus imaging. Most of the previous models in the literature targeted these challenges and tried to improve the evaluation metrics, whereas very little attention has been given to reducing the computational complexity of the developed model. The reduced computational complexity is highly desired, as the aim of developing an AI-enabled automated diagnostic system is to use for population-scale screening programs. This observation motivated us, and this work aimed to use a lightweight DL model based on ColonSegNet for retinal vessel segmentation. The performance of the model was assessed using three open-access fundus image datasets: DRIVE, CHASE_DB1, and STARE. The proposed method achieved sensitivity, specificity, accuracy, AUC, and MCC performance of (0.8491, 0.9774, 0.9659, 0.9850, and 0.7960), (0.8607, 0.9806,0.9731, 0.9869, and 0.8014), and (0.8573, 0.9813, 0.9719, 0.9873, and 0.8069) respectively. Furthermore, it has five M trainable parameters, making it lightweight and capable of deployment on low-end hardware devices. These results outperform several lightweight and computationally heavy methods. The reduced number of parameters, computational complexity, and improved segmentation performance support its use in automated diagnostic systems for retinal vessel segmentation.
- 28 October 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 23107-23118
Open AccessAn Efficient and Light Weight Deep Learning Model for Accurate Retinal Vessels Segmentation
Detecting eye diseases early can make a difference when trying to treat them. Existing diagnostic systems are not only prone to inaccurate judgments, but are also difficult and require a longer time from experts. Artificial intelligence (AI) based on deep learning (DL) has attracted global interest recently because of its effectiveness and accuracy in detecting eye diseases. There are several challenges in diagnosing eye diseases based on retinal fundus imaging. Most of the previous models in the literature targeted these challenges and tried to improve the evaluation metrics, whereas very little attention has been given to reducing the computational complexity of the developed model. The reduced computational complexity is highly desired, as the aim of developing an AI-enabled automated diagnostic system is to use for population-scale screening programs. This observation motivated us, and this work aimed to use a lightweight DL model based on ColonSegNet for retinal vessel segmentation. The performance of the model was assessed using three open-access fundus image datasets: DRIVE, CHASE_DB1, and STARE. The proposed method achieved sensitivity, specificity, accuracy, AUC, and MCC performance of (0.8491, 0.9774, 0.9659, 0.9850, and 0.7960), (0.8607, 0.9806,0.9731, 0.9869, and 0.8014), and (0.8573, 0.9813, 0.9719, 0.9873, and 0.8069) respectively. Furthermore, it has five M trainable parameters, making it lightweight and capable of deployment on low-end hardware devices. These results outperform several lightweight and computationally heavy methods. The reduced number of parameters, computational complexity, and improved segmentation performance support its use in automated diagnostic systems for retinal vessel segmentation.
- Open Access
- 28 June 2022
- Published by Kaunas University of Technology (KTU) in Elektronika ir Elektrotechnika
- Vol. 28 (3) , 54-64
Retinal Vessel Segmentation Based on the Anam-Net Model
Accurate segmentation of retinal blood vessels can help ophthalmologists diagnose eye-related diseases such as diabetes and hypertension. The task of segmentation of the vessels comes with a number of challenges. Some of the challenges are due to haemorrhages and microaneurysms in fundus imaging, while others are due to the central vessel reflex and low contrast. Encoder-decoder networks have recently achieved excellent performance in retinal vascular segmentation at the trade-off of increased computational complexity. In this work, we use the Anam-Net model to accurately segment retinal vessels at a low computational cost. The Anam-Net model consists of a lightweight convolutional neural network (CNN) along with bottleneck layers in the encoder and decoder stages. Compared to the standard U-Net model and the R2U-Net model, the Anam-Net model has 6.9 times and 10.9 times fewer parameters. We evaluated the Anam-Net model on three open-access datasets: DRIVE, STARE, and CHASE_DB. The results show that the Anam-Net model achieves better segmentation accuracy compared to several state-of-the-art methods. For the DRIVE, STARE, and CHASE DB datasets, the model achieved {sensitivity and accuracy} of {0.8601, 0.9660}, {0.8697, 0.9728}, and {0.8553, 0.9746}, respectively. On the DRIVE, STARE, and CHASE_DB datasets, we also conduct cross-training experiments. The outcome of this experiment demonstrates the generalizability and robustness of the Anam-Net model.
- 28 June 2022
- Published by Kaunas University of Technology (KTU) in Elektronika ir Elektrotechnika
- Vol. 28 (3) , 54-64
Open AccessRetinal Vessel Segmentation Based on the Anam-Net Model
Accurate segmentation of retinal blood vessels can help ophthalmologists diagnose eye-related diseases such as diabetes and hypertension. The task of segmentation of the vessels comes with a number of challenges. Some of the challenges are due to haemorrhages and microaneurysms in fundus imaging, while others are due to the central vessel reflex and low contrast. Encoder-decoder networks have recently achieved excellent performance in retinal vascular segmentation at the trade-off of increased computational complexity. In this work, we use the Anam-Net model to accurately segment retinal vessels at a low computational cost. The Anam-Net model consists of a lightweight convolutional neural network (CNN) along with bottleneck layers in the encoder and decoder stages. Compared to the standard U-Net model and the R2U-Net model, the Anam-Net model has 6.9 times and 10.9 times fewer parameters. We evaluated the Anam-Net model on three open-access datasets: DRIVE, STARE, and CHASE_DB. The results show that the Anam-Net model achieves better segmentation accuracy compared to several state-of-the-art methods. For the DRIVE, STARE, and CHASE DB datasets, the model achieved {sensitivity and accuracy} of {0.8601, 0.9660}, {0.8697, 0.9728}, and {0.8553, 0.9746}, respectively. On the DRIVE, STARE, and CHASE_DB datasets, we also conduct cross-training experiments. The outcome of this experiment demonstrates the generalizability and robustness of the Anam-Net model.
- Open Access
- 7 April 2022
- Published by Elsevier in Engineering Science and Technology, an International Journal
- Vol. 36
Solving day-ahead scheduling problem with multi-objective energy optimization for demand side management in smart grid
- 7 April 2022
- Published by Elsevier in Engineering Science and Technology, an International Journal
- Vol. 36
Open AccessSolving day-ahead scheduling problem with multi-objective energy optimization for demand side management in smart grid
- Open Access
- 4 February 2022
- Published by MDPI AG in Sustainability
- Vol. 14 (3) , 1792
Real-Time Energy Management and Load Scheduling with Renewable Energy Integration in Smart Grid
With the smart grid development, the modern electricity market is reformatted, where residential consumers can actively participate in the demand response (DR) program to balance demand with generation. However, lack of user knowledge is a challenging issue in responding to DR incentive signals. Thus, an Energy Management Controller (EMC) emerged that automatically respond to DR signal and solve energy management problem. On this note, in this work, a hybrid algorithm of Enhanced Differential Evolution (EDE) and Genetic Algorithm (GA) is developed, namely EDGE. The EMC is programmed based with EDGE algorithm to automatically respond to DR signals to solve energy management problems via scheduling three types of household load: interruptible, non-interruptible, and hybrid. The EDGE algorithm has critical features of both algorithms (GA and EDE), enabling the EMC to generate an optimal schedule of household load to reduce energy expense, carbon emission, Peak to Average Ratio (PAR), and user discomfort. To validate the proposed EDGE algorithm, simulations are conducted compared to the existing algorithms like Binary Particle Swarm Optimization (BPSO), GA, Wind Driven Optimization (WDO), and EDE. Results illustrate that the proposed EDGE algorithm outperforms benchmark algorithms in energy expense minimization, carbon emission minimization, PAR alleviation, and user discomfort maximization.
- 4 February 2022
- Published by MDPI AG in Sustainability
- Vol. 14 (3) , 1792
Open AccessReal-Time Energy Management and Load Scheduling with Renewable Energy Integration in Smart Grid
With the smart grid development, the modern electricity market is reformatted, where residential consumers can actively participate in the demand response (DR) program to balance demand with generation. However, lack of user knowledge is a challenging issue in responding to DR incentive signals. Thus, an Energy Management Controller (EMC) emerged that automatically respond to DR signal and solve energy management problem. On this note, in this work, a hybrid algorithm of Enhanced Differential Evolution (EDE) and Genetic Algorithm (GA) is developed, namely EDGE. The EMC is programmed based with EDGE algorithm to automatically respond to DR signals to solve energy management problems via scheduling three types of household load: interruptible, non-interruptible, and hybrid. The EDGE algorithm has critical features of both algorithms (GA and EDE), enabling the EMC to generate an optimal schedule of household load to reduce energy expense, carbon emission, Peak to Average Ratio (PAR), and user discomfort. To validate the proposed EDGE algorithm, simulations are conducted compared to the existing algorithms like Binary Particle Swarm Optimization (BPSO), GA, Wind Driven Optimization (WDO), and EDE. Results illustrate that the proposed EDGE algorithm outperforms benchmark algorithms in energy expense minimization, carbon emission minimization, PAR alleviation, and user discomfort maximization.
- Open Access
- 16 November 2021
- Published by MDPI AG in Sustainability
- Vol. 13 (22) , 12653
Towards Electric Price and Load Forecasting Using CNN-Based Ensembler in Smart Grid
Medium-term electricity consumption and load forecasting in smart grids is an attractive topic of study, especially using innovative data analysis approaches for future energy consumption trends. Loss of electricity during generation and use is also a problem to be addressed. Both consumers and utilities can benefit from a predictive study of electricity demand and pricing. In this study, we used a new machine learning approach called AdaBoost to identify key features from an ISO-NE dataset that includes daily consumption data over eight years. Moreover, the DT classifier and RF are widely used to extract the best features from the dataset. Moreover, we predicted the electricity load and price using machine learning techniques including support vector machine (SVM) and deep learning techniques such as a convolutional neural network (CNN). Coronavirus herd immunity optimization (CHIO), a novel optimization approach, was used to modify the hyperparameters to increase efficiency, and it used classifiers to improve the performance of our classifier. By adding additional layers to the CNN and fine-tuning its parameters, the probability of overfitting the classifier was reduced. For method validation, we compared our proposed models with several benchmarks. MAE, MAPE, MSE, RMSE, the f1 score, recall, precision, and accuracy were the measures used for performance evaluation. Moreover, seven different forms of statistical analysis were given to show why our proposed approaches are preferable. The proposed CNN-CHIO and SVM techniques had the lowest MAPE error rates of 6% and 8%, respectively, and the highest accuracy rates of 95% and 92%, respectively.
- 16 November 2021
- Published by MDPI AG in Sustainability
- Vol. 13 (22) , 12653
Open AccessTowards Electric Price and Load Forecasting Using CNN-Based Ensembler in Smart Grid
Medium-term electricity consumption and load forecasting in smart grids is an attractive topic of study, especially using innovative data analysis approaches for future energy consumption trends. Loss of electricity during generation and use is also a problem to be addressed. Both consumers and utilities can benefit from a predictive study of electricity demand and pricing. In this study, we used a new machine learning approach called AdaBoost to identify key features from an ISO-NE dataset that includes daily consumption data over eight years. Moreover, the DT classifier and RF are widely used to extract the best features from the dataset. Moreover, we predicted the electricity load and price using machine learning techniques including support vector machine (SVM) and deep learning techniques such as a convolutional neural network (CNN). Coronavirus herd immunity optimization (CHIO), a novel optimization approach, was used to modify the hyperparameters to increase efficiency, and it used classifiers to improve the performance of our classifier. By adding additional layers to the CNN and fine-tuning its parameters, the probability of overfitting the classifier was reduced. For method validation, we compared our proposed models with several benchmarks. MAE, MAPE, MSE, RMSE, the f1 score, recall, precision, and accuracy were the measures used for performance evaluation. Moreover, seven different forms of statistical analysis were given to show why our proposed approaches are preferable. The proposed CNN-CHIO and SVM techniques had the lowest MAPE error rates of 6% and 8%, respectively, and the highest accuracy rates of 95% and 92%, respectively.
- Open Access
- 24 March 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 47930-47945
Contrast Enhancement of Fundus Images by Employing Modified PSO for Improving the Performance of Deep Learning Models
Computer-Aided diagnosis (CAD) is a widely used technique to detect and diagnose diseases like tumors, cancers, edemas, etc. Several critical retinal diseases like diabetic retinopathy (DR), hypertensive retinopathy (HR), Macular degeneration, retinitis pigmentosa (RP) are mainly analyzed based on the observation of fundus images. The raw fundus images are of inferior quality to represent the minor changes directly. To detect and analyze minor changes in retinal vasculature or to apply advanced disease detection algorithms, the fundus image should be enhanced enough to visibly present vessel touristy. The performance of deep learning models for diagnosing these critical diseases is highly dependent on accurate segmentation of images. Specifically, for retinal vessels segmentation, accurate segmentation of fundus images is highly challenging due to low vessel contrast, varying widths, branching, and the crossing of vessels. For contrast enhancement, various retinal-vessel segmentation methods apply image-contrast enhancement as a pre-processing step, which can introduce noise in an image and affect vessel detection. Recently, numerous studies applied Contrast Limited Adaptive Histogram Equalization (CLAHE) for contrast enhancement, but with the default values for the contextual region and clip limit. In this study, our aim is to improve the performance of both supervised and unsupervised machine learning models for retinal-vessel segmentation by applying modified particle swarm optimization (MPSO) for CLAHE parameter tuning, with a specific focus on optimizing the clip limit and contextual regions. We subsequently assessed the capabilities of the optimized version of CLAHE using standard evaluation metrics. We used the contrast enhanced images achieved using MPSO-based CLAHE for demonstrating its real impact on performance of deep learning model for semantic segmentation of retinal images. The achieved results proved positive impact on sensitivity of supervised machine learning models, which is highly important. By applying the proposed approach on the enhanced retinal images of the publicly available databases of {DRIVE and STARE}, we achieved a sensitivity, specificity and accuracy of {0.8315 and 0.8433}, {0.9750 and 0.9760} and {0.9620 and 0.9645}, respectively.
- 24 March 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 47930-47945
Open AccessContrast Enhancement of Fundus Images by Employing Modified PSO for Improving the Performance of Deep Learning Models
Computer-Aided diagnosis (CAD) is a widely used technique to detect and diagnose diseases like tumors, cancers, edemas, etc. Several critical retinal diseases like diabetic retinopathy (DR), hypertensive retinopathy (HR), Macular degeneration, retinitis pigmentosa (RP) are mainly analyzed based on the observation of fundus images. The raw fundus images are of inferior quality to represent the minor changes directly. To detect and analyze minor changes in retinal vasculature or to apply advanced disease detection algorithms, the fundus image should be enhanced enough to visibly present vessel touristy. The performance of deep learning models for diagnosing these critical diseases is highly dependent on accurate segmentation of images. Specifically, for retinal vessels segmentation, accurate segmentation of fundus images is highly challenging due to low vessel contrast, varying widths, branching, and the crossing of vessels. For contrast enhancement, various retinal-vessel segmentation methods apply image-contrast enhancement as a pre-processing step, which can introduce noise in an image and affect vessel detection. Recently, numerous studies applied Contrast Limited Adaptive Histogram Equalization (CLAHE) for contrast enhancement, but with the default values for the contextual region and clip limit. In this study, our aim is to improve the performance of both supervised and unsupervised machine learning models for retinal-vessel segmentation by applying modified particle swarm optimization (MPSO) for CLAHE parameter tuning, with a specific focus on optimizing the clip limit and contextual regions. We subsequently assessed the capabilities of the optimized version of CLAHE using standard evaluation metrics. We used the contrast enhanced images achieved using MPSO-based CLAHE for demonstrating its real impact on performance of deep learning model for semantic segmentation of retinal images. The achieved results proved positive impact on sensitivity of supervised machine learning models, which is highly important. By applying the proposed approach on the enhanced retinal images of the publicly available databases of {DRIVE and STARE}, we achieved a sensitivity, specificity and accuracy of {0.8315 and 0.8433}, {0.9750 and 0.9760} and {0.9620 and 0.9645}, respectively.