Iris Boundary detection algorithm
Afficher commentaires plus anciens
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 commentaires
Image Analyst
le 7 Juin 2013
We don't understand this: "the range for the inner boundary is 40-80" - 40-80 what? Pixels? Gray levels? Elements?
Monika Stavrevska
le 7 Juin 2013
Image Analyst
le 8 Juin 2013
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.
Réponses (0)
Catégories
En savoir plus sur Object Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!