Research Article

[Retracted] Iris Localization Algorithm based on Effective Area

Algorithm 3

Pseudo code of outer boundary adjustment.
Input: The z sets of IDO parameters with the largest difference values, para_1, para_2,...,para_z; the pixels in six directions were obtained according to each set of parameters, a1i, a2i, a3i, a4i, b1i, b2i, b3i, b4i, c1i, c2i, c3i, c4i, where i = 1, 2,...,z;
Output: The optimal parameters, Opt_para;
(1)Para = (para_1, para_2,...,para_z)
(2)val_1 = (a11 − a31)2 + (a21 − a41)2 + (b11 − b31)2 + (b21 − b41)2 + (c11 − c31)2 + (c21 − c41)2
(3)val_2 = (a12 − a32)2 + (a22 − a42)2 + (b12 − b32)2 + (b22 − b42)2 + (c12 − c32)2 + (c22 − c42)2
(4)...
(5)val_z = (a1z − a3z)2 + (a2z − a4z)2 + (b1z − b3z)2 + (b2z − b4z)2 + (c1z − c3z)2 + (c2z − c4z)2
(6)Value = [val_1, val_2,...,val_z]
(7)Index = Value.index (max (Value)) #get the index of maximum
(8)Opt_para = Para [Index]
(9)return Opt_para