Research Article

[Retracted] Iris Localization Algorithm based on Effective Area

Algorithm 1

Pseudo code of reflective noise removal.
Input: The obtained effective iris area, img; The first and last columns of the noise filled area, L_c and R_c; The first and last rows of the noise filled area, U_r and D_r;
Output: The image after reflective noise removal
(1)import numpy as np
(2)T1 = np.mean (img) #calculate the average grayscale value of the image
(3)B_uff = T1
(4)for j in range (L_c, R_c):
(5)   for i in range (U_r, D_r):
(6)     P_ix = img [i] [j]
(7)     if P_ix > T1:   #is the current pixel a valid pixel?
(8)       img [i] [j] = B_uff
(9)     else:
(10)       B_uff = P_ix
(11)return img