Skip to content

ali-john/Optic-Disc-Extraction-from-Retinal-Images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optic-Disc-Extraction-from-Retinal-Images


Introduction:

In this work I devised a new technique for optic disc extraction from retinal images using Spatial enhancements and connected component labelling. The algorithm I devised is:

  • Apply Contrast stretching to grayscale retinal image keeping only top 3% data points.
  • Apply max filter to output of step 1 in iterative fashion to merge small regions into larger ones.
  • Apply thresholding to image keeping threshold at grayscale value of 90. This gives binary image.
  • Apply CCA to binary image. This gives all potential candidates for optic disc.
  • Map given retinal blood vessels map to possible optic disc candidates and look for region with maximum blood vessels.
  • This region is your optic disc.
  • Calculate center of optic disc region and circle boundary of optic disc on input image.

Implementation & Algorithm Explanantion:

The input is a retinal image scan lets take one sample image.

Then the input image is passed to transform function where contrast stretching and max filter is applied. This changes the input retinal image in form where further steps can be applied:

Now the transformed image is passed to CCA function where first thresholding is performed to convert image to binary and after that CCA is applied. This gives colored candidates for optic disc:

Now CCA labelled image along with blood vessels map is passed to another function where blood vessels map is used to find true optic disc amongst all candidates for optic disc. After identifying true optic disc, its center is calculated and then a circle is drawn on input image highlighting the boundaries for optic disc.

Marking boundaries of optic disc region:

Results:


The results on some of data samples are shown:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages