Three-dimensional eye movement detection method and analysis system
Through the three-dimensional eye movement detection and analysis system, iris feature matching and quaternion calculation are used to solve the problem that two-dimensional eye movement detection cannot detect eye rotation movement, and achieve accurate analysis and diagnosis of three-dimensional eye movement.
Patent Information
- Application Number
- PCT/CN2024/076535
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-25
- Filing Date
- 2024-02-07
- Publication Date
- 2024-10-31
AI Technical Summary
Existing two-dimensional eye movement detection technology cannot detect the rotational movement of the eyeball around the optical axis, is difficult to accurately reflect the movement information of the human eye in three-dimensional space, and cannot be applied to nystagmus induced by the vestibulo-ocular reflex.
A three-dimensional eye movement detection and analysis system is adopted, including a data capture device, an eye movement analysis module and an eye movement three-dimensional building module. Through iris feature matching and quaternion calculation, a three-dimensional eye movement trajectory is generated, which can accurately identify the movement of the eyeball in the three-dimensional space. information.
It achieves accurate detection and analysis of eyeball rotation movement, improves the accuracy of eye movement data, can describe the three-dimensional movement trajectory and rotation characteristics of the eyeball, and is suitable for vestibular function assessment and disease diagnosis.
Smart Images

Figure CN2024076535_31102024_PF_FP_ABST
Abstract
Description
A three-dimensional eye movement detection method and analysis system Technical Field
[0001] The present invention relates to the technical field of eye movement detection, and more particularly to a three-dimensional eye movement detection method and analysis system based on iris feature matching. Background Art
[0002] Nystagmus is an involuntary, rhythmic, back-and-forth oscillatory eye movement. It can be categorized into horizontal, vertical, and rotational types, with horizontal types being the most common. The direction of the nystagmus is typically indicated by the fast phase, which is the compensatory movement to restore gaze. It is often caused by disorders of the visual system, extraocular muscles, inner ear labyrinth, and central nervous system. Nystagmus is not a distinct condition, but rather a clinical manifestation of certain medical conditions, and therefore treatment should be tailored to the underlying cause.
[0003] Currently, eye trackers can provide information about the pupil center, corneal curvature center, and optical axis. Gaze assessment, or the calculation of the visual axis, is based on the assumption that the angle between the optical and visual axes remains constant. This calculation is performed using a conversion function established during the calibration process and is applicable to gaze, tracking, and saccades.
[0004] However, these devices mainly use two-dimensional eye movement detection technologies, such as pupil tracking and pupil-corneal reflection tracking. These methods have the following disadvantages:
[0005] 1. Because it cannot detect the rotational movement of the eyeball around the optical axis, it is not suitable for nystagmus induced by the vestibulo-ocular reflex.
[0006] 2. This two-dimensional eye movement detection method is difficult to accurately reflect the three-dimensional spatial movement information of the human eye in a real environment.
[0007] Summary of the Invention
[0008] In view of the shortcomings of the existing technology, the purpose of the present invention is to provide a three-dimensional eye movement detection method and analysis system, which can accurately identify the movement information of the eyeball in three-dimensional space, thereby obtaining three-dimensional nystagmus data.
[0009] To achieve the above-mentioned object, the present invention provides the following technical solutions: a three-dimensional eye movement detection and analysis system, comprising a data capture device, an eye movement analysis module, an eye movement three-dimensional construction module, and a data transmission module;
[0010] The data transmission module is connected to the data capture device, the eye movement analysis module, and the eye movement three-dimensional construction module respectively for transmitting data information;
[0011] The data capture device is used to capture the user's eye movement video;
[0012] The eye movement analysis module is used to identify the pupil, iris, corneal curvature center, three-dimensional Kapp angle, and macula center based on the eye movement video, and to construct a three-dimensional eyeball model;
[0013] The eye movement three-dimensional construction module is used to obtain the pupil center, the optical axis, and the rotation angle of the eyeball around the optical axis to generate a three-dimensional eye movement trajectory. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a logic block diagram of a 3D eye movement detection and analysis system;
[0015] Figure 2 is a schematic diagram of the eyeball located in the Listing plane;
[0016] FIG3 is a schematic diagram of the optical axis and visual axis of the eyeball;
[0017] FIG4 is a schematic diagram of optical axis calculation.
[0018] Figure numerals: 1. Data capture device; 2. Eye movement analysis module; 3. Eye movement three-dimensional construction module; 4. Data transmission module. DETAILED DESCRIPTION
[0019] The present invention will be described in further detail below with reference to the accompanying drawings and embodiments. Identical components are denoted by the same reference numerals. It should be noted that the terms "front," "rear," "left," "right," "upper," and "lower" used in the following description refer to directions in the accompanying drawings, and the terms "bottom," "top," "inner," and "outer" refer to directions toward or away from the geometric center of a particular component, respectively.
[0020] 1 to 4 , to achieve the above objectives, the present invention provides the following technical solution: a three-dimensional eye movement detection and analysis system, characterized in that it includes a data capture device 1 , an eye movement analysis module 2 , an eye movement three-dimensional construction module 3 and a data transmission module 4 .
[0021] The data transmission module 4 is respectively connected to the data capture device 1, the eye movement analysis module 2, and the eye movement three-dimensional construction module 3 for transmitting data information.
[0022] The data capture device 1 is used to capture user eye movement videos. The data capture device 1 includes a wearable device and an infrared camera. Multiple cameras can be set up to capture user eye movement videos from different angles, thereby improving the accuracy of three-dimensional eye movement detection.
[0023] The eye movement three-dimensional construction module 3 is used to obtain the pupil center, eyeball rotation angle, and eyeball model to generate a three-dimensional eye movement trajectory.
[0024] The eye movement analysis module 2 is used to identify the pupil position, corneal curvature center, eyeball center and macula according to the eye movement video. The eye movement analysis module 2 includes an eyeball model unit, a calculation unit and an output unit.
[0025] The output unit is used to transmit the calculated data to the data transmission module 4 .
[0026] The eyeball model unit is used to construct the initial eyeball model. The initial eyeball position p0 is the horizontal position, which determines the pupil axis of the eye, which is composed of an imaginary line perpendicular to the cornea and intersecting the center of the entrance pupil.
[0027] The calculation unit is used to calculate the eye posture description quaternion q according to the initial eye position p0 and the eye position p1;
[0028] The calculation unit includes the following steps:
[0029] S1, establish the initial eye position p0, obtain the first iris, the first eye, the first corneal curvature center, the first pupil center and the first optical axis, and set the first optical axis as V1;
[0030] S2, taking the eyeball position p1, obtaining the second iris, the second eyeball, the second corneal curvature center, the second pupil center and the second optical axis, and setting the second optical axis as V2;
[0031] S3, rotate the optical axis V2 to V1, the iris rotates accordingly, and the motion is expressed as quaternion q1;
[0032] S4, rotate around the first optical axis V1, match the iris features, obtain the optimal solution, and the motion expression is calculated as quaternion q2;
[0033] S5, eye movement expression is calculated as q = q2*q1;
[0034] S6, the eye movement from the eye position p1 to the initial eye position p0 is expressed as the inverse of the quaternion q;
[0035] The rotation axis is vector V = (vx, vy, vz) and the rotation angle is δ.
[0036] Thus, the rotational movement can be represented as the pupil axis v1 at position 1 to the pupil axis v2 at position 2, as well as the rotation around the pupil axis.
[0037] The calculation method of the quaternion q1 expressing the motion from v2 to v1 is as follows: nv1=v1 / norm(v1) nv2=v2 / norm(v2) half=(nv1+nv2) / norm(nv2+nv2) q1=nv1*half+cross(nv1,half)
[0038] A specific implementation method is as follows:
[0039] 1. For the first pupil, fit an ellipse and obtain the coordinates of the minor and major axes.
[0040] 2. For the second pupil, fit an ellipse and obtain the coordinates of the minor and major axes.
[0041] The perspective transformation matrix from the original image to the target avatar is calculated based on the coordinates of four pairs of points on the source image and the target image.
[0042] M=cv2.getPerspectiveTransform(pts2,pts1)
[0043] q1=scipy.spatial.transform.Rotation.from_matrix(M).as_quat()
[0044] For iris feature matching, the calculation method of the quaternion q2 expressing the rotational motion around the optical axis is as follows:
[0045] 1. Image import;
[0046] 2. Image processing to eliminate light spots;
[0047] Extract the repair template mask according to the threshold, and use the inpaint function to perform image repair;
[0048] 3. Segment the pupil and fit the ellipse;
[0049] 4. Extract the iris around the pupil;
[0050] 5. Iris feature matching;
[0051] Extract iris features, perform feature matching, and calculate the rotation matrix;
[0052] Finally, the quaternion expression Q of eye movement can be calculated: Q=q2*q1=cos(1 / 2*δ)+(vx*i+vy*j+vz*k)sin(1 / 2*δ)
[0053] In this way, it is possible to infer whether the eye movement conforms to Listing's law.
[0054] Knowing Q, we can deduce v2, then calculate q1, and further deduce q2.
[0055] Unlike traditional eye movement / nystagmus analysis, which cannot detect eye rotation, specific descriptive metrics include amplitude, frequency, and intensity. Amplitude and intensity are often inaccurate descriptions of eye rotation. This application can detect and simulate the eye's rotation process and angle, greatly improving the accuracy of eye movement analysis. This eliminates the need to save large amounts of eye movement videos, facilitating eye movement and nystagmus research and data dissemination.
[0056] As shown in Figure 2, the eye's movement from one position to another has an axis of rotation located in the Listing plane. Since the axis of rotation is confined to the Listing plane, there is only one variable; together with the rotation angle, there are two variables in total.
[0057] If the rotation is not confined to the Listing plane, that is, it violates Listing's law, there are a total of 3 variables.
[0058] As shown in FIG3 , the eye movement three-dimensional construction module 3 specifically includes obtaining the center of corneal curvature, which is recorded as N, the center of the macula, which is recorded as F, and the center of the pupil, which is recorded as P. The optical axis is NP, and the visual axis is FN.
[0059] First, the methods for segmenting pupil and iris include:
[0060] 1. Use the deep learning Inception v4 method to segment the pupil using open source data and pre-trained models. The list of eye movement databases is: ElSe+ExCuse, PupilNet, LPW, NVGaze, RITEyes and OpenEDS.
[0061] 2. Using the traditional algorithm, the threshold and boundary are used to find the pupil area, and the pupil center is obtained by ellipse fitting.
[0062] 3. Obtain the iris area by enlarging the pupil ellipse.
[0063] Second, as shown in Figure 4, through multi-position eye movement images, the optical axis, Listing plane, and midpoint of the eyeball at the horizontal position are analyzed and calculated.
[0064] Third, rotation measurement: Iris features are collected at the initial position and the rotation is determined by matching. This is the core technical problem that needs to be solved.
[0065] Fourth, mathematical expression and storage of eye movements: To facilitate the reconstruction of eye movement data, the initial position eye parameters including pupil position, corneal curvature center, eye center and macula position need to be provided.
[0066] The macula position is used for eye tracking. The more comprehensive the eye information is, the easier it is to build a complex eye model.
[0067] With the initial position information, quaternions and optical axis and visual axis vectors can be converted to each other.
[0068] Eye tracking also needs to be combined with head position information.
[0069] Fifth, nystagmus feature collection and description: Based on quaternions, eye movements can be reconstructed based on the eye model; the eye movement trajectory can be described in 3D form based on the time axis. Since it contains more information, it is more conducive to the assessment of vestibular function and the diagnosis of diseases.
[0070] Sixth point, eye movement + head movement + human body posture: Eye movement data uses the head as the reference coordinate system. When analyzing eye movements, it is necessary to use the semicircular canals as the spatial coordinate system to analyze nystagmus, which is conducive to the analysis of semicircular canal function.
[0071] The spatial position of the head also has a significant impact on the occurrence of eye movements. It is necessary to analyze the influence of gravity and the spatial position of the semicircular canals and ampullar crests on eye movements and nystagmus based on the world coordinate system and combined with head information.
[0072] The movement of an object from one position to another around a fixed point is called rotation, and the fixed point is called the center of rotation.
[0073] Eye movements or rotations also occur around a relatively fixed point, called the ocular center of rotation. This center is only approximate, located 13.5 mm posterior to the cornea and 1.6 mm nasally from the cornea's geometric center. The eye and its center of rotation can move very slightly, i.e., inward and outward, up and down, and back to front.
[0074] The center of eye rotation is not an absolutely fixed point. It is related to the position of the eye in the eye socket. It makes a slight semicircular movement along the plane of eye rotation, which is called displacement movement of the eye.
[0075] The eyeball is an approximate sphere, and its movements are carried out around the three axes of the eye socket: vertical movement around the horizontal axis (x-axis), rotation around the anterior-posterior axis (AP axis or y-axis), and horizontal movement around the vertical axis (z-axis). This coordinate system is called the Fick coordinate axis.
[0076] The plane perpendicular to the sagittal plane of the head and passing through the centers of rotation of the eyes is called the Listing plane, also known as the frontal plane. When the eyes are in their original position, the Listing plane passes through the equator of the eyes.
[0077] The steps for obtaining the eye's spatial position with a single camera include:
[0078] B1, build an eyeball model and obtain information through sequential videos;
[0079] B2, locate the pupil center by pupil segmentation;
[0080] B3, find the closest solution for iris feature registration by rotating around the optical axis.
[0081] Eye movement analysis module 2 is used to perform iris feature matching. The main steps of iris feature matching using the rotation-invariant feature detection algorithm are as follows:
[0082] C1, segment the iris image, extract the iris area, and remove noise such as light spots, eyelids, and eyelashes;
[0083] C2, normalize the iris area;
[0084] C3, enhances the normalized iris image using contrast-limited adaptive histogram equalization to improve image quality and feature visibility;
[0085] C4, uses the rotation-invariant feature detection algorithm to detect and describe the key points in the normalized iris image and generates a multidimensional vector as a feature descriptor;
[0086] C5 uses a matching algorithm based on fusion rules at different levels to compare the feature descriptors of two iris images and calculate the matching score.
[0087] The rotation-invariant feature detection algorithm can propose a novel matching algorithm by applying different levels of fusion rules, which can enhance image quality and improve the segmentation and matching effects through contrast limited adaptive histogram equalization.
[0088] There are a variety of rotation-invariant feature detection algorithms. These algorithms are all image registration methods based on feature point detection and description, and they have different performance characteristics. Generally speaking, SIFT and BRISK algorithms have the highest matching accuracy, ORB and BRISK algorithms have the fastest computation speed, and SURF and KAZE algorithms are the most robust to rotation, scale, and viewpoint changes.
[0089] This patent adopts the AKAZE algorithm, which has the advantage of optimizing and accelerating KAZE. It is much faster than KAZE in computing speed and also performs well in rotation, scale and perspective changes.
[0090] The feature matching algorithm is one of the innovative points of this patent in achieving iris feature matching.
[0091] Both the Brute Force and FLANN algorithms are classic feature matching algorithms, differing in terms of matching speed, accuracy, robustness, and storage requirements. Generally speaking, the Brute Force algorithm is suitable for small datasets or scenarios requiring precise matching, while the FLANN algorithm is suitable for large datasets or scenarios requiring fast matching. In practical applications, the appropriate algorithm can be selected based on actual needs and dataset size. This patent adopts a hybrid matching strategy of the Brute Force and FLANN methods based on distance and direction thresholds to leverage the strengths of each.
[0092] Brute Force Algorithm:
[0093] Advantages: The Brute Force algorithm is simple and intuitive, making it easy to implement feature matching. It can find the best match because it evaluates all possible matches. Disadvantages: The Brute Force algorithm has high computational complexity, especially when working with large datasets. It requires a large amount of memory to store the feature vectors and is sensitive to noise and redundant data.
[0094] FLANN algorithm:
[0095] Advantages: The FLANN algorithm can quickly search for nearest neighbors because it uses efficient data structures and algorithms, such as KD-Tree and K-Means. It can handle large datasets and is robust to noise and redundant data. Disadvantages: The FLANN algorithm requires some preprocessing, such as building KD-Tree and K-Means models, and therefore may be slower than Brute Force algorithms for small datasets. Additionally, the FLANN algorithm may produce some false matches because it only searches for local nearest neighbors.
[0096] The following is the iris feature matching process using Brute Force and FLANN hybrid matching strategies based on distance threshold and direction dual constraints:
[0097] D1, uses the Brute Force algorithm to perform rough matching and filters out matches that do not meet the distance ratio threshold or direction threshold;
[0098] D2, uses the FLANN algorithm to perform fine matching and filters out matches that do not meet the distance ratio threshold or direction threshold.
[0099] In summary, the advantages of 3D eye movement analysis include:
[0100] 1. Able to depict the three-dimensional movement trajectory of the eyeball
[0101] 2. It can quantitatively analyze eye rotation, while traditional video nystagmus recorders can only detect horizontal and vertical nystagmus or qualitatively analyze eye rotation.
[0102] 3. With time as the X-axis and the sinusoidal function of the quaternion rotation angle as the Y-axis, an eye movement analysis graph can be plotted to obtain frequency, angular velocity, and intensity information. Another parameter is the rotation axis. The sinusoidal function of its angle with the X-axis is used to create the Z-axis, which reflects rotation and direction of movement. On the XZ plane, Z = 0 represents vertical nystagmus, and Z = 1 represents horizontal nystagmus. Changes in the Z-axis can reflect eye movements and analyze the direction of twisting, whether fast or slow. This creates a 3D information graph of nystagmus. The intensity description is more accurate, including rotational motion. The angular velocity, rotation axis, and Z-axis are new motion parameters. If the rotation axis is not in the Listing plane, a 4D information graph can be created, adding the angle between the rotation axis and the Y-axis.
[0103] 4. The ability to analyze the relationship between the rotation axis and the semicircular canal plane is an advantage of 3D eye movement analysis. The ability to analyze the relationship between the rotation axis and the Listing plane and identify abnormal eye movements is also an advantage of 3D eye movement analysis.
[0104] The above are merely preferred embodiments of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions based on the principles of the present invention are within the scope of protection of the present invention. It should be noted that improvements and modifications that do not depart from the principles of the present invention are within the scope of protection of the present invention.
Claims
1. A three-dimensional eye movement detection and analysis system, Its characteristics are: It comprises a data capture device (1), an eye movement analysis module (2), an eye movement three-dimensional construction module (3) and a data transmission module (4); The data transmission module (4) is respectively connected to the data capture device (1), the eye movement analysis module (2), and the eye movement three-dimensional construction module (3) for transmitting data information; The data capture device (1) is used to capture user eye movement videos; The eye movement analysis module (2) is used to identify the pupil, iris, corneal curvature center, three-dimensional Kapp angle, and macula center according to the eye movement video, and to construct a three-dimensional eyeball model; The eye movement three-dimensional construction module (3) is used to obtain the pupil center, the optical axis, and the rotation angle of the eyeball around the optical axis to generate a three-dimensional eye movement trajectory.
2. A three-dimensional eye movement detection and analysis system according to claim 1, Its characteristics are: The data capture device (1) comprises a single camera and a wearable component.
3. A three-dimensional eye movement detection and analysis system according to claim 1, Its characteristics are: The eye movement analysis module (2) comprises an eyeball model unit, a calculation unit and an output unit; The eyeball model unit is used to construct an initial eyeball model; The calculation unit is used to calculate the eyeball posture description quaternion q according to the eyeball initial position p0 and the eyeball position p1; The output unit is used to transmit the calculated data to the data transmission module (4).
4. A three-dimensional eye movement detection and analysis system according to claim 3, Its characteristics are: The calculation unit comprises the following steps: S1, establish the initial position p0 of the eyeball, obtain the first iris, the first eyeball, the first corneal curvature center, the first pupil center and the first optical axis, and set the first optical axis to be V1; S2, taking the eyeball position p1, obtaining the second iris, the second eyeball, the second corneal curvature center, the second pupil center and the second optical axis, and setting the second optical axis as V2; S3, rotate the optical axis V2 to V1, the iris rotates accordingly, and the motion is expressed as quaternion q1; S4, rotate around the first optical axis V1, match the iris features, obtain the optimal solution, and the motion expression is calculated as quaternion q2; S5, eye movement expression is calculated as q = q2*q1; S6, the eye movement from the eye position p1 to the initial eye position p0 is expressed as the inverse of the quaternion q.
5. The three-dimensional eye movement detection and analysis system according to claim 1, Its characteristics are: The eye movement three-dimensional construction module (3) specifically includes obtaining the corneal curvature center as N, the macula center as F, the pupil center as P, the optical axis as NP, and the visual axis as FN.
6. A three-dimensional eye movement detection and analysis system according to claim 1, Its characteristics are: The method for obtaining the position of the pupil center includes: adopting the deep learning Inception v4 method, using open source data and a pre-trained model to segment the pupil.
7. A three-dimensional eye movement detection and analysis system according to claim 2, Its characteristics are: The step of obtaining the eyeball spatial position by the camera includes: B1, construct an eyeball model and obtain information through sequential videos; B2, locate the pupil center by pupil segmentation; B3, find the closest solution for iris feature registration by rotating around the optical axis.
8. A three-dimensional eye movement detection and analysis system according to claim 3, Its characteristics are: The eye movement analysis module (2) is used to perform iris feature matching. The main steps of performing iris feature matching using a rotation invariant feature detection algorithm are as follows: C1, segment the iris image, extract the iris area, and remove noise such as light spots, eyelids, and eyelashes; C2, normalize the iris area; C3, enhances the normalized iris image using contrast-limited adaptive histogram equalization ization to improve image quality and feature visibility; C4, uses a rotation-invariant feature detection algorithm to detect and describe key points in the normalized iris image and generates a multidimensional vector as a feature descriptor; C5, uses a matching algorithm based on fusion rules at different levels to compare the feature descriptors of two iris images and calculate the matching score.
9. A three-dimensional eye movement detection and analysis system according to claim 8, Its characteristics are: Iris feature matching also includes: D1, use the Brute Force algorithm for rough matching and filter out matches that do not meet the distance ratio threshold or direction threshold; D2, use the FLANN algorithm to perform fine matching and filter out matches that do not meet the distance ratio threshold or direction threshold.
Citation Information
Patent Citations
Infant growth obstacle intelligent evaluation method based on three-dimensional eye movement characteristic
CN109712710A
Eye movement tracking video shooting system based on one-way perspective mirror
CN110801202A
A wearable eye tracking system with slippage detection and correction
CN110913751A
Eyeball movement measuring equipment
CN112315423A
Three-dimensional eye movement tracking system and tracking method thereof
CN113040701A
