The Effect of Contrast Enhancement on Retinal Blood Vessel Segmentation Using CAS-UNet with Coordinate Attention

Hilya Zada Mardhatilla Al Haadiy, Fetty Tri Anggraeny, Eva Yulia Puspaningrum

Abstract


Low contrast variation, uneven intensity distribution, and the presence of noise in retinal fundus images pose major challenges for blood vessel segmentation, particularly regarding thin and complex structures. These conditions make it difficult for models to accurately distinguish between blood vessels and the background. This study aims to analyze the impact of contrast enhancement techniques on retinal blood vessel segmentation performance using a CAS-UNet architecture modified with Coordinate Attention (CA). The methodology involves three preprocessing scenarios: Grayscale, Grayscale + CLAHE, and Grayscale + CLAHE + Gamma Correction. The model was trained using the DRIVE and CHASE_DB1 datasets with an 80:20 data split, an SGD optimizer, a learning rate of 0.01, and a combined BCE and Dice loss function over 50 epochs. Evaluation was conducted using a confusion matrix based on accuracy, sensitivity, specificity, F1-score, and IoU metrics. The results indicate that the Grayscale + CLAHE combination yielded the best performance—achieving a sensitivity of 81.46%, an F1-score of 81.63%, and an IoU of 69.01%—while also improving the detection of small blood vessels more consistently. These findings demonstrate that the appropriate application of contrast enhancement plays a crucial role in improving the quality of medical image segmentation.

Keywords


retinal blood vessel segmentation; contrast enhancement; CAS-UNet; coordinate attention; CLAHE; citra fundus;

Full Text:

PDF

References


Agustianto, K., Choirunnisa, S., Afianah, N., & Huda, C. (2022). Deteksi Pembuluh Darah pada Citra Fundus Retina Menggunakan Gabungan Metode Segementasi Pembuluh Darah Lebar dan Tipis. Jurnal Teknologi Informasi Dan Terapan, 9(1), 41–46. https://doi.org/10.25047/jtit.v9i1.276

Amir, S. B. H., Akbar, S. N. A. F., Hendra, H., Anwar, A. M., & Sulfayanti, S. (2023). Deteksi Citra X-Ray Paru-Paru Terinfeksi COVID-19 dengan Algoritma CNN berbasis Aplikasi Web. Informatika Mulawarman: Jurnal Ilmiah Ilmu Komputer, 17(1), 37–41.

Ariadi, K., Anggraeny, F. T., & Sihananto, A. N. (2024). Perbandingan Performa Metode SVM dan KNN dalam Mengklarifikasi Citra Iinfeksi Telinga. JATI (Jurnal Mahasiswa Teknik Informatika), 8(6), 11342–11347.

Attaqwa, S. I., Puspaningrum, E. Y., & Saputra, W. S. J. (2024). Implementasi Contrast Limited Adaptive Histogram Equalization dalam Pengolahan Citra pada Algoritma Generative Adversarial Network. Jurnal Informatika Dan Teknik Elektro Terapan, 12(3S1).

Barman, S., Hoppe, A., Fraz, M. M., Uyyanonvara, B., Rudnicka, A. R., & Owen, C. G. (2012). CHASE_DB1 retinal vessel reference dataset. https://doi.org/10.1109/TBME.2012.2205687

Chazar, C., Adli, M. A., Pardede, J., & Ichwan, M. (2025). Pendekatan Augmentasi Citra Fundus pada Model EfficientNet untuk Klasifikasi Tingkat Keparahan Retinopati Diabetik dengan Dataset Tidak Seimbang. MIND (Multimedia Artificial Intelligent Networking Database) Journal, 10(2), 180–194.

Das, S., Chakraborty, S., Mishra, M., & Majumder, S. (2024). Assessment of retinal blood vessel segmentation using U-Net model: A deep learning approach. Franklin Open, 8(January), 100143. https://doi.org/10.1016/j.fraope.2024.100143

Desiani, A., Zayanti, D. A., Primartha, R., Efriliyanti, F., & Andriani, N. A. C. (2021). Variasi Thresholding untuk Segmentasi Pembuluh Darah Citra Retina. Jurnal Edukasi Dan Penelitian Informatika (JEPIN), 7(2), 255. https://doi.org/10.26418/jp.v7i2.47205

Galgani, F. (2024). What Is Gamma Correction? Retrieved from Baeldung website: https://www.baeldung.com/cs/gamma-correction-brightness

Herawati, I. A. M., Sindu Putra, I. B. K., & Suyanta, I. W. (2023). Meningkatkan Literasi Lingkungan Anak Usia 5-6 Tahun Melalui Projek Eco Enzyme. Kumara Cendekia, 11(3), 251. https://doi.org/10.20961/kc.v11i3.76862

Hernandez-Gutierrez, F. D., Avina-Bravo, E. G., Ibarra-Manzano, M. A., Ruiz-Pinales, J., Ovalle-Magallanes, E., & Avina-Cervantes, J. G. (2025). Retinal Vessel Segmentation Based on a Lightweight U-Net and Reverse Attention. Mathematics, Vol. 13, p. 2203. https://doi.org/10.3390/math13132203

Hidayat, J., & Fitriani, A. (2025). Perbandingan Metode Power Law Dengan Contrast Limited Adaptive Histogram Equalization (Clahe) Pada Perbaikan Kualitas Citra Satelit. RELE (Rekayasa Elektrikal Dan Energi): Jurnal Teknik Elektro, 8(1), 301–306.

Hou, Q., Zhou, D., & Feng, J. (2021). Coordinate Attention for Efficient Mobile Network Design. Conference on Computer Vision and Pattern Recognition (CVPR), 13713–13722.

Kabiraj, A., Pal, D., Ganguly, D., Chatterjee, K., & Roy, S. (2023). Number plate recognition from enhanced super-resolution using generative adversarial network. Multimedia Tools and Applications, 82(9), 13837–13853.

Kande, G. B., Nalluri, M. R., Manikandan, R., Cho, J., & Veerappampalayam Easwaramoorthy, S. (2025). Multi scale multi attention network for blood vessel segmentation in fundus images. Scientific Reports, 15(1), 3438.

Kemkes. (2023). Pedoman Nasional Pelayanan Kedokteran : Tata Laksana Retinopati Diabetika. Kementerian Kesehatan Republik Indonesia, 1–36.

Li, Z., Jia, M., Yang, X., & Xu, M. (2021). Blood Vessel Segmentation of Retinal Image Based on Dense-U-Net Network. Micromachines, 12, 1478. https://doi.org/https://doi.org/10.3390/mi12121478

Liu, C., Gu, P., & Xiao, Z. (2022). Multiscale U-Net with Spatial Positional Attention for Retinal Vessel Segmentation. Journal of Healthcare Engineering, 2022. https://doi.org/10.1155/2022/5188362

Mudjirahardjo, P. (2024). The effect of grayscale, CLAHE image and filter images in convolution process. Int. J. Adv. Multidiscip. Res. Stud, 4(3), 943–946.

PODDAR, D. K., BANERJEE, P., BANERJEE, A., SAHA ROY, R., & PAUL, R. (2026). Digital Image Transformation and Enhancement Using Blurring, Cartoonization, Grayscale Conversion, and Edge Detection in Python. Cartoonization, Grayscale Conversion, and Edge Detection in Python (February 21, 2026).

Qi, Y., Yang, Z., Sun, W., Lou, M., Lian, J., Zhao, W., … Ma, Y. (2022). A comprehensive overview of image enhancement techniques. Archives of Computational Methods in Engineering, 29(1), 583–607.

Research Software Engineers. (2012). DRIVE: Digital Retinal Images for Vessel Extraction. Retrieved from Grand Challenge website: https://drive.grand-challenge.org/

Wardhani, A. S., Anggraeny, F. T., & Rizki, A. M. (2024). Penerapan Model Hibrida Cnn-Knn Untuk Klasifikasi Penyakit Mata. JATI (Jurnal Mahasiswa Teknik Informatika), 8(3), 3662–3667.

Yao, T., Qu, C., Liu, Q., Deng, R., Tian, Y., Xu, J., … Fogo, A. B. (2021). Compound figure separation of biomedical images with side loss. MICCAI Workshop on Deep Generative Models, 173–183. Springer.

You, Z., Yu, H., Xiao, Z., Peng, T., & Wei, Y. (2023a). CAS-UNet: a retinal segmentation method based on attention. Electronics, 12(15), 3359.

You, Z., Yu, H., Xiao, Z., Peng, T., & Wei, Y. (2023b). CAS-UNet: A Retinal Segmentation Method Based on Attention. Electronics (Switzerland), 12(15). https://doi.org/10.3390/electronics12153359

Yu, Y., Wang, C., Fu, Q., Kou, R., Huang, F., Yang, B., … Gao, M. (2023). Techniques and challenges of image segmentation: A review. Electronics, 12(5), 1199.

Zhao, M., Liu, Q., Jha, A., Deng, R., Yao, T., Mahadevan-Jansen, A., … Huo, Y. (2021). VoxelEmbed: 3D instance segmentation and tracking with voxel embedding based deep learning. International Workshop on Machine Learning in Medical Imaging, 437–446. Springer.




DOI: http://dx.doi.org/10.30872/jim.v21i1.26937

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Informatika Mulawarman : Jurnal Ilmiah Ilmu Komputer

Editor Informatika Mulawarman Address:
ISSN 1858-4853 (Print) | ISSN 2597-4963 (Online)

Published by: Mulawarman University
Managed by : Informatika Department
Jalan Sambaliung No.9 Sempaja Selatan Samarinda Utara,
Kalimantan Timur 75117
 - Indonesia
E-mail: jim.unmul@gmail.com
OJS: http://e-journals.unmul.ac.id/index.php/JIM
Contact Person: Gubtha Mahendra Putra

 Creative Commons License

Informatika Mulawarman by http://e-journals.unmul.ac.id/index.php/JIM/index is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Under the CC BY-SA license, authors and other users are able to reprint, distribute or use the material for commercial purposes so long as they give attribution to the journal Informatika Mulawarman and license the republished material under the same license.