Iris Boundary detection algorithm

Hey , I am having problem with writing this alghoritm like a function , can any one help me or give me any sugesstons . I have the array of the list of the edge curves , the range for the inner boundary is 40-80 , and for the outer is 80-120 , and I also have the lengths of the arrays
Input: h(binary map),L(the array of list of the edge curves), the range for the ner boundary(ain,bin), the range for the outer boundary (aout,bout), Cl (the lenghts) Output: Bin(inner boundary), Bout(outer boundary)
isloop_in=0; isloop_out=0;
for all edge curves L[i] of array L AND their lengths Cl(i) of array Cl do
If L[i] is loop curve AND ain<max|P1-P2| < bin then
Bin <- L[i] isloop_in <-1;
P1 and P2 belongs to L[i]
the part for the outer is the same ..
thank you

3 Comments

We don't understand this: "the range for the inner boundary is 40-80" - 40-80 what? Pixels? Gray levels? Elements?
Pixels , the range is in pixels
I still don't know what "the range for the inner boundary is 40-80 pixels" means. Do you mean that both the x and y coordinates of the boundary vary within a 40-80 pixel range? OK, maybe so, but I don't know what you want to do with those boundary curves.

Sign in to comment.

Answers (0)

Asked:

on 7 Jun 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!