Three-dimensional eyeball model parameter restricted iris segmentation method
Through the method of parameter control of the three-dimensional eyeball model, the iris elliptical function is derived and combined with the coarse positioning and fine positioning methods, which solves the problem of large calculation amount of the iris recognition algorithm in the existing technology, and achieves a more accurate, faster and more robust iris Segmentation, suitable for portable devices and real-time applications.
Patent Information
- Application Number
- CN202410794078.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
Smart Images

Figure CN118629083A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of image detection, and more specifically to an iris segmentation method constrained by three-dimensional eyeball model parameters. Background Art
[0002] Iris recognition is a biometric identification technology that uses the structural characteristics of the human iris to identify people. Iris recognition has the advantages of high accuracy, high stability, and high security, and is considered to be one of the most reliable biometric identification technologies currently.
[0003] One of the key steps in iris recognition is iris segmentation, which is to extract the iris area from the eye image for feature extraction and matching. The accuracy of iris segmentation directly affects the performance of iris recognition.
[0004] Currently, many iris recognition products in the world use the iris recognition algorithm proposed by Dr. Daugman of the University of Cambridge in the UK.
[0005] The algorithm uses the Integro-differential operator to detect the inner and outer circle boundaries of the iris, namely:
[0006]
[0007] Among them, G σ is a Gaussian smoothing function, I(x,y) is the eye image, r,x0,y0 are the radius and center coordinates of the circle, and ds is the infinitesimal element on the circumference.
[0008] The Daugman algorithm is very successful, but it has limitations, mainly in the following aspects:
[0009] The algorithm assumes that the iris is a perfectly circular structure, but in fact, due to factors such as the three-dimensional shape of the eyeball and the rotation of the eye, the iris appears as an elliptical shape in the image.
[0010] This algorithm needs to search and calculate every possible center and radius, which has a large amount of calculation and poor real-time performance, and is not suitable for use in portable devices or real-time applications. Summary of the invention
[0011] In view of the shortcomings of the prior art, the present invention proposes an iris segmentation method constrained by three-dimensional eyeball model parameters, which can segment the iris more accurately, faster and more robustly and has lower computational complexity. Summary of the invention
[0012] In view of the shortcomings of the existing technology, a clear and concise three-dimensional eye detection technical solution is proposed, including how to calculate the optical axis and the rotation matrix, how to unfold the ellipse into a rectangle, how to match the iris texture features, and finally obtain the eye movement rotation matrix.
[0013] The technical solution of the present invention is as follows:
[0014] A method for iris segmentation constrained by parameters of a three-dimensional eyeball model includes the following steps:
[0015] St10, obtain the eye image, establish a three-dimensional space coordinate system based on the eyeball, with the X-axis to the right as the positive direction, the Y-axis upward as the positive direction, and the Z-axis outward as the positive direction, and obtain the eyeball center and iris radius parameters;
[0016] St20, establish the parametric equation of a circle in three-dimensional space;
[0017] St30. Based on the iris three-dimensional space circle vector equation, derive the iris ellipse function;
[0018] St40, iris segmentation based on iris ellipse function.
[0019] In summary, the above technical solution has the following beneficial effects: 1. The present invention constrains the position and shape of the iris according to the three-dimensional model parameters of the eyeball, thereby improving the accuracy and robustness of iris segmentation;
[0020] 2. The present invention adopts an ellipse parameter equation instead of a circle parameter equation, which is more in line with the actual iris shape;
[0021] 3. The present invention uses the absolute value of the cross-border difference of corresponding points instead of the circumference mean, which can better reflect the changes in the iris boundary;
[0022] 4. The present invention adopts a two-step method of coarse positioning and fine positioning, which reduces the search space and calculation amount, and improves the segmentation efficiency and real-time performance;
[0023] 5. The present invention adopts two methods: iris center perturbation method and eyeball center, iris radius and iris center perturbation method, which adapts to different eye image acquisition conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flowchart diagram of an iris segmentation method constrained by parameters of a three-dimensional eyeball model;
[0025] Figure 2 This is a schematic diagram of the original image of the eyeball;
[0026] Figure 3 The first schematic diagram is a diagram of scaling the iris image to 80*60 and preliminarily segmenting the inner and outer boundaries of the iris;
[0027] Figure 4 The first schematic diagram is to gradually enlarge the image, accurately find the center of the iris and ellipse fit the inner and outer boundaries of the iris.
[0028] Figure 5 The second schematic diagram shows the iris image being captured and scaled to 80*60 and the initial segmentation of the inner and outer boundaries of the iris.
[0029] Figure 6 The second schematic diagram is to gradually enlarge the image, accurately find the center of the iris and fit the inner and outer boundaries of the iris by ellipse.
[0030] Figure 7 Schematic diagram of the output iris area in the original image;
[0031] Figure 8 Schematic diagram of the iris inner boundary segmentation result without the constraints of eyeball parameters. DETAILED DESCRIPTION
[0032] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The same parts are represented by the same reference numerals. It should be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to directions in the accompanying drawings, and the words "bottom surface" and "top surface", "inner" and "outer" refer to directions toward or away from the geometric center of a specific component, respectively.
[0033] like Figure 1 As shown, a 3D eyeball model parameter-constrained iris segmentation method includes the following steps:
[0034] St10. Obtain an eye image and establish a three-dimensional space coordinate system based on the eyeball, with the X-axis pointing rightward as the positive direction, the Y-axis pointing upward as the positive direction, and the Z-axis pointing outward as the positive direction, and obtain the eyeball center and iris radius parameters.
[0035] If the eyeball center and iris radius are known, the subsequent process can be carried out by inputting the eyeball center and iris radius parameters. If the eyeball center and iris radius are unknown, firstly, based on the iris segmentation algorithm, including the threshold method, the edge detection algorithm and the deep learning method, the iris area in the eye image is detected to obtain the iris center and iris area. The eyeball center and iris radius data can be obtained according to the following three methods.
[0036] St11. Method 1: Based on the iris segmentation algorithm, the iris area in the eye image is detected, the iris center and the iris area are obtained, and the iris center coordinates at the position where the difference between the short axis and the long axis of the iris ellipse in the eye movement video is the smallest or smaller are calculated as the eyeball center coordinates, and the long axis of the ellipse is taken as the iris radius.
[0037] St12, Method 2: Based on the iris segmentation algorithm, the iris area in the eye image is detected, the iris center and iris area are obtained, the optical axis is calculated according to the iris ellipse parameters, and the point with the smallest distance from each optical axis is taken as the center of the eyeball, and then the iris radius is calculated.
[0038] St13, Method 3: Establish a function with independent variables as the center of the eyeball, the radius of the iris, and the distance from the center of the iris to the center of the eyeball. Search for the center point of the iris through the three-dimensional iris circle formula. The return value is the maximum iris ellipse boundary gradient value. Solve the center of the eyeball, the radius of the iris, and the distance from the center of the iris to the center of the eyeball by minimizing the objective function.
[0039] St20. Establish the parametric equation of a circle in three-dimensional space.
[0040] St21. The method for establishing the parametric equation of a three-dimensional circle includes the following steps:
[0041] Suppose the diameter of the three-dimensional circle is r, let r = a, the initial unit normal vector of the circular plane V0 = [0,0,1], the three-dimensional circle rotates around the X axis for the first time θ, and the projection on the XY plane is an ellipse, let its major axis be a, and the minor axis be b, then The initial unit normal vector V1 of the circular plane in the three-dimensional space after rotation is [0, -sinθ, cosθ].
[0042] The three-dimensional circle rotates around the Z axis for the second time at an angle of δ, and is projected on the XY plane as an ellipse with a major axis of a and a minor axis of b. The rotation angle is δ, and the normal vector of the three-dimensional circle plane after rotation is o. Then
[0043] o=[sinθsinδ,-sinθcosδ,cosθ]
[0044] The rotated three-dimensional circle is expressed as:
[0045] circle=(vcosβ+usinβ)r
[0046] Where v=[cosδ,sinδ,0], u=o*v=[-cosθsinδ,cosθcosδ,sinθ];
[0047] Therefore, the three-dimensional circle can be expressed as follows:
[0048] Circles=((cosδcosβ-cosθsinδsinβ)i+(sinδcosβ+cosθcosδsinβ)j+(sinθsinβ)k)r
[0049] The parametric equation of a three-dimensional circle with the center at the origin is expressed as:
[0050] X=(cosδcosβ-cosθsinδsinβ)r
[0051] Y=(sinδcosβ+cosθcosδsinβ)r
[0052] Z=(sinθsinβ)r
[0053] Among them, a is the major axis of the elliptical shape of the three-dimensional space circle projected on the XY plane, b is the minor axis of the elliptical shape of the three-dimensional space circle projected on the XY plane, θ is the angle of the three-dimensional space circle rotating around the X axis for the first time, and δ is the angle of the three-dimensional space circle rotating around the Z axis for the second time.
[0054] St30. Based on the iris three-dimensional space circular vector equation, the iris ellipse function is derived.
[0055] St31. Based on the iris three-dimensional space circle vector equation, derive the iris ellipse function; including the following process:
[0056] Input one or more eye images I(x,y).
[0057] St32, set the eyeball center C e =(x0,y0,0), iris radius is r, iris center is C i =(x1,y1,z1), the distance from the center of the iris to the center of the eyeball is d.
[0058] The projection of the iris circle after the eyeball rotates is an ellipse, the major axis of the ellipse is a, the minor axis is b, the rotation angle is δ, the unit optical axis is o, and the angle between the optical axis and the Z axis is θ.
[0059]
[0060] Among them, θ is the angle of the three-dimensional space circle's first rotation around the X-axis, and δ is the angle of the three-dimensional space circle's second rotation around the Z-axis.
[0061] St33, set the three-dimensional eyeball model parameters C e ,r,D,C i The perturbation range, for each possible C e ,r,D,C i , calculate the iris three-dimensional space circle vector equation:
[0062] V iris =C i +(vcosβ+usinβ)r
[0063] Wherein v = [cosδ, sinδ, 0] is the unit vector of the iris plane, that is, the unit vector of the initial position X-axis rotated to the unit vector of the target position, u = o*v = [-cosθsinδ, cosθcosδ, sinθ] is the unit vector of the iris plane perpendicular to v, that is, the unit vector of the initial position Y-axis rotated to the unit vector of the target position.
[0064] St34, when V iris =[X,Y,Z], then
[0065] X=x1+(cosδcosβ-cosθsinδsinβ)r
[0066] Y=y1+(sinδcosβ+cosθcosδsinβ)r
[0067] Z=(sinδsinβ)r
[0068] St35. According to the iris three-dimensional space circular vector equation, the iris ellipse function G9r,β) is derived as:
[0069] G(r,β)=I9x1+9cos(δ)cos(β)-cos(θ)sin(δ)sin(β))r,y1+(sinδcosβ+cosθcosδsinβ)r)
[0070] For each ellipse equation, calculate the integral of the corresponding cross-boundary point, select the ellipse equation with the largest integral value as the inner and outer boundaries of the iris, and output the corresponding eyeball center, iris center, iris radius, and distance from iris center to eyeball center.
[0071]
[0072] Among them, Δβ=2π / n, Δr=1, t value is the cross-border point threshold, and the cross-border point is the point where the attribute value of the corresponding point differs by more than the specified threshold t. The attribute value of the image point includes but is not limited to the gray value, gradient value and color value. The t value is set according to the attribute value and the specific situation, and the default setting is 4% of the average density of image I. Using the gradient value as the attribute value can better obtain the boundary.
[0073] The value range of 0 value n can be set to limit the value range of iris boundary to reduce the influence of eyelid covering.
[0074] Furthermore, the eye image I(x, y) is preprocessed by grayscale conversion, histogram equalization and filtering.
[0075] The distance from the center of the iris to the center of the eyeball is set by default to The reason is that if d is unknown, the radius of the eyeball R is twice the radius of the iris r, and r 2+d 2 =R 2 , it can be deduced that Alternatively, the value of d can be set according to the input eye model parameters.
[0076] St40, iris segmentation based on iris ellipse function.
[0077] Iris segmentation based on the iris ellipse function includes the following processes:
[0078] St41. For each elliptic equation, calculate the integral differential value of the absolute value of the cross-boundary difference of its corresponding points:
[0079]
[0080] Among them, G σ is a Gaussian smoothing function, I(x,y) is the eye image, r,d are the radius of the iris circle and the distance from the iris center to the eyeball center, x0,y0 are the coordinates of the iris center, and ds is the microelement on the circumference;
[0081] St42, select the ellipse equation with the largest integral differential value as the inner and outer boundaries of the iris, and output the corresponding iris center coordinates and iris area.
[0082] St42, the iris image is intercepted and scaled to 80*60, and the inner and outer boundaries of the iris are preliminarily segmented.
[0083] St44, gradually enlarge the image, accurately find the iris center and ellipse fit the inner and outer boundaries of the iris.
[0084] St45, output the iris area in the original image, so as to obtain the iris inner boundary segmentation result which is not constrained by the eyeball parameters.
[0085] The beneficial effects of the present invention are as follows:
[0086] The present invention constrains the position and shape of the iris according to the three-dimensional model parameters of the eyeball, thereby improving the accuracy and robustness of iris segmentation;
[0087] The present invention adopts an ellipse parameter equation to replace a circle parameter equation, which is more in line with the actual iris shape;
[0088] The present invention adopts the absolute value of the cross-border difference of corresponding points instead of the circumference mean value, which can better reflect the change of the iris boundary;
[0089] The present invention adopts a two-step method of coarse positioning and fine positioning, which reduces the search space and calculation amount, and improves the segmentation efficiency and real-time performance;
[0090] The present invention adopts two methods, namely, the iris center perturbation method and the eyeball center, iris radius and iris center perturbation method, to adapt to different eye image acquisition conditions.
[0091] Example 1
[0092] This embodiment uses the situation where the eyeball center and iris radius are known to perform iris segmentation. The specific steps are as follows:
[0093] 1. Input an eye image I(x,y);
[0094] 2. If the distance from the iris center to the eyeball center is unknown, use the known eyeball center C e =(x0,y0,0) and iris radius r, calculate the distance from the iris center to the eyeball center The iris center disturbance range is set to [-Δx, Δx] and [-Δy, Δy], where Δx and Δy can be adjusted according to factors such as image resolution and acquisition angle, and for example, the central 50% area of the iris image.
[0095] 3. Within the iris center perturbation range, for each possible iris center C i =(x1,y1,z1), calculate the circle parameter equation in three-dimensional space, and derive the iris ellipse function.
[0096] 4. For each ellipse equation, calculate the integral of its corresponding cross-boundary point, select the ellipse equation with the largest integral value as the inner and outer boundaries of the iris, and output the corresponding iris center and iris area.
[0097] Example 2
[0098] This embodiment adopts an iris segmentation system based on the parameter constraints of a three-dimensional eyeball model, and the specific structure is as follows:
[0099] Image acquisition module: used to obtain eye images and pre-process them. In this embodiment, a high-definition camera is used as an image acquisition device and connected to a computer via a USB interface. The image acquisition module also includes some software components for graying, histogram equalization, filtering, and other operations on the collected eye images.
[0100] Eyeball center positioning module: Based on the rough positioning of iris segmentation, the eyeball center coordinates and iris radius are determined by iris morphology analysis. In this embodiment, a deep learning-based method is used to detect the iris area in the eye image, and the center coordinates of the position where the difference between the minor axis and the major axis of the ellipse is small are calculated as the eyeball center coordinates.
[0101] Iris center initialization module: used to initialize the iris center according to the eyeball center coordinates Center eye = [x0, y0, 0], initialize the iris center coordinates Center eye=[x0, y0, 0] In this embodiment, assuming that the iris radius r is 50 pixels, the eyeball radius R is 100 pixels, and the distance d from the iris center to the eyeball center is 86.6 pixels (i.e., square root 3 multiplied by r), the iris center coordinate Center is initialized. iris =[x1,y1,z1], where
[0102] Iris boundary detection module: used to detect the iris boundary according to the parameters of the 3D eyeball model eye , Center iris and d, r, derive the iris three-dimensional space circle parameter equation, and calculate the iris projection ellipse in the XY plane. In this embodiment, the method and formula described in the above embodiment 1 are used to calculate the parameters and point coordinates of the projection ellipse, and draw the ellipse on the eye image.
[0103] Evaluation function calculation module: used to define an evaluation function for measuring the matching degree between the projected ellipse and the iris region in the eye image. In this embodiment, the method and formula described in the above embodiment 1 are used to calculate the value of the evaluation function E.
[0104] Iris center optimization module: It is used to optimize the iris center coordinates using a two-step method of coarse positioning and fine positioning. iris =[x1, y1, z1] is optimized so that the evaluation function E reaches the maximum value, that is, the best projection ellipse is found. In this embodiment, the method and formula described in the above embodiment 1 are used to randomly perturb x1 and y1 within a certain range, and the iris center coordinates after perturbation with the largest E value are selected as the best iris center coordinates.
[0105] Iris region determination and post-processing module: used to determine the iris region according to the best projection ellipse and perform post-processing on it. In this embodiment, the method and formula described in the above embodiment 1 are used to remove the occlusion in the eye image and convert the iris region into polar coordinates.
[0106] Example 3
[0107] like Figure 2-Figure 4 As shown, in this embodiment, when the center of the eyeball and the radius of the iris are unknown, the pyramid algorithm is used to improve the speed of the algorithm. The specific steps are as follows:
[0108] 1. Input an eye image I(x,y), and then gradually downsample the image with the maximum resolution to obtain a series of images I p (x p ,y p), each layer of the image is the original image after Gaussian smoothing. For example, the minimum resolution is 30 pixels high and 40 pixels wide or 60 pixels high and 80 pixels wide, which requires less calculation.
[0109] 2. Start with the image with the smallest resolution and set the eye center C e =(x0,y0,0), iris radius r and iris center C i =(x1, y1, z1) perturbation range, adjusted according to image resolution; within the parameter perturbation range, for each possible eye center C e , iris radius r and iris center C i , calculate the circle parameter equation in three-dimensional space, and project it onto the two-dimensional image plane to obtain the ellipse equation; for each ellipse equation, calculate the integral differential value of the absolute value of the cross-boundary difference of its corresponding points, and select the ellipse equation with the largest integral differential value as the inner and outer boundaries of the iris;
[0110] 3. The acquired eyeball center, iris radius and iris center parameters are passed to the next image, and the process is repeated until the image with the maximum resolution is obtained and the iris area is output. This can reduce the disturbance range of the eyeball center, iris center and iris radius, and improve the estimation speed.
[0111] Example 4
[0112] like Figure 5-Figure 8 As shown, this embodiment adopts the situation where the eyeball center and the iris radius are known, and uses the pyramid algorithm to improve the speed of the algorithm. The specific steps are as follows:
[0113] 1. If the distance from the iris center to the eyeball center is unknown, use the known eyeball center C e =(x0,y0,0) and iris radius r, calculate the distance from the iris center to the eyeball center
[0114] 2. Input an eye image I(x,y), and gradually downsample the image with the maximum resolution to obtain a series of images I p (x p ,y p ), the image of each layer is the original image after Gaussian smoothing.
[0115] 3. Start with the image with the smallest resolution and set the iris center C i =(x1, y1, z1) perturbation range, adjusted according to image resolution; within the parameter perturbation range, for each possible iris center C i, calculate the circle parameter equation in three-dimensional space, and project it onto the two-dimensional image plane to obtain the ellipse equation; for each ellipse equation, calculate the integral of its corresponding cross-boundary point, and select the ellipse equation with the largest integral as the inner and outer boundaries of the iris;
[0116] 3. Pass the obtained iris center parameters to the next image and repeat the iris center C i The perturbation process is continued until the image has the maximum resolution, which can reduce the perturbation range of the iris center and improve the budget speed.
[0117] Embodiment 5:
[0118] This embodiment improves step 5 of the technical solution. Step 5 is changed to calculate the integral value of the absolute value of the cross-boundary difference of the corresponding points for each ellipse equation.
[0119] The so-called corresponding point is the point corresponding to the angle α specified by the iris ellipse equation and its radius r. The so-called corresponding point cross-border difference is the difference in pixel value between the point with the radius r-Δr and the point with the radius r+Δr specified by the iris ellipse equation.
[0120] This algorithm can be expressed as
[0121]
[0122] The above are only preferred embodiments of the present invention. The protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A method for iris segmentation constrained by parameters of a three-dimensional eyeball model, characterized in that: Obtain an eye image, establish a three-dimensional space coordinate system based on the eyeball, with the X-axis pointing rightward as the positive direction, the Y-axis pointing upward as the positive direction, and the Z-axis pointing outward as the positive direction, and obtain the eyeball center and iris radius parameters; Establish the parametric equation of a circle in three-dimensional space; According to the iris three-dimensional space circle vector equation, the iris ellipse function is derived; Iris segmentation based on iris ellipse function.
2. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 1, characterized in that: The eyeball center and iris radius data are obtained through the following process: Based on the iris segmentation algorithm, the iris area in the eye image is detected, the iris center and iris area are obtained, and the iris center coordinates at the position where the difference between the short axis and the long axis of the iris ellipse in the eye movement video is the smallest or smaller are calculated as the eyeball center coordinates, and the long axis of the ellipse is taken as the iris radius.
3. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 1, characterized in that: The eyeball center and iris radius data are obtained through the following process: Based on the iris segmentation algorithm, the iris area in the eye image is detected, the iris center and iris area are obtained, the optical axis is calculated according to the iris ellipse parameters, the point with the smallest distance from each optical axis is taken as the center of the eyeball, and then the iris radius is calculated.
4. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 1, characterized in that: The eyeball center and iris radius data are obtained through the following process: A function with independent variables as the eyeball center, iris radius, and the distance from the iris center to the eyeball center is established. The iris center point is searched through the three-dimensional iris circle formula. The return value is the maximum iris ellipse boundary gradient value. The eyeball center, iris radius, and the distance from the iris center to the eyeball center are solved by minimizing the objective function.
5. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 1, characterized in that: The method for establishing the three-dimensional circle parameter equation includes the following steps: Suppose the diameter of the three-dimensional circle is r, let r = a, the initial unit normal vector of the circular plane V0 = [0,0,1], the three-dimensional circle rotates around the X axis for the first time θ, and the projection on the XY plane is an ellipse, let its major axis be a, and the minor axis be b, then The initial unit normal vector V1 of the three-dimensional circular plane after rotation = [0, -sinθ, cosθ]; The three-dimensional circle rotates around the Z axis for the second time at an angle of δ, and is projected on the XY plane as an ellipse with a major axis of a and a minor axis of b. The rotation angle is δ, and the normal vector of the three-dimensional circle plane after rotation is o. Then o=[sinθsinδ,-sinθcosδ,cosθ] The rotated three-dimensional circle is expressed as: circle=(vcosβ+usinβ)r Where v=[cosδ,sinδ,0], u=o*v=[-cosθsinδ,cosθcosδ,sinθ]; Therefore, the three-dimensional circle can be expressed as follows: Circles=((cosδcosβ-cosθsinδsinβ)i+(sinδcosβ+cosθcosδsinβ)j+(sinθsinβ)k)r The parametric equation of a three-dimensional circle with the center at the origin is expressed as: X=(cosδcosβ-cosθsinδsinβ)r Y=(sinδcosβ+cosθcosδsinβ)r Z=(sinθsinβ)r Among them, a is the major axis of the elliptical shape of the three-dimensional space circle projected on the XY plane, b is the minor axis of the elliptical shape of the three-dimensional space circle projected on the XY plane, θ is the angle of the three-dimensional space circle rotating around the X axis for the first time, and δ is the angle of the three-dimensional space circle rotating around the Z axis for the second time.
6. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 5, characterized in that: According to the iris three-dimensional space circle vector equation, the derivation of the iris ellipse function includes the following process: Input one or more eye images I(x,y); Set the eyeball center C e =(x0,y0,0), iris radius is r, iris center is C i =(x1,y1,z1), the distance from the center of the iris to the center of the eyeball is d; The projection of the iris circle after the eyeball rotates is an ellipse, the major axis of the ellipse is a, the minor axis is b, the rotation angle is δ, the unit optical axis is o, and the angle between the optical axis and the Z axis is θ. Among them, θ is the angle of the first rotation of the three-dimensional space circle around the X axis, and δ is the angle of the second rotation of the three-dimensional space circle around the Z axis; Set the 3D eyeball model parameters C e ,r,d,C i The perturbation range, for each possible C e ,r,d,C i , calculate the iris three-dimensional space circle vector equation: V iris =C i +(vcosβ+usinβ)r Where v = [cosδ, sinδ, 0] is the unit vector of the iris plane, u = o*v = [-cosθsinδ, cosθcosδ, sinθ] is the unit vector of the iris plane perpendicular to v; When V iris =[X,Y,Z], then X=x1+(cosδcosβ-cosθsinδsinβ)r Y=y1+(sinδcosβ+cosθcosδsinβ)r Z=(sinδsinβ)r According to the iris three-dimensional space circular vector equation, the iris ellipse function G(r,β) is derived as: G(r,β)=I(x1+(cos(δ)cos(β)-cos(θ)sin(δ)sin(β))r,y1+(sinδcosβ+cosθcosδsinβ)r) For each ellipse equation, calculate the integral of the corresponding cross-boundary point, select the ellipse equation with the largest integral value as the inner and outer boundaries of the iris, and output the corresponding eyeball center, iris center, iris radius, and distance from iris center to eyeball center. Among them, Δβ=2π / n, Δr=1, and the t value is the cross-border point threshold.
7. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 6, characterized in that: The eye image I(x,y) is preprocessed by grayscale conversion, histogram equalization and filtering.
8. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 6, characterized in that: The distance from the center of the iris to the center of the eyeball is set by default to 9. The iris segmentation method constrained by three-dimensional eyeball model parameters according to claim 6, characterized in that: Iris segmentation based on the iris ellipse function includes the following processes: For each elliptic equation, calculate the integral differential value of the absolute value of the cross-boundary difference of its corresponding points: Among them, G σ is a Gaussian smoothing function, I(x,y) is the eye image, r,d are the radius of the iris circle and the distance from the iris center to the eyeball center, x0,y0 are the coordinates of the iris center, and ds is the microelement on the circumference; Select the ellipse equation with the largest integral differential value as the inner and outer boundaries of the iris, and output the corresponding iris center coordinates and iris area; The iris image is intercepted and scaled to 80*60, and the inner and outer boundaries of the iris are preliminarily segmented; Gradually zoom in on the image, accurately find the iris center, and fit the inner and outer boundaries of the iris with an ellipse; The iris region is output from the original image, thereby obtaining the iris inner boundary segmentation result that is not constrained by eyeball parameters.
Citation Information
Cited By
Rapid and accurate iris segmentation method based on target detection
CN120163839A
Three-dimensional iris reconstruction and expansion method
CN120163931A
Iris segmentation method using Purkinje reflection and dynamic three-dimensional model
CN120563846A
