Code covered by the BSD License  

Highlights from
Iris segmentation using Daugman's integrodifferential operator

3.9 | 14 ratings Rate this file 201 Downloads (last 30 days) File Size: 8.81 KB File ID: #15652
image thumbnail

Iris segmentation using Daugman's integrodifferential operator



20 Jul 2007 (Updated )

This program takes as input the image of the iris f human eye and localises the iris and pupil by fi

| Watch this File

File Information

This collection of M-files takes as input a close-up image of the human iris and returns as output the original image overlaid with circles corresponding to the pupil and iris boundaries.In addition it returns the centre and radius coordinates of both boundaries in the variables ci and cp.Notes on the use of the function(s) are included in the .txt files.All the functions have to be on the search path for the code to work.

Please mail me at in case you need assistance with the code. It's really old in my memory so I can't say for sure that I will remember everything :)


This file inspired Fast Eyetracking.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.1 (R12.1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (29)
06 Jul 2014 majd

majd (view profile)

Salemou 3laikom
I still confused to determine Rmin, Rmax, coordinate of center point, and number of side.
the size is exceed, how can i fix this??
I work with CASIA Iris-Syntetic V4, image dimensions is 640*480 (widht*hight)
how to calculate rminiris and rmaxiris ( the minimum and maximum values) of the iris radius.
Can you help me and thank you very much

Comment only
24 Jun 2014 Dihan Fernando

will a digital camera work to capture the image or should i get CCD camera ? if its a CCD camera that i should get can anyone specify a brand ?/ model ?

Comment only
14 Mar 2014 SMRITI

SMRITI (view profile)

can anyone tell me from where to start pupil localization...actually i want some basic

Comment only
17 Feb 2014 joy barbosa

oh sorry~! it should be Alexandre Willame! :))) thnx Alex!

Comment only
17 Feb 2014 joy barbosa

works great! thanks Anirudh Sivaraman
for sharing.. big thnx to you too Rajasekhar Reddy for the suggestions. it also helps me in making the execution faster by altering the imgsize, rmin & rmax values w/ a proper scaling factor!

11 Feb 2014 santhosh

Is iris image and ordinary image taken from a digi cam me frndzz..

Comment only
23 Nov 2013 Rajasekhar Reddy Konda

Please help me.I'm implementing code by Libor Masek. I'm not getting correct boundaries for iris and pupil.I'm confused which values I've to use for lower&upper values for iris and pupil radius and lower &upper threshold values for hysterisis thresholding to mark edges.My input image is eye image(CASIA)is of 300*400 size.I'm using hough transform to find circles.I'm using lower&upper radius values for iris 28,75 and for pupil 8,15 respectively.Lower&upper threshold values 0.19&0.20 resp.Scaling factor 0.3.

25 Aug 2013 C

C (view profile)

15 May 2013 Alexandre Willame

For those who have problems using it, here is an example of how to launch it (eye.jpg is a 480x360 image of an eye):

[ci,cp,out] = thresh(eye,50,400);

05 Oct 2012 Nag Arjun

how to run this code?

19 Apr 2012 lila

lila (view profile)

how to run this code??
i cant run it((((

Comment only
05 Nov 2011 JUAN

JUAN (view profile)

can anyone help me about the procedure to call the function,
this is what I am running:
[ci,cp,O] = umbral (I,rmin,rmax);

Comment only
10 Oct 2011 biswajeet pujapanda

can anyone help me about the input values, what must be given ?

Comment only
02 Oct 2011 ayush

ayush (view profile)

Can u please explain how to run this code??
Ps give an example...

Comment only
21 Jul 2011 Rusmaya Luthfina

still confused to determine Rmin, Rmax, coordinate of center point, and number of side.. Plzz tell me! :'(
at search.m :
radius = maxrad(X,Y)
the size is exceed,, how can i fix this??
i work withh CASIA Iris-V4

Comment only
21 Jun 2011 MISSY

MISSY (view profile)

doesn't work...

13 May 2011 samai

samai (view profile)

it works great !! for those who uses CAsia interval or CASIA Iris-V3 you must to fix the min and the max Radius [95 150] respectively, and to apply the Enhace histog Equalization "histeq.m"
but if you use the Casia1 it works by fixing on [95 105] without histeq.
I've some prblm with the Classification step if someone could help I'll apreciate (wich method or Algorithm i should use to extract the features ..!!).
Good luck.

Comment only
20 Apr 2011 maram

maram (view profile)

someone mail me plz!

Comment only
20 Apr 2011 maram

maram (view profile)

can you help me plz how to use this code?

07 Apr 2011 Alex Chuah

i have tried this m-files by using the CASIA iris database (version 1) and it works fine. But then when i run it by using CASIA interval iris database, it not really works well. Can i know how to solve this issue??

03 Aug 2010 Joanna Yahya

please people help me,I implement the code iris recognition for libor masek and I got an error coding project.
I put the image file(001_1_1.bmp) in same directory with createiristemplate.m when i call this function
there was an error Error: File: createiristemplate.m Line: 21 Column: 47
Unexpected MATLAB expression.
I also already changed all the eyeimage_filename in createiristemplate to
('001_1_1.bmp'), but theres still error.
can you help me please and tell me what is are the steps i have to do to run the codes?

Comment only
23 Oct 2009 Raymond Cheng

Thanks for your sharing. Perfect!

23 May 2009 Ganesan

Can u give some more details abt this...

05 Feb 2009 Tincu Oana

i did change the scale and the min iradius and max iradius as anand said but i received an error on line 46 "index exceeds matrix dimensions" and i don't know how to fix it ...can anybody help me pls

Comment only
28 Oct 2008 anand kumar

works perfect ! gr8 !
There is a little problem, the scale factor have to be 0.25 for correct estimation ( also It makes it fast by 10 times ! ) and the min iradius = 95 and max iris radius = 105.
thnx Anirudh.
It will be nice if u can give me code to unwrapp the image and remove the noise from unwrapped image .
thnx again

18 Aug 2008 lani karmila

I have tried your program with CASIA database, but I fail to get correct boundary iris and pupil. Can you help me to explain your program

05 Aug 2008 Tina Clair

Can u plz upload any image using this operator? I am trying to run it, but I think I'm not giving the correct rmin n rmax values, on the CASIA (version1) database. Guideline needed to run it, soon please.

18 Jul 2008 Hozefa Pat

Can u give more details on how to use this code ??

Comment only
24 Mar 2008 akrout belhassen  

Addition of a file to tell users to review the code

06 Jul 2011

Added mail address to address questions on the code.

06 Jul 2011

Added mail ID

Contact us