Skip to content

UNet for semantic segmentation of retinal blood vessels.

Notifications You must be signed in to change notification settings

Nigama-oss/U-Net-for-DRIVE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U-Net-for-DRIVE

The goal of this project is to implement U-Net from scratch and apply it to DRIVE Dataset for Retinal Blood Vessel Segmentation.

UNet was introduced in 2015, and is one of the popularly used approaches in semantic segmentations. The architecture has four main components.

  1. Encoder : Acts as the feature extractor and learns an abstract representation of the input image through a sequence of the encoder blocks.
  2. Skip connections : Provides additional information that helps the decoder to generate better semantic features.
  3. Bridge : Connects the encoder and the decoder network and completes the flow of information. It consists of two 3×3 convolutions, where each convolution is followed by a ReLU activation function.
  4. Decoder : It is used to take the abstract representation and generate a semantic segmentation mask. The decoder block starts with a 2×2 transpose convolution.

Original paper : U-Net: Convolutional Networks for Biomedical Image Segmentation

About the data

The dataset contains images and their corresponding masked versions of retinal blood vessels from patients with various conditions. Here is an example:

Image Mask 1st Manual

The U-Net model is implemented in the file model.py

Folder Structure

E:.
├───DRIVE
│   ├───test
│   │   ├───images
│   │   └───mask
│   └───training
│       ├───1st_manual
│       ├───images
│       └───mask
├───results
└───saved_files
    ├───test
    │   ├───image
    │   └───mask
    └───train
        ├───image
        └───mask

Results

More results can be found on /results folder.

About

UNet for semantic segmentation of retinal blood vessels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages