Code Monkey home page Code Monkey logo

retinal-vessel-segmentation-using-variants-of-unet's Introduction

Retinal-Vessel-Segmentation-using-Variants-of-UNET

This repository contains the implementation of fully convolutional neural networks for segmenting retinal vasculature from fundus images.

alt text

Four architecures/models were made keeping U-NET architecture as the base. The models used are:

  • Simple U-NET
  • Residual U-NET (Res-UNET)
  • Attention U-NET
  • Residual Attention U-NET (RA-UNET)

The performance metrics used for evaluation are accuracy and mean IoU.

Methods

Images from HRF, DRIVE and STARE datasets are used for training and testing. The following pre-processing steps are applied before training the models:

  • Green channel selection
  • Contrast-limited adaptive histogram equalization (CLAHE)
  • Cropping into non-overlapping patches of size 512 x 512

10 images from DRIVE and STARE and 12 images from HRF was kept for testing the models. The training dataset was then split into 70:30 ratio for training and validation.

Adam optimizer with a learning rate of 0.001 was used as optimizer and IoU loss was used as the loss function. The models were trained for 150 epochs with a batch size of 16, using NVIDIA Tesla P100-PCIE GPU.

Results

The performance of the models were evaluated using the test dataset. Out of all the models, Attention U-NET achieved a greater segmentation performance.

The following table compares the performance of various models

Datasets Models Average Accuracy Mean IoU
HRF Simple U-NET 0.965 0.854
HRF Res-UNET 0.964 0.854
HRF Attention U-NET 0.966 0.857
HRF RA-UNET 0.963 0.85
DRIVE Simple U-NET 0.9 0.736
DRIVE Res-UNET 0.903 0.741
DRIVE Attention U-NET 0.905 0.745
DRIVE RA-UNET 0.9 0.735
STARE Simple U-NET 0.882 0.719
STARE Res-UNET 0.893 0.737
STARE Attention U-NET 0.893 0.738
STARE RA-UNET 0.891 0.733

alt text

Datasets

The datasets of the fundus images can be acquired from:

  1. HRF
  2. DRIVE
  3. STARE

The trained models are present in Trained models folder.

References

[1] Vengalil, Sunil Kumar & Sinha, Neelam & Kruthiventi, Srinivas & Babu, R. (2016). Customizing CNNs for blood vessel segmentation from fundus images. 1-4. 10.1109/SPCOM.2016.7746702..

[2] Ronneberger O., Fischer P., Brox T. U-Net: Convolutional networks for biomedical image segmentation International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer (2015), pp. 234-241

[3] Zhang, Zhengxin & Liu, Qingjie. (2017). Road Extraction by Deep Residual U-Net. IEEE Geoscience and Remote Sensing Letters. PP. 10.1109/LGRS.2018.2802944.

[4] Oktay, Ozan & Schlemper, Jo & Folgoc, Loic & Lee, Matthew & Heinrich, Mattias & Misawa, Kazunari & Mori, Kensaku & McDonagh, Steven & Hammerla, Nils & Kainz, Bernhard & Glocker, Ben & Rueckert, Daniel. (2018). Attention U-Net: Learning Where to Look for the Pancreas.

[5] Ni, Zhen-Liang & Bian, Gui-Bin & Zhou, Xiao-Hu & Hou, Zeng-Guang & Xie, Xiao-Liang & Wang, Chen & Zhou, Yan-Jie & Li, Rui-Qi & Li, Zhen. (2019). RAUNet: Residual Attention U-Net for Semantic Segmentation of Cataract Surgical Instruments.

[6] Jin, Qiangguo & Meng, Zhaopeng & Pham, Tuan & Chen, Qi & Wei, Leyi & Su, Ran. (2018). DUNet: A deformable network for retinal vessel segmentation.

       

This project is done during Indian Academy of Sciences Summer Reasearch Fellowship '21

retinal-vessel-segmentation-using-variants-of-unet's People

Contributors

arkanivasarkar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.