Method of measuring the focus of close-up images of eyes
First Claim
1. A method of determining whether an image of an eye is in focus wherein the image contains an iris portion having a radius ri and a pupil portion having a radius rp and there is an pupil/iris boundary between the iris portion and the pupil portion, the image is formed of pixels and there are at least 5 pixels of the iris portion of the image and at least 5 pixels of the pupil portion of the image on a single line comprised of:
- a. selecting a set of pixels along a line passing through the pupil/iris boundary the set containing at least 5 iris portion pixels and at least 5 pupil portion pixels;
b. computing a statistical value Mi of all iris pixels in the selected set;
c. computing a statistical value Mp of all pupil pixels in the selected set;
d. computing a step size H such that H=Mi -Mp ;
e. determining a gradient of pixel values along the line for the selected set of pixels;
f. forming a second set of pixels by excluding from the selected set of pixels that pixel having a largest absolute gradient value;
g. determining an average S of the absolute gradient values of the pixels in the second set of pixels;
h. computing 1/w=S/H; and
i. if 1/w is greater than 0.5 using the image for identifying a subject whose eye is in the image using iris identification techniques and if 1/w is less than or equal to 0.5 selecting a new image and repeating steps a through h.
8 Assignments
0 Petitions
Accused Products
Abstract
In a method of determining whether an image of an eye is in focus a set of pixels is selected along a line passing through the pupil/iris boundary such that the set contains at least 5 iris portion pixels and at least 5 pupil portion pixels. Statistical values, preferably median values, are computed for all iris pixels in the selected set and for all pupil pixels in the selected set. The step size between the iris pixels and the pupil pixels is computed and absolute gradient values are computed for each pixel. The pixel having a largest absolute gradient value is excluded and an average of the absolute gradient values of the remaining pixels is found. If that average divided by the step size is greater than 0.5 the image is in focus and can be used for identifying a subject whose eye is in the image using iris identification techniques.
-
Citations
12 Claims
-
1. A method of determining whether an image of an eye is in focus wherein the image contains an iris portion having a radius ri and a pupil portion having a radius rp and there is an pupil/iris boundary between the iris portion and the pupil portion, the image is formed of pixels and there are at least 5 pixels of the iris portion of the image and at least 5 pixels of the pupil portion of the image on a single line comprised of:
-
a. selecting a set of pixels along a line passing through the pupil/iris boundary the set containing at least 5 iris portion pixels and at least 5 pupil portion pixels; b. computing a statistical value Mi of all iris pixels in the selected set; c. computing a statistical value Mp of all pupil pixels in the selected set; d. computing a step size H such that H=Mi -Mp ; e. determining a gradient of pixel values along the line for the selected set of pixels; f. forming a second set of pixels by excluding from the selected set of pixels that pixel having a largest absolute gradient value; g. determining an average S of the absolute gradient values of the pixels in the second set of pixels; h. computing 1/w=S/H; and i. if 1/w is greater than 0.5 using the image for identifying a subject whose eye is in the image using iris identification techniques and if 1/w is less than or equal to 0.5 selecting a new image and repeating steps a through h. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of determining whether an image of an eye is in focus wherein the image contains an iris portion having a radius ri and a pupil portion having a radius rp and there is an pupil/iris boundary between the iris portion and the pupil portion, the image is formed of pixels and there are at least 5 pixels of the iris portion of the image and at least 5 pixels of the pupil portion of the image on a single line comprised of:
-
a. selecting a set of pixels along a line passing through the pupil/iris boundary the set containing at least 5 iris portion pixels and at least 5 pupil portion pixels; b. computing a statistical value Mi of all iris pixels in the selected set; c. computing a statistical value Mp of all pupil pixels in the selected set; d. computing a step size H such that H=Mi -Mp ; e. determining a gradient of pixel values along the line for the selected set of pixels; f. determining an average S of the absolute gradient values of the pixels in the set of pixels; g. computing 1/w=S/H; and h. if 1/w is greater than 0.5 using the image for identifying a subject whose eye is in the image using iris identification techniques and if 1/w is less than or equal to 0.5 selecting a new image and repeating steps a through g. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification