Research Article

A Robust Pupil Localization via a Novel Parameter Optimization Strategy

Algorithm 3

Optimization of binarization parameters.
Input: 1. The coordinate point and pixel value of the jump in Algorithm 2;
 2. Length and width of the eye image;
Output: Gray parameters of the outer edge of pupil;
whiledo
  for to do
   while and
    and do
    
    
   end while
   if to is equal then
    
   else { to is not equal}
    
   end if
  end for
end while