View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Retinal Blood Vessel Extraction

4.8 | 14 ratings Rate this file 108 Downloads (last 30 days) File Size: 32.3 KB File ID: #24990 Version: 1.1
image thumbnail

Retinal Blood Vessel Extraction


Athi (view profile)


11 Aug 2009 (Updated )

Extracts blood vessels from a retina image using Kirsch's Templates

| Watch this File

File Information

This program extracts blood vessels from a retina image using Kirsch's Templates. Filtering of the input retina image is done with the Kirsch's Templates in different orientations. The threshold used in the program, can be varied to fine tune the output blood vessel extracted image.


This file inspired Retinal Blood Vessels Extraction.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (28)
15 Feb 2017 Maira Radu

Hello!Can anyone help me with detection of blood vessels in retinal images using two-dimensional matched filters (matlab code)?Thanks! :D

Comment only
09 Feb 2017 Mohammed Pota

08 Feb 2017 amarnath ettikala

05 Jul 2016 Vishwajeet Avula

@Chris Jademan You should run the main.m file not vesselextract.m

Comment only
10 Apr 2016 Mahadi Hasan

nice work

05 Apr 2016 shakira idrees

sir plz tell me how i run this code .it give me error (undefine function vesselsExtraction)when i run main part .plz help me.

23 Mar 2016 Thomas Jefferson

good work

11 Apr 2015 Chris Jademan

After I run VesselExtract.m, an error message was displayed: Not Enough Input Arguments.

Would you mind tell me what should I do to fix this error? I appreciate it if you help me.

Comment only
12 Mar 2015 Nakul Gaikwad

Nice code. how do i generate a code to get the same results in real time.

Comment only
19 Feb 2015 Sree laksmi

this code is not working please do check

Comment only
11 Dec 2014 Rashid Khan


Comment only
03 Dec 2014 La Thien

07 Sep 2014 nazia

nazia (view profile)

excellent code

03 Sep 2014 nazia

nazia (view profile)

07 Mar 2014 mohamad mohamad

01 Dec 2013 Hua Qiao Lab SOFTWARE GUARD

Thanks for share,It really a good program for study!

12 Feb 2013 lisa

lisa (view profile)

30 Jan 2013 Muhammad Zubair

no access

Comment only
27 Nov 2012 Chen

Chen (view profile)

a good program.

06 Jan 2012 Jamuna Jayashri Mahalingam

18 Aug 2011 Mahdi

Mahdi (view profile)

hi all.thanks for code but this code is weak and it cant find all vessels in the image. you can use morphological operator and curvelet transform for improving results.

Comment only
29 Jun 2011 Nima Azar

I'm very to matlab. I would like to test this program, can you tell me how I need to run this?


Comment only
05 Mar 2011 Purnima Manke

i have taken retinal blood vessel extraction as ma project using median filter and gaussian filter too. i wul lyk to know hoe to implement them in our project,

Comment only
30 Nov 2010 pankaj badoni

the same thing could have been achieved with the help of canny edge and then giving the threshold values as input.

Comment only
26 Feb 2010 Ahmed Ghorab

I need your help in fiding a code for optic disc extraction and to claculate the ODR.

Comment only
16 Feb 2010 greeshma haridasan

am working on retinal images . first i need to remove the optic disc from my image and then find the region of lesions..i worked on many methods but doesnt seem to get what i please help me out..
the above is the kind of image am working on.. desperately in need of help!!!!!

thanks in advance!! :)

Comment only
10 Nov 2009 Cippo Lippo

To speed the program up you should not use the for loops in VesselExtract.m:60-68

You can easily vectorise the code with:
bloodVessels = max(t1,t2);
bloodVessels = max(bloodVessels,t3);
bloodVessels = max(bloodVessels,t4);
bloodVessels = max(bloodVessels,t5);
bloodVessels = max(bloodVessels,t6);
bloodVessels = max(bloodVessels,t7);
bloodVessels = max(bloodVessels,t8);

Comment only
12 Aug 2009 Christopher

Its an excellent program.

07 Jun 2011 1.1

Author Info Updated.

Contact us