Crystal parameter determination method and device
Through OCT device scanning and image processing technology, the corneal apex and crystal surface of the eye to be examined are determined, and the crystal parameters are calculated using the fitting algorithm, which solves the problem of insufficient accuracy of crystal parameters in the prior art, achieving higher accuracy and reliability.
Patent Information
- Application Number
- CN202411613493.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-03-04
AI Technical Summary
In the prior art, the accuracy of determining crystal parameters by ultrasonic biological microscopy is poor.
The OCT device is used to scan the eye to be examined. After obtaining the target image, the corneal apex, the anterior surface of the crystal and the posterior surface of the crystal are determined through image processing technology, and the crystal parameters are determined based on the fitting algorithm.
It improves the accuracy of crystal parameters and provides more reliable means of determining eye health.
Smart Images

Figure CN119548089A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of OCT technology, and in particular to a method and device for determining crystal parameters. Background Art
[0002] With the changes in the global population structure, natural and social environment, and lifestyle, eye-related problems such as glaucoma, cataracts, dry eyes, and myopia are becoming more and more common. "Eye health" has also become a hot topic of concern among people today. Lens parameters are of great significance for the determination of "eye health".
[0003] In the prior art, the crystal parameters of the user being tested are mostly determined by ultrasonic biomicroscopy.
[0004] However, crystal parameters determined by ultrasound biomicroscopy suffer from poor accuracy. Summary of the invention
[0005] Based on this, it is necessary to provide a method and device for determining crystal parameters with higher accuracy to address the above technical problems.
[0006] In a first aspect, the present application provides a method for determining crystal parameters, comprising:
[0007] Controlling the OCT device to scan the eye to be inspected to obtain a target image containing the eye to be inspected;
[0008] Performing image processing on the target image to obtain the corneal vertex, the anterior surface of the lens and the posterior surface of the lens of the eye to be inspected;
[0009] The lens parameters of the eye to be inspected are determined based on the corneal apex, the anterior surface of the lens, and the posterior surface of the lens.
[0010] In one embodiment, the target image is processed to obtain the corneal vertex, the anterior surface of the lens and the posterior surface of the lens of the eye to be inspected, including: layering processing of multiple B-scans contained in the target image to obtain the anterior surface of the lens and the posterior surface of the lens, and performing light column detection on the multiple B-scans to obtain the corneal vertex.
[0011] In one embodiment, the lens parameters of the eye to be inspected are determined based on the corneal vertex, the front surface of the lens and the back surface of the lens, including: fitting the front surface of the lens and the back surface of the lens respectively based on a fitting algorithm to obtain fitting data, and determining the lens parameters of the eye to be inspected based on the fitting data.
[0012] In one embodiment, the fitting data includes a first spherical surface and a second spherical surface, and the front surface and the back surface of the lens are fitted based on a fitting algorithm to obtain fitting data, and the lens parameters of the eye to be inspected are determined based on the fitting data, including: fitting the front surface of the lens based on a fitting algorithm to obtain the first spherical surface, and fitting the back surface of the lens based on the fitting algorithm to obtain the second spherical surface; obtaining a first radius and a first sphere center coordinate of the first spherical surface, and obtaining a second radius and a second sphere center coordinate of the second spherical surface; determining the crystal parameters based on the first radius, the first sphere center coordinate, the second radius, the second sphere center coordinate and the corneal vertex.
[0013] In one embodiment, the crystal parameter is determined based on the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex, including: when the crystal parameter is the crystal inclination angle of the eye to be inspected, determining a first distance between the first center of the first spherical surface and the second center of the second spherical surface on a preset projection surface based on the first radius, the first sphere center coordinates, the second radius, and the second sphere center coordinates; determining a second distance between the first center and the second center based on the first sphere center coordinates and the second sphere center coordinates; and determining the crystal inclination angle based on the first distance and the second distance.
[0014] In one embodiment, the crystal parameters are determined based on the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex, including: when the crystal parameter is the eccentricity distance of the eye to be inspected, determining the second distance between the first center of the first spherical surface and the second center of the second spherical surface based on the first sphere center coordinates and the second sphere center coordinates; determining the first intersection point based on the second distance, the first sphere center coordinates, the second sphere center coordinates and the first radius, the first intersection point being the intersection point of the line connecting the first center and the second center and the intersection plane; determining the eccentricity distance based on the first intersection point and the corneal vertex.
[0015] In one embodiment, the crystal parameter is determined based on the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex, including: when the crystal parameter is the crystal diameter of the eye to be inspected, determining the second distance between the first center of the first spherical surface and the second center of the second spherical surface based on the first sphere center coordinates and the second sphere center coordinates; determining the crystal radius of the eye to be inspected based on the second distance, the first radius and the second radius, and determining the crystal diameter based on the crystal radius.
[0016] In one embodiment, the crystal parameter is determined based on the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex, including: when the crystal parameter is the crystal thickness of the eye to be inspected, determining a second intersection based on the front surface of the crystal, the second intersection being the intersection of the visual axis and the front surface of the crystal; determining a third intersection based on the back surface of the crystal, the third intersection being the intersection of the visual axis and the back surface of the crystal; determining a third distance between the second intersection and the third intersection, and determining the third distance as the crystal thickness.
[0017] In one embodiment, after determining the lens parameters of the eye to be inspected based on the corneal vertex, the front surface of the lens and the back surface of the lens, the method further includes: rendering the front surface of the lens, the back surface of the lens, the first spherical surface and the second spherical surface in the target image to obtain a scanned image; and displaying the scanned image and the crystal parameters.
[0018] In a second aspect, the present application also provides a crystal parameter determination device, comprising:
[0019] A control module, used for controlling the OCT device to scan the eye to be inspected, so as to obtain a target image containing the eye to be inspected;
[0020] An execution module is used to perform image processing on the target image to obtain the corneal vertex, the front surface of the lens and the back surface of the lens of the eye to be inspected;
[0021] The determination module is used to determine the lens parameters of the eye to be inspected according to the corneal vertex, the front surface of the lens and the back surface of the lens.
[0022] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in any embodiment of the first aspect when executing the computer program.
[0023] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any embodiment of the first aspect above.
[0024] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in any embodiment of the first aspect above.
[0025] The above-mentioned crystal parameter determination method and device first control the OCT device to scan the eye to be inspected to obtain a target image containing the eye to be inspected, then perform image processing on the target image to obtain the corneal vertex, the anterior surface of the lens and the posterior surface of the lens of the eye to be inspected, and determine the crystal parameters of the eye to be inspected based on the corneal vertex, the anterior surface of the lens and the posterior surface of the lens. The crystal parameter determination method provided in the present application determines the crystal parameters based on the target image obtained by the OCT device, and the imaging accuracy of the OCT device is relatively high, thereby making the accuracy of the crystal parameters determined based on the target image also higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 A schematic diagram of a process for determining crystal parameters in one embodiment;
[0028] Figure 2 is a flow chart of a method for determining lens parameters of an eye to be inspected according to fitting data in one embodiment;
[0029] Figure 3 A schematic flow chart of a method for determining a crystal tilt angle in one embodiment;
[0030] Figure 4 A schematic diagram of a flow chart of a method for determining an eccentric distance in one embodiment;
[0031] Figure 5 A schematic diagram of a process for determining a crystal diameter in one embodiment;
[0032] Figure 6 A schematic flow chart of a method for determining crystal thickness in one embodiment;
[0033] Figure 7 A schematic flow chart of a method for displaying scanned images and crystal parameters in one embodiment;
[0034] Figure 8 is a schematic flow chart of a method for determining crystal parameters in another embodiment;
[0035] Fig. 9 is a structural block diagram of a crystal parameter determination device in one embodiment;
[0036] Fig.10is an internal structure diagram of a computer device in one embodiment;
[0037] Fig.11 is a schematic diagram of the front surface of the lens, the back surface of the lens and the corneal vertex in one embodiment;
[0038] Fig.12 is a schematic diagram of a first spherical surface and a second spherical surface in one embodiment;
[0039] Fig.13 is a schematic diagram of a crystal tilt angle in one embodiment;
[0040] Fig.14 is a schematic diagram of crystal thickness in one embodiment;
[0041] Fig.15 FIG. 4 is a schematic diagram of a scanned image in an embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] With the changes in the global population structure, natural and social environment, and lifestyle, eye-related problems such as glaucoma, cataracts, dry eyes, and myopia are becoming more and more common. "Eye health" has also become a hot topic of concern among people today. Lens parameters are of great significance for the determination of "eye health".
[0044] In the prior art, the crystal parameters of the user being tested are mostly determined by ultrasonic biomicroscopy.
[0045] However, the imaging accuracy of ultrasound biomicroscopy is poor, which leads to the problem of poor accuracy of crystal parameters determined by ultrasound biomicroscopy.
[0046] In view of this, the present application provides a method for determining crystal parameters, which can effectively improve the accuracy of crystal parameters.
[0047] The crystal parameter determination method provided in the present application may be executed by a computer device, which may be a terminal.
[0048] In an exemplary embodiment, Figure 1 As shown, a method for determining crystal parameters is provided, the method comprising the following steps:
[0049] Step 101: Control the OCT device to scan the eye to be inspected to obtain a target image containing the eye to be inspected.
[0050] The OCT (Optical Coherence Tomography) device refers to a device that can achieve high resolution and real-time imaging. The target image can be an anterior segment OCT image. The target image includes at least one B-scan.
[0051] In some exemplary embodiments, the OCT device may be controlled to scan the eye to be inspected based on a star scanning method to obtain a target image containing the eye to be inspected.
[0052] The OCT device can also be controlled to scan the eye to be inspected based on a raster scanning method to obtain a target image containing the eye to be inspected. The target images containing the eye to be inspected obtained by using a star scanning method and a raster scanning method are both three-dimensional data.
[0053] In other exemplary embodiments, the OCT device may be controlled to scan the eye to be inspected based on a single-line scanning method to obtain a target image containing the eye to be inspected, and the target image containing the eye to be inspected obtained by the single-line scanning method is two-dimensional data.
[0054] Step 102: perform image processing on the target image to obtain the corneal vertex, the anterior surface of the lens and the posterior surface of the lens of the eye to be inspected.
[0055] Optionally, when the target image is two-dimensional data, the corneal vertex may be the coordinates of the position of the corneal vertex; when the target image is three-dimensional data, the corneal vertex may be the coordinates of the projection position of the corneal vertex on the XY plane.
[0056] Optionally, the front surface of the crystal can be a crystal front surface curve or a crystal front surface curved surface, and the rear surface of the crystal can be a crystal rear surface curve or a crystal rear surface curved surface.
[0057] In some exemplary embodiments, the target image can be input into a pre-trained image processing model to obtain the corneal vertex, anterior surface of the lens, posterior surface of the lens, anterior and posterior surfaces of the cornea, and anterior and posterior surfaces of the iris of the eye being examined output by the image processing model.
[0058] In other exemplary embodiments, the target image can also be processed based on a layered algorithm to obtain the front surface of the lens, the back surface of the lens, the front and back surfaces of the cornea, and the front and back surfaces of the iris, and the target image can be subjected to light column detection to obtain the corneal vertex.
[0059] Step 103: determine the lens parameters of the eye to be inspected according to the corneal vertex, the front surface of the lens and the back surface of the lens.
[0060] Optionally, the crystal parameter refers to a data that can be used to describe the structure and function of the lens. The crystal parameter can be a crystal tilt angle, an eccentric distance, a crystal diameter, and a crystal thickness.
[0061] In some exemplary embodiments, the corneal apex, the anterior surface of the lens, and the posterior surface of the lens may be input into a pre-trained lens parameter determination model to obtain the lens parameters of the eye to be inspected output by the lens parameter determination model.
[0062] The above-mentioned method for determining crystal parameters first controls the OCT device to scan the eye to be inspected to obtain a target image containing the eye to be inspected, then performs image processing on the target image to obtain the corneal vertex, the anterior surface of the lens and the posterior surface of the lens of the eye to be inspected, and determines the crystal parameters of the eye to be inspected based on the corneal vertex, the anterior surface of the lens and the posterior surface of the lens. The method for determining crystal parameters provided in the present application determines crystal parameters based on the target image obtained by the OCT device, and the imaging accuracy of the OCT device is relatively high, thereby making the accuracy of the crystal parameters determined based on the target image also higher.
[0063] In an exemplary embodiment, the target image is processed to obtain the corneal vertex, the anterior surface of the lens, and the posterior surface of the lens of the eye to be inspected, including: performing layered processing on multiple B-scans contained in the target image to obtain the anterior surface of the lens and the posterior surface of the lens, and performing light column detection on the multiple B-scans to obtain the corneal vertex.
[0064] Optionally, the light column refers to a light column with relatively high intensity that appears in the middle of the anterior segment image when the center of the eye to be inspected is close to the center of the B-Scan.
[0065] In some exemplary embodiments, before performing layered processing on multiple B-scans included in the target image, the target image may be preprocessed. Specifically, the target image may be denoised.
[0066] Furthermore, after the target image is preprocessed, the multiple B-scans contained in the target image can be layered processed. Specifically, the multiple B-scans contained in the target image can be layered processed based on the Canny edge detection algorithm to obtain the front surface of the crystal and the back surface of the crystal.
[0067] Furthermore, it is necessary to perform light column detection on the multiple B-scans included in the target image to obtain the corneal vertex. The front surface of the lens, the back surface of the lens and the corneal vertex obtained by layering the target image and light column detection can be as follows: Fig.11 As shown. Fig.11In the figure, A is the anterior surface of the lens, B is the posterior surface of the lens, and C is the apex of the cornea.
[0068] In an exemplary embodiment, the lens parameters of the eye to be inspected are determined based on the corneal vertex, the front surface of the lens and the back surface of the lens, including: fitting the front surface of the lens and the back surface of the lens respectively based on a fitting algorithm to obtain fitting data, and determining the lens parameters of the eye to be inspected based on the fitting data.
[0069] Optionally, the fitting algorithm refers to an algorithm that can determine a curve or a curved surface based on the front edge surface of the crystal or the back surface of the crystal.
[0070] In some exemplary embodiments, the front surface of the lens and the back surface of the lens may be fitted separately based on the fitting algorithm to obtain fitting data, and then the lens parameters of the eye to be inspected may be determined based on the fitting data.
[0071] In other exemplary embodiments, the fitting data may also be determined using a pre-trained fitting model. Specifically, the front surface of the lens and the back surface of the lens may be input into a pre-trained fitting model to obtain fitting data output by the fitting model, and the lens parameters of the eye to be inspected may be determined based on the fitting data.
[0072] In an exemplary embodiment, Figure 2 As shown, the fitting data includes a first spherical surface and a second spherical surface, and the front surface of the lens and the back surface of the lens are respectively fitted based on a fitting algorithm to obtain fitting data, and the lens parameters of the eye to be inspected are determined according to the fitting data, including the following steps:
[0073] Step 201: performing fitting processing on the front surface of the crystal based on a fitting algorithm to obtain the first spherical surface, and performing fitting processing on the rear surface of the crystal based on the fitting algorithm to obtain the second spherical surface;
[0074] Step 202: Obtain a first radius and a first sphere center coordinate of the first sphere, and obtain a second radius and a second sphere center coordinate of the second sphere;
[0075] Step 203: determine the lens parameters according to the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex.
[0076] In some exemplary embodiments, when the target image is three-dimensional data, the fitting data includes a first spherical surface and a second spherical surface, and the front surface of the crystal and the back surface of the crystal are respectively fitted as spherical surface fitting based on the fitting algorithm. Specifically, spherical surface fitting can be performed based on the segmentation lines of the front surface of the crystal of each B-scan contained in the target image to obtain the first spherical surface; and spherical surface fitting can be performed based on the segmentation lines of the back surface of the crystal of each B-scan contained in the target image to obtain the second spherical surface.
[0077] Furthermore, the radius and the coordinates of the center of the first sphere obtained by spherical fitting are obtained as the first radius and the coordinates of the first center of the sphere, the radius and the left side of the center of the second sphere obtained by spherical fitting are obtained as the second radius and the coordinates of the second center of the sphere, and the crystal parameters are determined based on the first radius, the first center of the sphere coordinates, the second radius, the second center of the sphere coordinates and the corneal vertex.
[0078] In an optional embodiment of the present application, the fitting data includes a first curve and a second curve, and the front surface of the crystal and the back surface of the crystal are fitted based on a fitting algorithm to obtain fitting data, and the crystal parameters of the eye to be inspected are determined based on the fitting data, including: fitting the front surface of the crystal based on a fitting algorithm to obtain a first curve, and fitting the back surface of the crystal based on the fitting algorithm to obtain a second curve; determining a third radius and a first circle center coordinate based on the first curve, and determining a fourth radius and a second circle center coordinate based on the second curve, the third radius and the first circle center coordinate being the radius and circle center coordinate of the circle corresponding to the first curve, and the fourth radius and the second circle center coordinate being the radius and circle center coordinate of the circle corresponding to the second curve; determining the crystal parameters based on the third radius, the first circle center coordinate, the fourth radius, the second circle center coordinate and the corneal vertex.
[0079] In some exemplary embodiments, when the target image is two-dimensional data, the fitting data includes a first curve and a second curve, and the front surface of the crystal and the back surface of the crystal are respectively fitted as circle fitting based on the fitting algorithm. Specifically, the front surface of the crystal and the back surface of the crystal can be respectively fitted based on the fitting algorithm to obtain the first curve and the second curve; the radius and the center coordinates of the circle corresponding to the first curve obtained by fitting are determined as the third radius and the first center coordinates, and the radius and the center coordinates of the circle corresponding to the second curve obtained by fitting are determined as the fourth radius and the second center coordinates; and the crystal parameters are determined based on the third radius, the first center coordinates, the fourth radius, the second center coordinates and the corneal vertex.
[0080] It should be noted that, in actual use, three-dimensional scanning is mainly used, that is, the target images are mostly three-dimensional data, and two-dimensional data processing is a simplified form of three-dimensional data processing. Therefore, the subsequent calculation of crystal parameters mainly takes three-dimensional data as an example, and the two-dimensional data only needs to be simply deformed.
[0081] In an exemplary embodiment, Figure 3 As shown, the method for determining the lens parameters according to the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex includes the following steps:
[0082] Step 301: when the crystal parameter is the crystal tilt angle of the eye to be inspected, determine a first distance between a first center of the first spherical surface and a second center of the second spherical surface on a preset projection plane according to the first radius, the first spherical center coordinates, the second radius, and the second spherical center coordinates;
[0083] Step 302: determining a second distance between the first sphere center and the second sphere center according to the first sphere center coordinates and the second sphere center coordinates;
[0084] Step 303: determine the crystal tilt angle according to the first distance and the second distance.
[0085] Optionally, the preset projection plane may be an XY projection plane, and the first distance is the first distance between the first center of the first spherical surface and the second center of the second spherical surface on the XY projection plane.
[0086] In some exemplary embodiments, Fig.12 As shown, Fig.12 is a schematic diagram of a first spherical surface and a second spherical surface, wherein c1 is the first center coordinate of the first spherical surface, c2 is the second center coordinate of the second spherical surface, r1 is the first radius, and r2 is the second radius.
[0087] In the case where the crystal parameter is the crystal tilt angle of the eye to be inspected, the first distance between the first center of the first spherical surface and the second center of the second spherical surface on the preset projection plane can be determined first. The first distance can be expressed as dXY, where dXY=sqrt((c1(x)-c2(x))^2+(c1(y)-c2(y))^2), wherein c1(x) refers to the x-axis coordinate of the first center, c1(y) refers to the y-axis coordinate of the first center, c2(x) refers to the x-axis coordinate of the second center, and c2(y) refers to the y-axis coordinate of the second center. The second distance can be expressed as d, where d=|c1-c2|.
[0088] Further, after determining the first distance and the second distance, the crystal tilt angle can be determined according to the first distance and the second distance. The crystal tilt angle can be expressed as theta, theta = atan (dXY / d). The crystal tilt angle can be expressed as Fig.13 As shown, Fig.13 The A in is the tilt angle of the crystal.
[0089] In an exemplary embodiment, Figure 4 As shown, the method for determining the lens parameters according to the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex includes the following steps:
[0090] Step 401: when the crystal parameter is the eccentric distance of the eye to be inspected, determine a second distance between a first spherical center of the first spherical surface and a second spherical center of the second spherical surface according to the first spherical center coordinates and the second spherical center coordinates;
[0091] Step 402: determining a first intersection point according to the second distance, the first sphere center coordinates, the second sphere center coordinates and the first radius, the first intersection point being an intersection point of a line connecting the first sphere center and the second sphere center and an intersection plane;
[0092] Step 403: determine the eccentricity distance according to the first intersection point and the corneal vertex.
[0093] In some exemplary embodiments, when the crystal parameter is the eccentricity distance of the eye to be inspected, the second distance between the first center of the first spherical surface and the second center of the second spherical surface can be determined based on the first center coordinates and the second center coordinates. The specific method for determining the second distance can refer to the content described above and will not be repeated here.
[0094] Furthermore, the coordinates of the first intersection point between the line connecting the first sphere center and the second sphere center and the intersection plane are determined according to the second distance, the first sphere center coordinates, the second sphere center coordinates and the first radius. Fig.12 As shown, the first intersection point is Fig.12 The coordinate of ci in , the coordinate of ci can be expressed as ci = [xi, yi], ci = c1 + (c2-c1) * a / d, where a = (r1*r1-r2*r2+d*d) / (2d).
[0095] Furthermore, the eccentricity distance can be determined according to the first intersection point and the corneal vertex. Specifically, the projection coordinates of the corneal vertex on the XY plane can be determined first. Assuming that the projection coordinates of the corneal vertex on the XY plane are [x0, y0], the eccentricity distance can be expressed as Decentration, then
[0096] Decentration=sqrt((xi-x0)^2+(yi-y0)^2).
[0097] In an exemplary embodiment, Figure 5 As shown, the method for determining the lens parameters according to the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex includes the following steps:
[0098] Step 501: when the crystal parameter is the crystal diameter of the eye to be inspected, determine a second distance between a first spherical center of the first spherical surface and a second spherical center of the second spherical surface according to the first spherical center coordinates and the second spherical center coordinates;
[0099] Step 502: determine the lens radius of the eye to be inspected according to the second distance, the first radius and the second radius, and determine the lens diameter according to the crystal radius.
[0100] Optionally, the crystal radius is also the radius of the intersection plane of the first spherical surface and the second spherical surface. Fig.12 As shown, Fig.12 The ri in is the radius of the intersection plane.
[0101] In some exemplary embodiments, when the crystal parameter is the crystal diameter of the eye to be inspected, the second distance between the first center of the first spherical surface and the second center of the second spherical surface can be determined based on the first center coordinates and the second center coordinates. The specific method for determining the second distance can refer to the content described above and will not be repeated here.
[0102] Further, after determining the second distance, the crystal radius of the eye to be inspected can be determined according to the second distance, the first radius and the second radius, and the crystal diameter can be determined according to the crystal radius. Specifically, ri=sqrt(r1*r1-h*h*d*d), where h=0.5+(r1*r1-r2*r2) / (2*d*d), and the crystal diameter is 2ri.
[0103] In an exemplary embodiment, Figure 6 As shown, the method for determining the lens parameters according to the first radius, the first sphere center coordinates, the second radius, the second sphere center coordinates and the corneal vertex includes the following steps:
[0104] Step 601: When the crystal parameter is the crystal thickness of the eye to be inspected, determine a second intersection point according to the front surface of the crystal.
[0105] The second intersection point is the intersection point of the visual axis and the front surface of the lens.
[0106] Step 602: determine a third intersection point according to the rear surface of the crystal.
[0107] The third intersection point is the intersection point of the visual axis and the rear surface of the lens.
[0108] Step 603: determine a third distance between the second intersection point and the third intersection point, and determine the third distance as the crystal thickness.
[0109] In some exemplary embodiments, when the crystal parameter is the crystal thickness of the eye to be inspected, the coordinates of the second intersection point of the front surface of the crystal and the visual axis can be determined first, and the coordinates of the third intersection point of the back surface of the crystal and the visual axis can be determined.
[0110] Further, a third distance between the second intersection and the third intersection can be determined, and the third distance can be determined as the crystal thickness. Specifically, assuming that the coordinates of the second intersection are [x2, y2], and the coordinates of the third intersection are [x3, y3], then the third distance is sqrt((x3-x2)^2+(y3-y2)^2), and the crystal thickness can be as follows Fig.14 As shown, Fig.14 B in the figure is the crystal thickness.
[0111] In an exemplary embodiment, Figure 7 As shown, after determining the lens parameters of the eye to be inspected according to the corneal vertex, the front surface of the lens and the back surface of the lens, the method further includes the following steps:
[0112] Step 701: In the target image, the front surface of the crystal, the back surface of the crystal, the first spherical surface and the second spherical surface are rendered to obtain a scanned image;
[0113] Step 702: Display the scanned image and the crystal parameters.
[0114] In some exemplary embodiments, after the lens parameters of the eye to be inspected are determined according to the corneal vertex, the front surface of the lens, and the back surface of the lens, the front surface of the lens, the back surface of the lens, the first spherical surface, and the second spherical surface may be rendered in the target image to obtain a scanned image. The scanned image may be Fig.15 As shown, in Fig.15 In the embodiment, the front surface of the crystal, the rear surface of the crystal, the first spherical surface and the second spherical surface are all rendered, and the front surface of the crystal, the rear surface of the crystal, the first spherical surface and the second spherical surface are marked with colored lines, wherein the front surface of the crystal and the rear surface of the crystal are displayed by solid lines of the same color. The result of spherical fitting, that is, the first spherical surface and the second spherical surface are displayed by dotted lines of another color, and the intersection plane of the front and rear surfaces of the crystal is represented by a straight line, and the color used is the same as the spherical fitting line. The scanned image can also include a numerical display area, and the crystal parameter settings are displayed in the numerical display area.
[0115] In an exemplary embodiment, Figure 8 As shown, another method for determining crystal parameters is provided, the method comprising the following steps:
[0116] Step 801: Control the OCT device to scan the eye to be inspected to obtain a target image containing the eye to be inspected; perform layered processing on multiple B-scans contained in the target image to obtain the front surface of the lens and the back surface of the lens, and perform light column detection on the multiple B-scans to obtain the corneal vertex;
[0117] Step 802: Perform fitting processing on the front surface of the crystal based on a fitting algorithm to obtain the first spherical surface, and perform fitting processing on the back surface of the crystal based on the fitting algorithm to obtain the second spherical surface; obtain a first radius and a first spherical center coordinate of the first spherical surface, and obtain a second radius and a second spherical center coordinate of the second spherical surface;
[0118] Step 803: when the crystal parameter is the crystal tilt angle of the eye to be inspected, determine a first distance between the first center of the first spherical surface and the second center of the second spherical surface on a preset projection plane according to the first radius, the first spherical center coordinates, the second radius, and the second spherical center coordinates; determine a second distance between the first spherical center and the second spherical center according to the first spherical center coordinates and the second spherical center coordinates; and determine the crystal tilt angle according to the first distance and the second distance.
[0119] Step 804: when the crystal parameter is the eccentric distance of the eye to be inspected, determine the second distance between the first center of the first spherical surface and the second center of the second spherical surface according to the first center coordinates and the second center coordinates; determine a first intersection point according to the second distance, the first center coordinates, the second center coordinates and the first radius, the first intersection point being the intersection point of a line connecting the first center and the second center and an intersection plane; determine the eccentric distance according to the first intersection point and the corneal vertex;
[0120] Step 805: when the crystal parameter is the crystal diameter of the eye to be inspected, determine a second distance between a first center of the first spherical surface and a second center of the second spherical surface according to the first spherical center coordinates and the second spherical center coordinates; determine a crystal radius of the eye to be inspected according to the second distance, the first radius, and the second radius, and determine the crystal diameter according to the crystal radius;
[0121] Step 806: when the crystal parameter is the crystal thickness of the eye to be inspected, determine a second intersection point according to the front surface of the crystal, the second intersection point being the intersection point of the visual axis and the front surface of the crystal; determine a third intersection point according to the back surface of the crystal, the third intersection point being the intersection point of the visual axis and the back surface of the crystal; determine a third distance between the second intersection point and the third intersection point, and determine the third distance as the crystal thickness;
[0122] Step 807: In the target image, the front surface of the crystal, the back surface of the crystal, the first spherical surface and the second spherical surface are rendered to obtain a scanned image; and the scanned image and the crystal parameters are displayed.
[0123] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0124] Based on the same inventive concept, the embodiment of the present application also provides a crystal parameter determination device for implementing the crystal parameter determination method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more crystal parameter determination device embodiments provided below can refer to the limitations of the crystal parameter determination method above, and will not be repeated here.
[0125] In an exemplary embodiment, Fig. 9 As shown, a crystal parameter determination device 900 is provided, comprising: a control module 901, an execution module 902 and a determination module 903, wherein:
[0126] A control module 901 is used to control the OCT device to scan the eye to be inspected to obtain a target image containing the eye to be inspected;
[0127] An execution module 902 is used to perform image processing on the target image to obtain the corneal vertex, the front surface of the lens and the back surface of the lens of the eye to be inspected;
[0128] The determination module 903 is used to determine the lens parameters of the eye to be inspected according to the corneal vertex, the front surface of the lens and the back surface of the lens.
[0129] In one embodiment, the execution module 902 is specifically used to perform layered processing on multiple B-scans included in the target image to obtain the front surface of the lens and the back surface of the lens, and perform light column detection on the multiple B-scans to obtain the corneal apex.
[0130] In one embodiment, the execution module 903 is specifically used to perform fitting processing on the front surface of the lens and the back surface of the lens respectively based on the fitting algorithm to obtain fitting data, and determine the lens parameters of the eye to be inspected according to the fitting data.
[0131] In one embodiment, the fitting data includes a first spherical surface and a second spherical surface, and the execution module 903 is specifically used to fit the front surface of the lens based on the fitting algorithm to obtain the first spherical surface, and to fit the back surface of the lens based on the fitting algorithm to obtain the second spherical surface; obtain the first radius and the first spherical center coordinates of the first spherical surface, and obtain the second radius and the second spherical center coordinates of the second spherical surface; determine the crystal parameters according to the first radius, the first spherical center coordinates, the second radius, the second spherical center coordinates and the corneal vertex.
[0132] In one embodiment, the execution module 903 is specifically used to determine, when the crystal parameter is the crystal inclination angle of the eye to be inspected, a first distance between the first center of the first spherical surface and the second center of the second spherical surface on a preset projection plane according to the first radius, the first center of the sphere coordinates, the second radius, and the second center of the sphere coordinates; determine the second distance between the first center of the sphere and the second center of the sphere according to the first center of the sphere coordinates and the second center of the sphere coordinates; and determine the crystal inclination angle according to the first distance and the second distance.
[0133] In one embodiment, the execution module 903 is specifically used to determine the second distance between the first center of the first spherical surface and the second center of the second spherical surface according to the first center coordinates and the second center coordinates when the crystal parameter is the eccentricity distance of the eye to be inspected; determine the first intersection point according to the second distance, the first center coordinates, the second center coordinates and the first radius, the first intersection point being the intersection point of the line connecting the first center and the second center and the intersection plane; determine the eccentricity distance according to the first intersection point and the corneal vertex.
[0134] In one embodiment, the execution module 903 is specifically used to determine the second distance between the first center of the first spherical surface and the second center of the second spherical surface according to the first center coordinates and the second center coordinates when the crystal parameter is the crystal diameter of the eye to be inspected; determine the crystal radius of the eye to be inspected according to the second distance, the first radius and the second radius; and determine the crystal diameter according to the crystal radius.
[0135] In one embodiment, the execution module 903 is specifically used to determine a second intersection point based on the front surface of the crystal when the crystal parameter is the crystal thickness of the eye to be inspected, and the second intersection point is the intersection point of the visual axis and the front surface of the crystal; determine a third intersection point based on the back surface of the crystal, and the third intersection point is the intersection point of the visual axis and the back surface of the crystal; determine a third distance between the second intersection point and the third intersection point, and determine the third distance as the crystal thickness.
[0136] In one embodiment, after determining the lens parameters of the eye to be inspected based on the corneal vertex, the front surface of the lens and the back surface of the lens, the execution module 903 is also used to render the front surface of the lens, the back surface of the lens, the first spherical surface and the second spherical surface in the target image to obtain a scanned image; and display the scanned image and the crystal parameters.
[0137] Each module in the above-mentioned crystal parameter determination device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0138] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for determining crystal parameters is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0139] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0140] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0141] Controlling the OCT device to scan the eye to be inspected to obtain a target image containing the eye to be inspected;
[0142] Performing image processing on the target image to obtain the corneal vertex, the anterior surface of the lens and the posterior surface of the lens of the eye to be inspected;
[0143] The lens parameters of the eye to be inspected are determined based on the corneal apex, the anterior surface of the lens, and the posterior surface of the lens.
[0144] In one embodiment, when the processor executes the computer program, the following steps are also implemented: performing layered processing on multiple B-scans contained in the target image to obtain the front surface of the lens and the back surface of the lens, and performing light column detection on the multiple B-scans to obtain the corneal vertex.
[0145] In one embodiment, when the processor executes the computer program, the following steps are also implemented: fitting the front surface and the back surface of the lens respectively based on the fitting algorithm to obtain fitting data, and determining the lens parameters of the eye to be inspected according to the fitting data.
[0146] In one embodiment, the processor also implements the following steps when executing the computer program: fitting the front surface of the lens based on a fitting algorithm to obtain the first spherical surface, and fitting the back surface of the lens based on the fitting algorithm to obtain the second spherical surface; obtaining the first radius and the first spherical center coordinates of the first spherical surface, and obtaining the second radius and the second spherical center coordinates of the second spherical surface; determining the lens parameters based on the first radius, the first spherical center coordinates, the second radius, the second spherical center coordinates and the corneal vertex.
[0147] In one embodiment, the processor also implements the following steps when executing the computer program: when the crystal parameter is the crystal inclination angle of the eye to be inspected, determine the first distance between the first center of the first spherical surface and the second center of the second spherical surface on a preset projection plane according to the first radius, the first center of the sphere coordinates, the second radius, and the second center of the sphere coordinates; determine the second distance between the first center of the sphere and the second center of the sphere according to the first center of the sphere coordinates and the second center of the sphere coordinates; and determine the crystal inclination angle according to the first distance and the second distance.
[0148] In one embodiment, the processor also implements the following steps when executing the computer program: when the crystal parameter is the eccentricity distance of the eye to be inspected, determining the second distance between the first center of the first spherical surface and the second center of the second spherical surface according to the first center coordinates and the second center coordinates; determining the first intersection point according to the second distance, the first center coordinates, the second center coordinates and the first radius, the first intersection point being the intersection point of the line connecting the first center and the second center and the intersection plane; determining the eccentricity distance according to the first intersection point and the corneal vertex.
[0149] In one embodiment, the processor also implements the following steps when executing the computer program: when the crystal parameter is the crystal diameter of the eye to be inspected, determining the second distance between the first center of the first spherical surface and the second center of the second spherical surface according to the first center coordinates and the second center coordinates; determining the crystal radius of the eye to be inspected according to the second distance, the first radius and the second radius, and determining the crystal diameter according to the crystal radius.
[0150] In one embodiment, the processor also implements the following steps when executing the computer program: when the crystal parameter is the crystal thickness of the eye to be inspected, determining a second intersection point based on the front surface of the crystal, the second intersection point being the intersection point of the visual axis and the front surface of the crystal; determining a third intersection point based on the back surface of the crystal, the third intersection point being the intersection point of the visual axis and the back surface of the crystal; determining a third distance between the second intersection point and the third intersection point, and determining the third distance as the crystal thickness.
[0151] In one embodiment, when the processor executes the computer program, the following steps are also implemented: in the target image, the front surface of the crystal, the back surface of the crystal, the first spherical surface and the second spherical surface are rendered to obtain a scanned image; and the scanned image and the crystal parameters are displayed.
[0152] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0153] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the method described in any of the above embodiments when executed by a processor.
[0154] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited thereto.
[0155] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0156] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining crystal parameters, characterized in that: The method comprises: Controlling the OCT device to scan the eye to be inspected to obtain a target image including the eye to be inspected; Performing image processing on the target image to obtain the corneal vertex, the anterior surface of the lens and the posterior surface of the lens of the eye to be inspected; The lens parameters of the eye to be inspected are determined based on the corneal apex, the anterior surface of the lens, and the posterior surface of the lens.
2. The method according to claim 1, characterized in that The image processing of the target image to obtain the corneal vertex, the front surface of the lens and the back surface of the lens of the eye to be inspected includes: The multiple B-scans included in the target image are subjected to layered processing to obtain the front surface of the lens and the back surface of the lens, and the multiple B-scans are subjected to light column detection to obtain the corneal apex.
3. The method according to claim 1, characterized in that The step of determining the lens parameters of the eye to be inspected according to the corneal vertex, the front surface of the lens, and the back surface of the lens comprises: The front surface of the lens and the back surface of the lens are fitted based on a fitting algorithm to obtain fitting data, and the lens parameters of the eye to be inspected are determined according to the fitting data.
4. The method according to claim 3, characterized in that The fitting data includes a first spherical surface and a second spherical surface, and the front surface of the lens and the back surface of the lens are respectively fitted based on a fitting algorithm to obtain fitting data, and the lens parameters of the eye to be inspected are determined according to the fitting data, including: Performing a fitting process on the front surface of the crystal based on a fitting algorithm to obtain the first spherical surface, and performing a fitting process on the back surface of the crystal based on the fitting algorithm to obtain the second spherical surface; Obtaining a first radius and a first spherical center coordinate of the first spherical surface, and obtaining a second radius and a second spherical center coordinate of the second spherical surface; The lens parameters are determined according to the first radius, the first spherical center coordinates, the second radius, the second spherical center coordinates and the corneal vertex.
5. The method according to claim 4, characterized in that The determining the lens parameters according to the first radius, the first spherical center coordinates, the second radius, the second spherical center coordinates and the corneal vertex includes: When the crystal parameter is the crystal tilt angle of the eye to be inspected, determining a first distance between a first center of the first spherical surface and a second center of the second spherical surface on a preset projection plane according to the first radius, the first spherical center coordinates, the second radius, and the second spherical center coordinates; Determine a second distance between the first spherical center and the second spherical center according to the first spherical center coordinates and the second spherical center coordinates; The crystal tilt angle is determined according to the first distance and the second distance.
6. The method according to claim 4, characterized in that The determining the lens parameters according to the first radius, the first spherical center coordinates, the second radius, the second spherical center coordinates and the corneal vertex includes: When the crystal parameter is the eccentricity distance of the eye to be inspected, determining a second distance between a first spherical center of the first spherical surface and a second spherical center of the second spherical surface according to the first spherical center coordinates and the second spherical center coordinates; Determine a first intersection point according to the second distance, the first spherical center coordinates, the second spherical center coordinates and the first radius, where the first intersection point is an intersection point of a line connecting the first spherical center and the second spherical center and an intersection plane; The decentering distance is determined based on the first intersection point and the corneal apex.
7. The method according to claim 4, characterized in that The determining the lens parameters according to the first radius, the first spherical center coordinates, the second radius, the second spherical center coordinates and the corneal vertex includes: When the crystal parameter is the crystal diameter of the eye to be inspected, determining a second distance between a first spherical center of the first spherical surface and a second spherical center of the second spherical surface according to the first spherical center coordinates and the second spherical center coordinates; The lens radius of the eye to be inspected is determined based on the second distance, the first radius, and the second radius, and the lens diameter is determined based on the crystal radius.
8. The method according to claim 4, characterized in that The determining the lens parameters according to the first radius, the first spherical center coordinates, the second radius, the second spherical center coordinates and the corneal vertex includes: In a case where the crystal parameter is the crystal thickness of the eye to be inspected, determining a second intersection point according to the front surface of the crystal, the second intersection point being the intersection point of the visual axis and the front surface of the crystal; Determine a third intersection point according to the rear surface of the lens, wherein the third intersection point is the intersection point of the visual axis and the rear surface of the lens; A third distance between the second intersection point and the third intersection point is determined, and the third distance is determined as the crystal thickness.
9. The method according to claim 4, characterized in that After determining the lens parameters of the eye to be inspected according to the corneal vertex, the front surface of the lens, and the back surface of the lens, the method further includes: In the target image, rendering is performed on the front surface of the crystal, the back surface of the crystal, the first spherical surface, and the second spherical surface to obtain a scanned image; The scanned image and the crystal parameters are displayed.
10. A crystal parameter determination device, characterized in that: The device comprises: A control module, used for controlling the OCT device to scan the eye to be inspected, so as to obtain a target image containing the eye to be inspected; An execution module, used for performing image processing on the target image to obtain the corneal vertex, the front surface of the lens and the back surface of the lens of the eye to be inspected; A determination module is used to determine the lens parameters of the eye to be inspected according to the corneal apex, the front surface of the lens and the back surface of the lens.