The invention relates to a method for extracting an
eyelash image and locating a
pupil through the cross neighborhood method. The method for extracting the
eyelash image and locating the
pupil comprises the following steps that gray
processing is conducted on an eye image so that a gray image can be obtained and pixel points, in a cross neighborhood of each pixel point, of the gray image are ranked from large to small so that a plurality of pixel sequences can be obtained; according to a first difference value, the
eyelash image is obtained; according to a second difference value, a
pupil boundary image is obtained; binarization
processing is conducted on the pupil boundary image, so that a pupil binarization image is obtained; a
horizontal projection curve and a
vertical projection curve are obtained according to the pupil binarization image; a vertical filtering curve and a horizontal filtering curve are obtained according to the
horizontal projection curve and the
vertical projection curve; the position of one pupil is determined according to a first half-height point, a second half-height point, a third half-height point and a fourth half-height point. According to the method for extracting the eyelash image and locating one pupil through the cross neighborhood method, the calculated amount can be effectively reduced, the
processing speed can be improved, and
noise in the eye image can be efficiently eliminated.