Eye movement evaluation method and device based on three-dimensional space
Video information is collected through color and infrared cameras to calculate the patient's eye movement assessment score in three-dimensional space, which solves the shortcomings of traditional eye movement assessment methods in precise assessment in three-dimensional space, improves measurement accuracy, and supports early diagnosis of neurodegenerative diseases. .
Patent Information
- Application Number
- CN202410776151.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Traditional eye movement assessment methods are difficult to conduct precise quantitative assessment in three-dimensional space, and are limited to the evaluation of the rotation angle of a single eye, resulting in insufficient measurement dimensions and test accuracy, especially in the early diagnosis of neurodegenerative diseases such as Alzheimer's disease. challenge.
Color cameras and infrared cameras are used to collect the patient's video information in the target three-dimensional scene respectively, and the patient's target convergence point coordinates are obtained through video algorithm processing, and the eye movement assessment score is calculated based on the coordinates set by the target model to achieve eye movement in the three-dimensional space. Evaluate.
It reduces the subjective influence of testers, improves measurement dimensions and test accuracy, provides quantitative assessment of eye movements in patients with neurodegenerative diseases, and supports early diagnosis and treatment.
Smart Images

Figure CN118749898A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical technology, and in particular to a method and device for eye movement assessment based on three-dimensional space. Background Art
[0002] Neurodegenerative diseases are currently one of the most common diseases in the elderly population. The impaired motor function caused by abnormal brain aging can lead to many inconveniences and even dangerous situations, such as difficulty in daily behavior, cognitive dysfunction and memory loss. Alzheimer's disease is a typical neurodegenerative disease, characterized by impaired cognitive function, which is significantly manifested by slow eye movements and decreased judgment, calculation and memory abilities. Therefore, early detection and treatment of the disease are necessary.
[0003] Currently, the patient's eye movements are mainly assessed through traditional cognitive scale assessment and eye movement assessment methods.
[0004] However, traditional scale assessments are mostly subjective and greatly influenced by the testers, so they can only be used as an auxiliary assessment method and require quantitative assessment as a decisive basis; and traditional eye movement assessments are mostly single-eye rotation angle assessments, which often display the left and right eye angles separately, or simply display the gaze point on a plane. It is difficult to conduct quantitative assessments in a more precise three-dimensional space, resulting in average measurement dimensions and test accuracy. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide an eye movement assessment method and device based on three-dimensional space, which can respectively collect color video information and infrared video information corresponding to the patient staring at a target model in a target three-dimensional scene through a color camera and an infrared camera, obtain the patient's target convergence point coordinates according to the infrared video information and the color video information, and calculate the patient's eye movement assessment score according to the target model set coordinates and the target convergence point coordinates, thereby realizing three-dimensional eye movement assessment of the patient in three-dimensional space, reducing the influence of the tester, and improving the measurement dimension and test accuracy.
[0006] In a first aspect, an embodiment of the present application provides an eye movement assessment method based on three-dimensional space, which is applied to an eye movement assessment system. The method includes:
[0007] Selecting a corresponding target test topic from a preset test topic group based on the patient's symptoms, and determining a corresponding target three-dimensional scene based on the target test topic; wherein the target three-dimensional scene at least includes a prompt and a target model;
[0008] In response to the patient staring at the target model in the target three-dimensional scene according to the prompt, the target model is moved in three-dimensional space based on the target test question, and a target model setting coordinate of the target model is determined;
[0009] The preset infrared light dot matrix is emitted to the eyeball of the patient, and the target video information of the eyeball of the patient is collected according to the preset target camera; wherein the target camera includes a color camera and an infrared camera; the target video information includes the color video information collected by the color camera and the infrared video information collected by the infrared camera;
[0010] The infrared video information and the color video information are processed based on a preset video algorithm to obtain the target convergence point coordinates of the patient, and the eye movement assessment score of the patient is calculated according to the target model setting coordinates and the target convergence point coordinates.
[0011] In a possible implementation, the processing of the infrared video information and the color video information based on a preset video algorithm to obtain the target convergence point coordinates of the patient includes:
[0012] Processing the infrared video information based on a preset video algorithm to obtain the coordinates of the first convergence point, and processing the color video information to obtain the coordinates of the second convergence point;
[0013] The first convergence point coordinates are corrected based on the second convergence point coordinates to obtain the target convergence point coordinates of the patient.
[0014] In a possible implementation, the correcting the first convergence point coordinates based on the second convergence point coordinates to obtain the target convergence point coordinates of the patient includes:
[0015] Obtaining a target confidence ratio; wherein the target confidence ratio is a widely verified confidence ratio;
[0016] A weighted average calculation is performed on the first convergence point coordinates and the second convergence point coordinates based on the target confidence ratio to obtain corresponding target convergence point coordinates.
[0017] In a possible implementation, the infrared video information is processed based on a preset video algorithm to obtain the coordinates of the first convergence point:
[0018] Processing the infrared video information based on a preset video algorithm to obtain a plane image feature of the patient's eyeball, and obtaining a first eyeball movement angle of the patient according to the plane image feature and the infrared light dot matrix;
[0019] The first convergence point coordinates of the patient are calculated based on the first eye movement angle and a preset target calculation formula.
[0020] In a possible implementation, before calculating the coordinates of the first convergence point of the patient based on the first eye movement angle and a preset target calculation formula, the method further includes:
[0021] For the target three-dimensional scene, a target point is placed at a target calibration position of the target three-dimensional scene, and a second eye movement angle and a target point distance of the patient are determined; wherein the target point distance is the distance from the target point to the patient's eyeball;
[0022] The target camera is zero-calibrated based on the target point.
[0023] In a possible implementation, the target calculation formula includes a pupil distance calculation formula and a convergence point coordinate formula, and the calculation based on the first eye movement angle and a preset target calculation formula to obtain the first convergence point coordinates of the patient includes:
[0024] Calculate the target pupil distance of the patient according to the second eye movement angle, the target point distance and the pupil distance calculation formula;
[0025] The first convergence point coordinates of the patient are calculated according to the first eye movement angle, the target pupil distance and the convergence point coordinate formula.
[0026] In a possible implementation, calculating the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates includes:
[0027] Determine the corresponding calculation frequency according to the image acquisition frequency of the target camera;
[0028] In each of the calculation frequencies, the real-time error of the calculation frequency is calculated according to the target model setting coordinates and the target convergence point coordinates, and a total average error is obtained according to all the real-time errors;
[0029] For the patient, the total test duration of the patient is determined, and the eye movement assessment score of the patient is calculated based on the total test duration and the total average error.
[0030] In a second aspect, the embodiment of the present application further provides an eye movement assessment device based on three-dimensional space, using an eye movement assessment system, the device comprising:
[0031] A selection module, for selecting a corresponding target test topic from a preset test topic group based on the patient's symptoms, and determining a corresponding target three-dimensional scene based on the target test topic; wherein the target three-dimensional scene at least includes a prompt and a target model;
[0032] a determination module, configured to move the target model in three-dimensional space based on the target test question in response to the patient staring at the target model in the target three-dimensional scene according to the prompt, and determine the target model setting coordinates of the target model;
[0033] A collection module, used for emitting a preset infrared light dot matrix to the patient's eyeball, and collecting target video information of the patient's eyeball according to a preset target camera; wherein the target camera includes a color camera and an infrared camera; the target video information includes color video information collected by the color camera and infrared video information collected by the infrared camera;
[0034] A calculation module is used to process the infrared video information and the color video information based on a preset video algorithm to obtain the target convergence point coordinates of the patient, and calculate the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates.
[0035] In a possible implementation manner, the calculation module is specifically configured to:
[0036] Processing the infrared video information based on a preset video algorithm to obtain the coordinates of the first convergence point, and processing the color video information to obtain the coordinates of the second convergence point;
[0037] The first convergence point coordinates are corrected based on the second convergence point coordinates to obtain the target convergence point coordinates of the patient.
[0038] In a possible implementation manner, the calculation module is specifically configured to:
[0039] Obtaining a target confidence ratio; wherein the target confidence ratio is a widely verified confidence ratio;
[0040] A weighted average calculation is performed on the first convergence point coordinates and the second convergence point coordinates based on the target confidence ratio to obtain corresponding target convergence point coordinates.
[0041] In a possible implementation manner, the calculation module is specifically configured to:
[0042] Processing the infrared video information based on a preset video algorithm to obtain a plane image feature of the patient's eyeball, and obtaining a first eyeball movement angle of the patient according to the plane image feature and the infrared light dot matrix;
[0043] The first convergence point coordinates of the patient are calculated based on the first eye movement angle and a preset target calculation formula.
[0044] In a possible implementation manner, the calculation module is specifically configured to:
[0045] Before calculating the coordinates of the first convergence point of the patient based on the first eye movement angle and a preset target calculation formula, for the target three-dimensional scene, a target point is placed at a target calibration position of the target three-dimensional scene to determine the second eye movement angle of the patient and the target point distance; wherein the target point distance is the distance from the target point to the patient's eyeball;
[0046] The target camera is zero-calibrated based on the target point.
[0047] In a possible implementation, the target calculation formula includes a pupil distance calculation formula and a convergence point coordinate formula, and the calculation module is specifically used to: calculate the target pupil distance of the patient according to the second eye movement angle, the target point distance and the pupil distance calculation formula;
[0048] The first convergence point coordinates of the patient are calculated according to the first eye movement angle, the target pupil distance and the convergence point coordinate formula.
[0049] In a possible implementation manner, the calculation module is specifically configured to:
[0050] Determine the corresponding calculation frequency according to the image acquisition frequency of the target camera;
[0051] In each of the calculation frequencies, the real-time error of the calculation frequency is calculated according to the target model setting coordinates and the target convergence point coordinates, and a total average error is obtained according to all the real-time errors;
[0052] For the patient, the total test duration of the patient is determined, and the eye movement assessment score of the patient is calculated based on the total test duration and the total average error.
[0053] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the three-dimensional space-based eye movement assessment method as described in any one of the first aspects.
[0054] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the three-dimensional space-based eye movement assessment method described in any one of the first aspects are executed.
[0055] The embodiment of the present application provides a method and device for eye movement assessment based on three-dimensional space. The method selects a corresponding target test topic from a preset test topic group based on the patient's symptoms, determines a corresponding target three-dimensional scene based on the target test topic, moves the target model in three-dimensional space based on the target test topic in response to the patient's staring at the target model in the target three-dimensional scene according to the prompt, and determines the target model setting coordinates of the target model, emits a preset infrared light dot matrix to the patient's eyeball, collects the target video information of the patient's eyeball according to the preset target camera, processes the infrared video information and the color video information based on the preset video algorithm to obtain the patient's target convergence point coordinates, and calculates the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates. In the present application, the color video information and the infrared video information corresponding to the patient staring at the target model in the target three-dimensional scene are collected by the color camera and the infrared camera respectively, the patient's target convergence point coordinates are obtained according to the infrared video information and the color video information, and the patient's eye movement assessment score is calculated according to the target model setting coordinates and the target convergence point coordinates, so as to realize the three-dimensional eye movement assessment of the patient in three-dimensional space, reduce the influence of the tester, and improve the measurement dimension and test accuracy.
[0056] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 is a flow chart of an eye movement assessment method based on three-dimensional space according to one embodiment of the present application;
[0059] Figure 2 is a schematic diagram of the eye movement assessment system;
[0060] Figure 3 is a flow chart of an eye movement assessment method based on three-dimensional space according to another embodiment of the present application;
[0061] Figure 4 is a flow chart of an eye movement assessment method based on three-dimensional space according to another embodiment of the present application;
[0062] Figure 5 is a flow chart of an eye movement assessment method based on three-dimensional space according to another embodiment of the present application;
[0063] Figure 6 is a schematic structural diagram of an eye movement assessment device based on three-dimensional space according to an embodiment of the present application;
[0064] Figure 7 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0065] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0066] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0067] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0068] Considering that neurodegenerative diseases are currently one of the most common diseases in the elderly, the motor impairment caused by abnormal brain aging can lead to many inconveniences and even dangerous situations, such as difficulty in daily behavior, cognitive dysfunction and memory loss. Alzheimer's disease is a typical neurodegenerative disease, characterized by impaired cognitive function, which is significantly manifested by slow eye movements and decreased judgment, calculation and memory abilities. Therefore, early detection and treatment of the disease are necessary.
[0069] At present, the patient's eye movement is mainly evaluated through traditional cognitive scale assessment and eye movement assessment. However, traditional scale assessment is mostly subjective and is greatly affected by the tester, so it can only be used as an auxiliary assessment method and requires quantitative assessment as a decisive basis; and traditional eye movement assessment is mostly a single eye rotation angle assessment, which often shows the left and right eye angles separately, or simply shows the gaze point on a plane, which is difficult to perform quantitative assessment in a more precise three-dimensional space, resulting in average measurement dimensions and test accuracy.
[0070] To address this problem, the present application provides an eye movement assessment method and device based on three-dimensional space, which collects color video information and infrared video information corresponding to the patient staring at a target model in a target three-dimensional scene through a color camera and an infrared camera respectively, obtains the patient's target convergence point coordinates based on the infrared video information and the color video information, and calculates the patient's eye movement assessment score based on the target model set coordinates and the target convergence point coordinates, thereby realizing three-dimensional eye movement assessment of the patient in three-dimensional space, reducing the influence of the tester, and improving the measurement dimension and test accuracy.
[0071] Figure 1 is a flow chart of an eye movement assessment method based on three-dimensional space according to an embodiment of the present application, and the eye movement assessment method based on three-dimensional space is applied to an eye movement assessment system, such as Figure 1 As shown, the eye movement assessment method based on three-dimensional space in the embodiment of the present application may specifically include the following steps:
[0072] S101, selecting a corresponding target test topic from a preset test topic group based on the patient's symptoms, and determining a corresponding target three-dimensional scene based on the target test topic.
[0073] In the embodiment of the present application, the target three-dimensional scene includes at least a prompt and a target model, wherein the prompt is a prompt used to guide the patient to take the test, and the target model is a model set in the three-dimensional scene, for example, Figure 2 As shown, the points above the two eyeballs are the target models, the patients may be patients with neurodegenerative diseases, the preset test question group is a pre-set combination of multiple questions for eye movement assessment test on the patients, for example, the target model moves left and right, moves up and down, and jumps, etc., the target test questions are questions for eye movement assessment test on the patients, for example, move the target model left and right, select the target test questions from the preset test question group according to the symptoms of the patient, and determine the target three-dimensional scene based on the target test questions for subsequent processing.
[0074] S102, in response to the patient staring at the target model in the target three-dimensional scene according to the prompt, the target model is moved in the three-dimensional space based on the target test question, and the target model setting coordinates of the target model are determined.
[0075] In the embodiment of the present application, the target model setting coordinates are the coordinates of the target model. After selecting the target test topic according to the patient's symptoms, the patient begins to perform an eye movement test. After the test begins, the patient observes the target three-dimensional scene. The patient stares at the target model in the target three-dimensional scene according to the prompts. The target model moves in the three-dimensional space according to the target test topic. For example, when the target test topic is jumping, the target model jumps in the three-dimensional space. At this time, the coordinate value of the target model is the target model setting coordinate (Xc, Y C , Z C ) for subsequent processing.
[0076] Optional, such as Figure 2 As shown, the patient observes the target three-dimensional scene and the target model in the target three-dimensional scene through the VR head display. S103, emit a preset infrared light dot matrix to the patient's eyeball, and collect target video information of the patient's eyeball according to a preset target camera.
[0077] In the embodiment of the present application, the infrared light dot matrix is a pre-set dot matrix infrared, the patient's eyeballs refer to the patient's eyes, the target camera includes a color camera and an infrared camera, the target video information includes the color video information collected by the color camera and the infrared video information collected by the infrared camera, the infrared light dot matrix is emitted to the patient's eyeball, and the target video information of the patient's eyeball is collected according to the target camera for subsequent processing. It should be noted that the target video information is collected at the beginning of the eye movement test, specifically, when the infrared light dot matrix is emitted to the patient's eyeball, the color camera and the infrared camera work at the same time to collect the corresponding video information.
[0078] S104, processing the infrared video information and the color video information based on a preset video algorithm to obtain the target convergence point coordinates of the patient, and calculating the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates.
[0079] In an embodiment of the present application, a video algorithm is an algorithm for processing a video acquired by a preset camera, for example, an algorithm in the OpenCV video algorithm library. The target convergence point coordinates (represented by (X, Y, Z) in this application) are the convergence point coordinates corresponding to when the patient's eyeballs observe the target model. The eye movement assessment score is the score of the patient's eye movement test assessment. The target convergence point coordinates of the patient are obtained by processing the infrared video information and the color video information according to the video algorithm, and the eye movement assessment score of the patient is calculated according to the target model set coordinates and the target convergence point coordinates, thereby completing a quantitative assessment of the patient's eye movement.
[0080] In this way, a quantitative assessment of the patient's eye movement cognition based on three-dimensional space is achieved.
[0081] The eye movement assessment method based on three-dimensional space provided in the embodiment of the present application selects the corresponding target test topic in the preset test topic group based on the patient's symptoms, and determines the corresponding target three-dimensional scene based on the target test topic, in response to the patient staring at the target model in the target three-dimensional scene according to the prompt, the target model is moved in three-dimensional space based on the target test topic, and the target model setting coordinates of the target model are determined, and the preset infrared light dot matrix is emitted to the patient's eyeball, and the target video information of the patient's eyeball is collected according to the preset target camera, and the target convergence point coordinates of the patient are obtained based on the preset video algorithm. Calculate the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates. The eye movement assessment method based on three-dimensional space of the present application collects the color video information and infrared video information corresponding to the patient staring at the target model in the target three-dimensional scene through a color camera and an infrared camera, respectively, obtains the patient's target convergence point coordinates according to the infrared video information and the color video information, and calculates the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates, realizing the three-dimensional eye movement assessment of the patient in three-dimensional space, reducing the influence of the tester, and improving the measurement dimension and test accuracy.
[0082] Further, such as Figure 3 As shown, step S104 in the above embodiment, "processing infrared video information and color video information based on a preset video algorithm to obtain the target convergence point coordinates of the patient", may specifically include the following steps:
[0083] S301, based on a preset video algorithm, the infrared video information is processed to obtain the coordinates of the first convergence point, and the color video information is processed to obtain the coordinates of the second convergence point.
[0084] In an embodiment of the present application, the first convergence point coordinates are the convergence point coordinates (X1, Y1, Z1) corresponding to the infrared video information, and the second convergence point coordinates are the convergence point coordinates (X2, Y2, Z2) corresponding to the color video information. Based on a preset video algorithm, the infrared video information and the color video information are processed separately to obtain the first convergence point coordinates (X1, Y1, Z1) and the second convergence point coordinates (X2, Y2, Z2) for subsequent processing.
[0085] S302, correcting the first convergence point coordinates based on the second convergence point coordinates to obtain the patient's target convergence point coordinates.
[0086] In an embodiment of the present application, the first convergence point coordinates in step S301 are corrected based on the second convergence point coordinates obtained in step S301 to obtain the target convergence point coordinates of the patient, that is, the first convergence point coordinates (X1, Y1, Z1) are corrected by the second convergence point coordinates (X2, Y2, Z2) to obtain the target convergence point coordinates (X, Y, Z).
[0087] It is understandable that the video algorithms for processing infrared video information and the video algorithms for processing color video information are both open source algorithms based on openCV, but the video algorithms of the two belong to two branch algorithms. The video algorithm for infrared video information emphasizes the input of specified coordinates, and the video algorithm for color video information emphasizes the input of images. Obviously, coordinates are more accurate than images. Therefore, the first convergence point coordinates obtained by the infrared video information are more accurate than the second convergence point coordinates obtained by the color video information. However, the color video information has a large amount of image information and can be used as an auxiliary, that is, the first convergence point coordinates are corrected by the second convergence point coordinates. In this way, the target convergence point coordinates obtained are more accurate than the first convergence point coordinates.
[0088] It should be noted that the present application does not impose too many restrictions on the specific method of correcting the first convergence point coordinates based on the second convergence point coordinates, and can be set according to actual conditions.
[0089] As a possible implementation method, a target confidence ratio is obtained; based on the target confidence ratio, a weighted average calculation is performed on the first convergence point coordinates and the second convergence point coordinates to obtain the corresponding target convergence point coordinates. The target confidence ratio is a widely verified confidence ratio. For example, the target confidence ratio is 7:3, the second convergence point coordinates (X2, Y2, Z2), the first convergence point coordinates (X1, Y1, Z1), and the target convergence point coordinates (X, Y, Z) are calculated by weighted averaging (X2, Y2, Z2) and (X1, Y1, Z1) according to the confidence ratio 7:3, where X = 0.7*X1+0.3*X2, Y = 0.7*Y2+0.3*y2, Z = 0.7*Z1+0.3*Z2, and the corrected target convergence point coordinates are calculated.
[0090] Therefore, the video information transmitted by the two groups of cameras, the color camera and the infrared camera, are processed separately, and the processing results are combined, that is, the first convergence point coordinates of the infrared camera are corrected based on the second convergence point coordinates of the color camera, thereby realizing dual-channel verification of the convergence point coordinates and increasing the test accuracy.
[0091] Further, such as Figure 4 As shown, the step S301 in the above embodiment of "processing the infrared video information based on a preset video algorithm to obtain the coordinates of the first convergence point" may specifically include the following steps:
[0092] S401, processing infrared video information based on a preset video algorithm, obtaining a planar image feature of the patient's eyeball, and obtaining a first eyeball movement angle of the patient according to the planar image feature and the infrared light dot matrix.
[0093] In the embodiment of the present application, the plane image feature is the image feature of the two-dimensional plane of the patient's eyeball, and the first eyeball movement angle includes α1, β1 and γ1, such as Figure 2 As shown, α1 and γ1 are the angles of the distance (line) from the target model to one eyeball (pupil) relative to the X-axis and Z-axis respectively, and β1 is the angle of the distance (line) from the other eyeball (pupil) relative to the X-axis. It can be understood that the Z-axis angles of the two eyeballs are both γ1. The first eye movement angle represents the real-time changing eye movement angle of the patient. By processing the black and white images in the infrared video information according to the video algorithm, the planar image features of the patient's eyes can be obtained. The first eye movement angle of the patient is obtained according to the planar image features and the infrared light dot matrix emitted in the above embodiment for subsequent processing.
[0094] As a possible implementation method, the target protruding part of the patient's eyeball is determined according to the planar image features and the infrared light dot matrix, and the corresponding black pupil edge point coordinates are obtained according to the target protruding part; the black pupil edge point coordinates and the multiple coordinates in the infrared light dot matrix are processed based on the video algorithm to determine the three-dimensional motion characteristics of the patient's eyeball within a preset time, and the patient's first eyeball motion angle is obtained according to the three-dimensional motion characteristics. For example, the protruding part of the eyeball can be highlighted by combining with the infrared light dot matrix. At this time, the obtained black pupil edge point coordinates, combined with the multiple coordinates of the infrared light dot matrix, are processed by the OpenCV video algorithm library to output the three-dimensional modeling machine motion information of the protruding eyeball. According to the pupil edge coordinates and the coordinate change data of the infrared light dot matrix within a period of time (that is, the change data of the multiple coordinates in the infrared light dot matrix in different time dimensions), the three-dimensional motion characteristics of the two eyeballs within this period of time can be restored, that is, the real-time changing eyeball motion angle, that is, the first eyeball motion angle α1, β1 and γ1.
[0095] S402, calculating the coordinates of the patient's first convergence point based on the first eye movement angle and a preset target calculation formula.
[0096] In an embodiment of the present application, the target calculation formula is a pre-set calculation formula, which includes a pupil distance calculation formula and a convergence point coordinate formula. The first convergence point coordinates of the patient are calculated based on the first eye movement angle obtained in step S401 and the target calculation formula for subsequent processing.
[0097] The pupil distance calculation formula is as follows:
[0098] K=L*cosα*sinγ+L'*cosβ*sinγ
[0099] It should be noted that before calculating the coordinates of the patient's first convergence point based on the first eye movement angle and the preset target calculation formula, a target point is placed at the target calibration position of the target three-dimensional scene to determine the patient's second eye movement angle and the target point distance; the target camera is zero-calibrated based on the target point. The target calibration position is the position corresponding to the infinitely far center of the target three-dimensional scene, and the target point distance is the distance from the target point to the patient's eyeball, that is, the distance from the target point to the patient's eyeball before the eye movement test. For example, Figure 2 As shown in L and L', the second eye movement angle is the same as the first eye movement angle, including α2, β2 and γ2; the second eye movement angle represents the real-time changing eye movement angle of the patient. It can be understood that before the eye movement test, a target point is placed at the target calibration position of the target three-dimensional scene, and the color camera and the infrared camera are calibrated to zero according to the target point; since the point coordinates at infinity are 0, that is, the target point coordinates are 0, the patient's second eye movement angles α2, β2 and γ2 are all known at this time, and the target point distance is also known, that is, the patient's second eye movement angle and target point distance are determined. The video information recognized by the infrared camera and the color camera is defined as the original 0 point state of the eyeball. Since the eyeball basically does not move and is relatively stable in this state, the patient's pupil distance K can be calculated in this state by the above pupil distance calculation formula.
[0100] It should be noted that the present application does not impose too many restrictions on the specific method of calculating the coordinates of the first convergence point based on the first eye movement angle and the target calculation formula, and can be set according to actual conditions.
[0101] As a possible implementation method, the patient's target pupil distance is calculated based on the second eye movement angle, target point distance and pupil distance calculation formula; the patient's first convergence point coordinates are calculated based on the first eye movement angle, target pupil distance and convergence point coordinate formula.
[0102] The convergence point coordinate formula is as follows:
[0103] X=L*sinα*sinγ=L'sinβ*sinγ
[0104] Y=L*cosα*sinγ=K-L'cosβ*sinγ
[0105] Z=L*cosγ=L'cosγ
[0106] For example, the patient's second eye movement angles α2, β2 and γ2, and the target point distance are substituted into the above pupil distance calculation formula to calculate the patient's target pupil distance K.
[0107] Optionally, the target model distance of the patient in the eye movement test is calculated according to the target pupil distance and the first eye movement angle. The target model distance is the distance from the target model to the patient's eyeball. For example, in the figure, when the target pupil distance K and the first eye movement angles α1, β1 and γ1 are known, the target model distances L and L' of the patient in the eye movement test can be obtained, and X1, Y1, and Z1 can be calculated according to the above convergence point coordinate formula, thereby obtaining the patient's first convergence point coordinates (X1, Y1, Z1).
[0108] Similarly, based on the above formula, the coordinates of the second convergence point of the patient (X2, Y2, Z2) are obtained, which will not be described in detail in this application.
[0109] Further, such as Figure 5 As shown, the step S104 in the above embodiment of “calculating the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates” may specifically include the following steps:
[0110] S501, determining a corresponding calculation frequency according to the image acquisition frequency of the target camera.
[0111] In an embodiment of the present application, each calculation frequency corresponds to one calculation, and the image acquisition frequency is the frequency at which the target camera acquires images, for example, 60HZ. The corresponding calculation frequency is determined according to the image acquisition frequency of the target camera. For example, when the image acquisition frequency is 60HZ, the corresponding calculation frequency is 1 / 60s, that is, it is calculated once every 1 / 60s.
[0112] S502, within each calculation frequency, the real-time error of the calculation frequency is calculated according to the target model setting coordinates and the target convergence point coordinates, and a total average error is obtained according to all the real-time errors.
[0113] In the embodiment of the present application, within each calculation frequency obtained in the above step S501, the coordinates (X c , Y c , Z c ) and the target convergence point coordinates (X, Y, Z) are used to calculate the real-time error ΔM of the calculation frequency, and the total average error M is obtained based on all the real-time errors ΔM. The calculation formula of the real-time error ΔM is as follows:
[0114]
[0115] It should be noted that the total average error M is the quotient of the sum of all real-time errors ΔM divided by the sum of the total calculation frequencies. For example, the calculation frequency is 1 / 60s, and it is calculated 60 times, that is, the total calculation time is 1S. At this time, the total average error M is obtained by adding the 60 real-time errors ΔM and dividing it by 1S.
[0116] S503, for the patient, determining the total test duration of the patient, and calculating the eye movement assessment score of the patient based on the total test duration and the total average error.
[0117] In the embodiment of the present application, the total test duration is the total duration of the patient's entire eye movement test process, and the patient's eye movement assessment score S is calculated based on the total test duration T and the total average error M obtained in the above embodiment. Optionally, the eye movement assessment score S is calculated by S=M / T.
[0118] In order to clearly describe the eye movement assessment method based on three-dimensional space of the present application, the following is combined with the above Figure 2 Give a description.
[0119] For example, Figure 2 As shown, the eye movement assessment system includes an acquisition end device and a control end device. The acquisition end device is composed of a VR head display and a near-eye infrared eyeball capture module, wherein the near-eye infrared eyeball capture module includes a color camera and an infrared camera, and the control end device is a general computer device. Connect the acquisition end and the control end, open the control end software, as the overall process control, data calculation and subsequent result display platform, carry out an eye movement test, select the test question group according to the patient's symptoms at the control end, after the test starts, the patient can see the target three-dimensional scene in the VR head display, the target three-dimensional scene includes a background model, prompts and target model, the patient stares at the target model according to the prompts, and the target model moves in three-dimensional space according to the test requirements. At this time, the coordinate value of the target model is (Xc, Yc, Zc). At the beginning of the test, the acquisition end collects eye movement information, i.e., video information, and transmits an infrared view array to the eyeball. At the same time, the color camera and the infrared camera work at the same time to transmit the video information to the control end. The control end calculates the average error, the total average error and the total test time, and further calculates the patient's eye movement assessment score. Specifically, the real-time error is calculated based on the difference between the calculated target convergence point coordinates (X, Y, Z) and the target point setting coordinates (Xc, Yc, Zc). The result is calculated once every 1 / 60 seconds, ΔM = √((xX c ) 2 +(yY c ) 2 +(zZ c ) 2 ), and finally calculate the total statistical average error M, and finally record the total test time T. After the eye movement test is completed, the eye movement assessment score is calculated based on the statistical error value S=M / T.
[0120] Figure 6 is a flow chart of an eye movement assessment device based on three-dimensional space according to an embodiment of the present application, and the eye movement assessment device based on three-dimensional space is applied to a mobile terminal, such as Figure 6As shown, the eye movement assessment device 600 based on three-dimensional space according to an embodiment of the present application may specifically include:
[0121] The selection module 601 is used to select a corresponding target test topic from a preset test topic group based on the patient's symptoms, and determine a corresponding target three-dimensional scene based on the target test topic; wherein the target three-dimensional scene at least includes a prompt and a target model.
[0122] The determination module 602 is used to move the target model in the three-dimensional scene in response to the patient staring at the target model in the target three-dimensional scene according to the prompt, based on the target test question, and determine the target model setting coordinates of the target model.
[0123] The acquisition module 603 is used to emit a preset infrared light dot matrix to the patient's eyeball, and to acquire target video information of the patient's eyeball according to a preset target camera; wherein the target camera includes a color camera and an infrared camera; the target video information includes color video information acquired by the color camera and infrared video information acquired by the infrared camera.
[0124] The calculation module 604 is used to process the infrared video information and the color video information based on a preset video algorithm to obtain the target convergence point coordinates of the patient, and calculate the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates.
[0125] In a possible implementation, the computing module is specifically configured to:
[0126] Processing the infrared video information based on a preset video algorithm to obtain the coordinates of the first convergence point, and processing the color video information to obtain the coordinates of the second convergence point;
[0127] The first convergence point coordinates are corrected based on the second convergence point coordinates to obtain the patient's target convergence point coordinates.
[0128] In a possible implementation, the computing module is specifically configured to:
[0129] Obtain a target confidence ratio; wherein the target confidence ratio is a widely verified confidence ratio;
[0130] Based on the target confidence ratio, a weighted average calculation is performed on the first convergence point coordinates and the second convergence point coordinates to obtain the corresponding target convergence point coordinates.
[0131] In a possible implementation, the computing module is specifically configured to:
[0132] Processing infrared video information based on a preset video algorithm to obtain the planar image features of the patient's eyeball, and obtaining the patient's first eyeball movement angle based on the planar image features and the infrared light dot matrix;
[0133] The patient's first convergence point coordinates are calculated based on the first eye movement angle and a preset target calculation formula.
[0134] In a possible implementation, the computing module is specifically configured to:
[0135] Before calculating the coordinates of the first convergence point of the patient based on the first eye movement angle and a preset target calculation formula, for a target three-dimensional scene, a target point is placed at a target calibration position of the target three-dimensional scene to determine the second eye movement angle of the patient and the target point distance; wherein the target point distance is the distance from the target point to the patient's eyeball;
[0136] Zero-calibrate the target camera based on the target point.
[0137] In a possible implementation, the target calculation formula includes a pupil distance calculation formula and a convergence point coordinate formula, and the calculation module is specifically used to: calculate the patient's target pupil distance according to the second eye movement angle, the target point distance and the pupil distance calculation formula;
[0138] The patient's first convergence point coordinates are calculated based on the first eye movement angle, target pupil distance and convergence point coordinate formula.
[0139] In a possible implementation, the computing module is specifically configured to:
[0140] Determine the corresponding calculation frequency according to the image acquisition frequency of the target camera;
[0141] In each calculation frequency, the real-time error of the calculation frequency is calculated according to the target model setting coordinates and the target convergence point coordinates, and the total average error is obtained according to all the real-time errors;
[0142] For each patient, the total test duration of the patient is determined, and the eye movement assessment score of the patient is calculated based on the total test duration and the total average error.
[0143] The eye movement assessment device based on three-dimensional space provided in the embodiment of the present application selects the corresponding target test topic in the preset test topic group based on the patient's symptoms, and determines the corresponding target three-dimensional scene based on the target test topic, in response to the patient staring at the target model in the target three-dimensional scene according to the prompt, the target model is moved in three-dimensional space based on the target test topic, and the target model setting coordinates of the target model are determined, and the preset infrared light dot matrix is emitted to the patient's eyeball, and the target video information of the patient's eyeball is collected according to the preset target camera, and the target convergence point coordinates of the patient are obtained based on the preset video algorithm. Calculate the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates. The eye movement assessment device based on three-dimensional space of the present application collects the color video information and infrared video information corresponding to the patient staring at the target model in the target three-dimensional scene through a color camera and an infrared camera, respectively, obtains the patient's target convergence point coordinates according to the infrared video information and the color video information, and calculates the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates, realizing the three-dimensional eye movement assessment of the patient in three-dimensional space, reducing the influence of the tester, and improving the measurement dimension and test accuracy.
[0144] like Figure 7 As shown, an electronic device 700 provided in an embodiment of the present application includes: a processor 701, a memory 702 and a bus, wherein the memory 702 stores machine-readable instructions executable by the processor 701. When the electronic device is running, the processor 701 communicates with the memory 702 through the bus, and the processor 701 executes the machine-readable instructions to perform the steps of the above-mentioned three-dimensional space-based eye movement assessment method.
[0145] Specifically, the memory 702 and the processor 701 can be general-purpose memories and processors, which are not specifically limited here. When the processor 701 runs the computer program stored in the memory 702, the above-mentioned three-dimensional space-based eye movement assessment method can be executed.
[0146] Corresponding to the above-mentioned eye movement assessment method based on three-dimensional space, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned eye movement assessment method based on three-dimensional space are executed.
[0147] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0148] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0150] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the deployment method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0151] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A three-dimensional eye movement assessment method, characterized in that: Applied to an eye movement assessment system; the method comprises: Selecting a corresponding target test topic from a preset test topic group based on the patient's symptoms, and determining a corresponding target three-dimensional scene based on the target test topic; wherein the target three-dimensional scene at least includes a prompt and a target model; In response to the patient staring at the target model in the target three-dimensional scene according to the prompt, the target model is moved in three-dimensional space based on the target test question, and a target model setting coordinate of the target model is determined; The preset infrared light dot matrix is emitted to the eyeball of the patient, and the target video information of the eyeball of the patient is collected according to the preset target camera; wherein the target camera includes a color camera and an infrared camera; the target video information includes the color video information collected by the color camera and the infrared video information collected by the infrared camera; The infrared video information and the color video information are processed based on a preset video algorithm to obtain the target convergence point coordinates of the patient, and the eye movement assessment score of the patient is calculated according to the target model setting coordinates and the target convergence point coordinates.
2. The evaluation method according to claim 1, characterized in that: The step of processing the infrared video information and the color video information based on a preset video algorithm to obtain the target convergence point coordinates of the patient includes: Processing the infrared video information based on a preset video algorithm to obtain the coordinates of the first convergence point, and processing the color video information to obtain the coordinates of the second convergence point; The first convergence point coordinates are corrected based on the second convergence point coordinates to obtain the target convergence point coordinates of the patient.
3. The method according to claim 2, characterized in that The step of correcting the first convergence point coordinates based on the second convergence point coordinates to obtain the target convergence point coordinates of the patient includes: Obtaining a target confidence ratio; wherein the target confidence ratio is a widely verified confidence ratio; A weighted average calculation is performed on the first convergence point coordinates and the second convergence point coordinates based on the target confidence ratio to obtain corresponding target convergence point coordinates.
4. The method according to claim 2, characterized in that: The infrared video information is processed based on a preset video algorithm to obtain the coordinates of the first convergence point: Processing the infrared video information based on a preset video algorithm to obtain a plane image feature of the patient's eyeball, and obtaining a first eyeball movement angle of the patient according to the plane image feature and the infrared light dot matrix; The first convergence point coordinates of the patient are calculated based on the first eye movement angle and a preset target calculation formula.
5. The evaluation method according to claim 4, characterized in that: Before calculating the coordinates of the first convergence point of the patient based on the first eye movement angle and a preset target calculation formula, the method further includes: For the target three-dimensional scene, a target point is placed at a target calibration position of the target three-dimensional scene, and a second eye movement angle and a target point distance of the patient are determined; wherein the target point distance is the distance from the target point to the patient's eyeball; The target camera is zero-calibrated based on the target point.
6. The evaluation method according to claim 5, characterized in that: The target calculation formula includes a pupil distance calculation formula and a convergence point coordinate formula. The first convergence point coordinates of the patient are calculated based on the first eye movement angle and a preset target calculation formula, including: Calculate the target pupil distance of the patient according to the second eye movement angle, the target point distance and the pupil distance calculation formula; The first convergence point coordinates of the patient are calculated according to the first eye movement angle, the target pupil distance and the convergence point coordinate formula.
7. The evaluation method according to claim 1, characterized in that: The step of calculating the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates includes: Determine the corresponding calculation frequency according to the image acquisition frequency of the target camera; In each of the calculation frequencies, the real-time error of the calculation frequency is calculated according to the target model setting coordinates and the target convergence point coordinates, and a total average error is obtained according to all the real-time errors; For the patient, the total test duration of the patient is determined, and the eye movement assessment score of the patient is calculated based on the total test duration and the total average error.
8. An eye movement assessment device based on three-dimensional space, characterized in that: Applied to an eye movement assessment system, the device comprises: A selection module, for selecting a corresponding target test topic from a preset test topic group based on the patient's symptoms, and determining a corresponding target three-dimensional scene based on the target test topic; wherein the target three-dimensional scene at least includes a prompt and a target model; a determination module, configured to move the target model in three-dimensional space based on the target test question in response to the patient staring at the target model in the target three-dimensional scene according to the prompt, and determine the target model setting coordinates of the target model; A collection module, used for emitting a preset infrared light dot matrix to the patient's eyeball, and collecting target video information of the patient's eyeball according to a preset target camera; wherein the target camera includes a color camera and an infrared camera; the target video information includes color video information collected by the color camera and infrared video information collected by the infrared camera; A calculation module is used to process the infrared video information and the color video information based on a preset video algorithm to obtain the target convergence point coordinates of the patient, and calculate the patient's eye movement assessment score according to the target model setting coordinates and the target convergence point coordinates.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the three-dimensional space-based eye movement assessment method as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the three-dimensional space-based eye movement assessment method as described in any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Binocular AR head-mounted display device and information display method therefor
CN105812778A
Eye movement testing method and device, computer equipment and storage medium
CN117873307A
Device for measuring strabismus and evaluating eyeball movement
CN220512835U
Obstacle detection having enhanced classification
US20100013615A1
Systems and methods to measure and improve eye movements and fixation
US20230337911A1
