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 个评论
Image Analyst
2013-6-7
We don't understand this: "the range for the inner boundary is 40-80" - 40-80 what? Pixels? Gray levels? Elements?
Monika Stavrevska
2013-6-7
Image Analyst
2013-6-8
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.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Object Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!