Method for determining eye parameters based on identification result of intraocular lens and electronic equipment
By identifying and searching the target curve in the anterior segment B-scan image, combined with the active contour model and pixel evaluation standards, the efficiency and accuracy problems in the existing technology of identifying whether the user's eye has an intraocular lens implanted and determining the eye parameters are solved. , achieving fast and accurate eye examination results.
Patent Information
- Application Number
- CN202410814282.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology is difficult to quickly and accurately identify whether a user has an intraocular lens implanted in the eye and determine eye parameters, which affects the efficiency and accuracy of eye examinations for users with intraocular lens implants.
By acquiring the anterior segment B-scan image, the area of interest is determined and the target curve is searched. The eye parameters are determined based on the target curve. The active contour model is used for iterative search. The candidate is established based on the evaluation criteria of the pixel average intensity and the natural lens front surface curve. Curve accuracy.
It achieves automatic identification of whether the user has an intraocular lens implanted in the eye and determines eye parameters quickly and accurately, improving the efficiency and accuracy of eye examinations for users with intraocular lens implants.
Smart Images

Figure CN118736658A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of optical coherence tomography technology, and in particular to a method and electronic device for determining eye parameters based on the recognition results of an artificial lens. Background Art
[0002] Artificial lenses (Implantable Contact Lens, ICL), also known as implantable contact lenses, can correct high myopia, hyperopia and astigmatism by implanting artificial lenses between the iris and the natural lens.
[0003] There is an urgent need to develop a method for automatically identifying whether an artificial lens is implanted in a user's eye and determining eye parameters based on eye images of users who have implanted artificial lenses, so as to provide fast and accurate eye examination results for users who have implanted artificial lenses. Summary of the invention
[0004] Based on this, it is necessary to provide a method and electronic device for quickly and accurately determining eye parameters based on the recognition results of artificial lenses to address the above technical problems.
[0005] In a first aspect, the present application provides a method for determining eye parameters based on an intraocular lens recognition result, comprising:
[0006] Acquire an anterior segment B-scan image of the eye to be inspected, and determine a region of interest from the anterior segment B-scan image; search for a target curve in the region of interest to obtain a search result of the target curve, where the target curve is a posterior surface curve of an intraocular lens; and determine eye parameters of the eye to be inspected based on the target curve when the search result indicates that the target curve exists in the region of interest.
[0007] In one of the embodiments, searching the target curve in the region of interest to obtain a search result of the target curve includes: determining a candidate curve in the region of interest, and determining the candidate curve as the target curve if the candidate curve meets a preset evaluation criterion.
[0008] In one of the embodiments, determining the candidate curve in the region of interest includes: searching in the region of interest in an iterative manner based on an active contour model to determine the candidate curve.
[0009] In one embodiment, the preset evaluation criteria include at least one of the following: the average pixel intensity of the candidate curve and the average pixel intensity of the front surface curve of the natural crystal meet a first preset condition; the average pixel intensity of the candidate curve and the average pixel intensity of the region of interest meet a second preset condition; the candidate curve does not completely overlap with the front surface curve of the natural crystal.
[0010] In one of the embodiments, when the candidate curve meets a preset evaluation criterion, determining the candidate curve as the target curve includes: when multiple candidate curves meet the preset evaluation criterion, determining the candidate curve with the largest average pixel intensity among the multiple candidate curves as the target curve.
[0011] In one embodiment, the method of acquiring an anterior segment B-scan image of the eye to be inspected and determining a region of interest from the anterior segment B-scan image includes: controlling OCT to scan the anterior segment of the eye to be inspected to obtain the anterior segment B-scan image of the eye to be inspected; and determining the region of interest from the anterior segment B-scan image according to a region of interest width threshold and a region of interest height threshold.
[0012] In one embodiment, the region of interest is determined from the anterior segment B-scan image based on a region of interest width threshold and a region of interest height threshold, including: performing layering processing and feature recognition processing on the anterior segment B-scan image to determine the posterior surface curve of the cornea of the eye to be inspected, the anterior surface curve of the natural lens of the eye to be inspected, the anterior surface curve of the iris of the eye to be inspected, and the scleral convex point of the eye to be inspected; determining the region of interest width threshold based on the anterior surface curve of the iris, and determining the region of interest height threshold based on the anterior surface curve of the natural lens and the posterior surface curve of the cornea of the eye to be inspected; determining the region of interest from the anterior segment B-scan image based on the region of interest width threshold and the region of interest height threshold.
[0013] In one embodiment, the eye parameter of the eye to be inspected is determined according to the target curve, including: when the eye parameter of the eye to be inspected is the arch height of the artificial lens, a first intersection is determined according to the scleral prominence and the target curve, the first intersection being the intersection of the perpendicular bisector of the connecting line of the scleral prominence and the target curve; a second intersection is determined according to the scleral prominence and the front surface curve of the natural lens, the second intersection being the intersection of the perpendicular bisector of the connecting line of the scleral prominence and the front surface curve of the natural lens; and the arch height of the artificial lens is determined according to the distance between the first intersection and the second intersection.
[0014] In one embodiment, determining the candidate curve in the region of interest includes: inputting the image corresponding to the region of interest into a pre-trained candidate curve determination model to obtain the candidate curve output by the candidate curve determination model.
[0015] In one embodiment, the method further includes: receiving an adjustment instruction for the first intersection, and if the adjustment instruction meets a preset condition, adjusting the first intersection based on the adjustment instruction; and determining the arch height of the artificial lens based on the distance between the adjusted first intersection and the second intersection.
[0016] In a second aspect, the present application further provides a device for determining eye parameters based on the recognition result of an artificial lens, comprising:
[0017] An acquisition module, used for acquiring a B-scan image of the anterior segment of the eye to be inspected, and determining a region of interest from the B-scan image of the anterior segment of the eye to be inspected;
[0018] An execution module is used to search for a target curve in the region of interest to obtain a search result of the target curve, where the target curve is a back surface curve of the intraocular lens;
[0019] The determination module is used to determine the eye parameters of the eye to be inspected according to the target curve when the search result indicates that the target curve exists in the region of interest.
[0020] In one embodiment, the execution module is specifically configured to determine a candidate curve in the region of interest, and determine the candidate curve as the target curve if the candidate curve meets a preset evaluation criterion.
[0021] In one embodiment, the execution module is specifically configured to perform an iterative search in the region of interest based on the active contour model to determine the candidate curve.
[0022] In one embodiment, the preset evaluation criteria include at least one of the following: the average pixel intensity of the candidate curve and the average pixel intensity of the front surface curve of the natural crystal meet a first preset condition; the average pixel intensity of the candidate curve and the average pixel intensity of the region of interest meet a second preset condition; the candidate curve does not completely overlap with the front surface curve of the natural crystal.
[0023] In one embodiment, the execution module is specifically configured to determine, when the plurality of candidate curves all meet the preset evaluation criteria, a candidate curve with the largest average pixel intensity among the plurality of candidate curves as the target curve.
[0024] In one embodiment, the acquisition module is specifically used to control OCT to scan the anterior segment of the eye to be inspected to obtain a B-scan image of the anterior segment of the eye to be inspected; and determine the region of interest from the anterior segment B-scan image according to a region of interest width threshold and a region of interest height threshold.
[0025] In one embodiment, the acquisition module is specifically used to perform layering processing and feature recognition processing on the anterior segment B-scan image to determine the posterior surface curve of the cornea of the eye to be inspected, the anterior surface curve of the natural lens of the eye to be inspected, the anterior surface curve of the iris of the eye to be inspected, and the scleral convex point of the eye to be inspected; determine the width threshold of the region of interest based on the anterior surface curve of the iris, and determine the height threshold of the region of interest based on the anterior surface curve of the natural lens and the posterior surface curve of the cornea of the eye to be inspected; determine the region of interest from the anterior segment B-scan image based on the region of interest width threshold and the region of interest height threshold.
[0026] In one embodiment, the determination module is specifically used to determine a first intersection point based on the scleral convex point and the target curve when the ocular parameter of the eye to be examined is the arch height of the artificial lens, the first intersection point being the intersection point of the perpendicular bisector of the connecting line of the scleral convex point and the target curve; determine a second intersection point based on the scleral convex point and the front surface curve of the natural lens, the second intersection point being the intersection point of the perpendicular bisector of the connecting line of the scleral convex point and the front surface curve of the natural lens; determine the arch height of the artificial lens based on the distance between the first intersection point and the second intersection point.
[0027] In one embodiment, the execution model is specifically used to input the image corresponding to the region of interest into a pre-trained candidate curve determination model to obtain the candidate curve output by the candidate curve determination model.
[0028] In one embodiment, the determination module is also used to receive an adjustment instruction for the first intersection, and when the adjustment instruction meets a preset condition, adjust the first intersection based on the adjustment instruction; and determine the arch height of the artificial lens based on the distance between the adjusted first intersection and the second intersection.
[0029] In a third aspect, the present application further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any one of the embodiments of the first aspect above is implemented.
[0030] 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 method described in any one of the embodiments of the first aspect above.
[0031] 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 method described in any embodiment of the first aspect above.
[0032] The above-mentioned method, device, electronic device, computer-readable storage medium and computer program product for determining eye parameters based on the recognition result of an artificial lens first obtain an anterior segment B-scan image of the eye to be inspected, and determine a region of interest from the anterior segment B-scan image; search for a target curve in the region of interest to obtain a search result of the target curve, the target curve being the posterior surface curve of the artificial lens; when the search result indicates that the target curve exists in the region of interest, determine the eye parameters of the eye to be inspected according to the target curve. The method for determining eye parameters based on the recognition result of an artificial lens provided in the present application is adopted to search for a target curve in the region of interest in a B-scan image to realize automatic recognition of whether an artificial lens is implanted in the user's eye, and when the search result indicates that the target curve exists in the region of interest, quickly and accurately determine the eye parameters of the eye to be inspected according to the target curve, thereby providing users with implanted artificial lenses with fast and accurate eye examination results. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] 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.
[0034] Figure 1 A schematic flow chart of a method for determining eye parameters based on an intraocular lens recognition result in one embodiment;
[0035] Figure 2 is a flow chart of a method for determining a region of interest from the anterior segment B-scan image in one embodiment;
[0036] Figure 3 It is a flowchart of a method for determining the region of interest from the anterior segment B-scan image according to the region of interest width threshold and the region of interest height threshold in one embodiment;
[0037] Figure 4 A schematic flow chart of a method for determining the vault height of the intraocular lens according to the target curve in one embodiment;
[0038] Figure 5 is a flow chart of a method after receiving an adjustment instruction for the first intersection in one embodiment;
[0039] Figure 6 A schematic flow chart of a method for determining eye parameters based on an intraocular lens recognition result in another embodiment;
[0040] Figure 7 A structural block diagram of an apparatus for determining eye parameters based on an intraocular lens recognition result in one embodiment;
[0041] Figure 8 is an internal structure diagram of a computer device in one embodiment;
[0042] Fig. 9 A schematic diagram of a sub-region of interest in one embodiment;
[0043] Fig.10 A schematic diagram of a sub-region of interest in another embodiment;
[0044] Fig.11 Schematic diagram of a first intersection and a second intersection in one embodiment. DETAILED DESCRIPTION
[0045] 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.
[0046] Artificial lenses (Implantable Contact Lens, ICL), also known as implantable contact lenses, can correct high myopia, hyperopia and astigmatism by implanting artificial lenses between the iris and the natural lens.
[0047] There is an urgent need to develop a method for automatically identifying whether a user has an artificial lens implanted in the eye and determining the arch height based on the eye image of the user who has an artificial lens implanted, so as to provide fast and accurate eye examination results for users with artificial lenses implanted.
[0048] In view of this, the present application provides a method for determining eye parameters based on the recognition results of an artificial lens, which can quickly and accurately determine the eye parameters of the eye being examined, and further provide users with implanted artificial lenses with fast and accurate eye examination results.
[0049] The method for determining eye parameters based on the recognition result of an artificial lens provided in the present application may be executed by a computer device, which may be a terminal.
[0050] In an exemplary embodiment, Figure 1 As shown, a method for determining eye parameters based on the recognition result of an artificial lens is provided, and the method comprises the following steps:
[0051] Step 101: Acquire an anterior segment B-scan image of the eye to be inspected, and determine a region of interest from the anterior segment B-scan image.
[0052] The B-scan image is a two-dimensional cross-sectional image, which is generated by scanning the OCT beam transversely across the eye to be examined.
[0053] Optionally, the region of interest refers to an area to be processed that is outlined in the anterior segment B-scan image in the form of a box, circle, ellipse, irregular polygon, etc. In an embodiment of the present application, the region of interest refers to an area in the anterior segment B-scan image that may contain a posterior surface curve of an intraocular lens.
[0054] In one possible implementation, the anterior segment of the eye to be examined can be scanned based on OCT to obtain a B-scan image of the anterior segment, and then the B-scan image of the anterior segment can be input into a pre-trained region of interest determination model to obtain the region of interest output by the region of interest determination model.
[0055] In another possible implementation, the anterior segment of the eye to be inspected may be scanned based on OCT to obtain an anterior segment B-scan image, and then the anterior segment B-scan image may be processed based on a pixel matrix algorithm to obtain the region of interest.
[0056] Step 102: Search for a target curve in the region of interest to obtain a search result of the target curve.
[0057] The target curve is the back surface curve of the intraocular lens.
[0058] Optionally, the search result includes state information of the target curve and position information of the target curve. The state information of the target curve is used to indicate whether the target curve exists in the region of interest, and the position information of the target curve is used to indicate the position of the target curve in the region of interest.
[0059] In one possible implementation, after determining the region of interest, an image corresponding to the region of interest may be acquired first, and the image corresponding to the region of interest may be input into a pre-trained target curve determination model to obtain the search result output by the target curve determination model.
[0060] In another possible implementation manner, the target curve may be searched in the region of interest based on an active contour model to obtain a search result of the target curve.
[0061] Step 103: When the search result indicates that the target curve exists in the region of interest, determine the eye parameters of the eye to be inspected according to the target curve.
[0062] Exemplarily, the eye parameter may be the maximum value of the distance between the front surface curve of the natural lens and the target curve. The eye parameter may also be the vault height of the artificial lens.
[0063] In one possible implementation, as described above, the search result includes status information of the target curve and position information of the target curve. When the status information of the target curve indicates that the target curve exists in the region of interest, the position information of the target curve is input into a pre-trained eye parameter determination model to obtain the eye parameters of the eye being examined output by the eye parameter determination model.
[0064] The above-mentioned method for determining eye parameters based on the recognition result of an artificial lens first obtains a B-scan image of the anterior segment of the eye to be inspected, and determines a region of interest from the B-scan image of the anterior segment of the eye to be inspected; searches for a target curve in the region of interest to obtain a search result of the target curve, and the target curve is the back surface curve of the artificial lens; when the search result indicates that the target curve exists in the region of interest, the eye parameters of the eye to be inspected are determined according to the target curve. The method for determining eye parameters based on the recognition result of an artificial lens provided in the present application searches for a target curve in the region of interest in a B-scan image to automatically identify whether an artificial lens is implanted in the user's eye, and when the search result indicates that the target curve exists in the region of interest, the eye parameters of the eye to be inspected are quickly and accurately determined according to the target curve, thereby providing users with implanted artificial lenses with fast and accurate eye examination results.
[0065] In an optional embodiment of the present application, after acquiring the anterior segment B-scan image of the eye to be inspected, the method further includes: performing noise reduction processing on the anterior segment B-scan image by median filtering.
[0066] In an exemplary embodiment, searching the target curve in the region of interest to obtain the search result of the target curve includes: determining a candidate curve in the region of interest, and determining the candidate curve as the target curve if the candidate curve meets a preset evaluation criterion.
[0067] Optionally, the candidate curve refers to a curve in the region of interest that may be the target curve.
[0068] In an optional embodiment of the present application, the image corresponding to the region of interest may be input into a pre-trained candidate curve determination model to obtain the candidate curve output by the candidate curve determination model.
[0069] In an optional embodiment of the present application, determining the candidate curve in the region of interest includes: searching in the region of interest in an iterative manner based on the active contour model to determine the candidate curve.
[0070] Optionally, the active contour model refers to a model that constructs an energy functional and drives the minimum value of the energy function so that the initial contour curve in the active contour gradually approaches the edge of the candidate curve, and finally segments the candidate curve. The active contour model can obtain a continuous and smooth segmentation boundary even under the influence of high noise, that is, a high-quality candidate curve.
[0071] Specifically, by constructing an energy function and finding the minimum value of the energy function, the candidate curve in the image corresponding to the region of interest can be detected. The energy function generally includes an internal energy function and an external energy function. The two energy functions have multiple forms. The energy function in the active contour model is not limited in this application. The active contour model in the prior art and the changes made to the active contour model in the prior art are applicable to this application.
[0072] In an optional embodiment of the present application, the region of interest may be divided first to obtain a plurality of sub-regions of interest, and then each sub-region of interest may be searched based on an active contour model to determine a candidate curve.
[0073] The size of each sub-region of interest is determined according to the intraocular lens. Specifically, the height of each sub-region of interest is less than the thickness of the intraocular lens. Such a setting can avoid the front surface curve of the intraocular lens and the back surface curve of the intraocular lens being located in the same sub-region of interest, so as to avoid the problem that the front surface curve of the intraocular lens is also used as a candidate curve, resulting in poor accuracy in determining the target curve.
[0074] For example, there may be overlapping areas between the sub-regions of interest, such as Fig. 9 As shown, such a setting method can effectively improve the accuracy of the search.
[0075] For example, there may be no overlapping area between the sub-regions of interest. Fig.10 As shown, such a setting can improve the search efficiency.
[0076] In one possible implementation, for each sub-region of interest, the center line of the sub-region of interest can be used as the starting position, and the candidate curve can be iteratively searched from the starting position in the region of interest based on the active contour model. By determining the center line of the sub-region of interest as the starting position, the search efficiency of the candidate curve can be effectively improved.
[0077] Optionally, the iteration refers to the iteration of the active contour model, that is, the process of finding the minimum value of the constructed energy function in the sub-region of interest and finally segmenting the candidate curve.
[0078] In an optional embodiment of the application, before iteratively searching in the region of interest based on the active contour model to obtain the candidate curve, the method also includes: determining whether to perform image processing on the region of interest according to the shape of each sub-region of interest, and the image processing is used to flatten the curve contained in the region of interest.
[0079] In a possible implementation, if it is determined that each sub-region of interest does not have an arc, that is, Fig. 9 or Fig.10 As shown, image processing is required for the region of interest.
[0080] Specifically, the centroid coordinates of each A-scan in the image corresponding to the region of interest can be determined first. The centroid coordinates of all A-scans can constitute a centroid surface, which is smoothed to obtain a smoothed centroid surface. Then, a polynomial fitting is performed on the smoothed centroid surface to obtain a reference surface. The specific fitting order depends on the scanning range along the fast axis.
[0081] The purpose of the above-mentioned flattening process is to make each curve in the image as flat as possible, so as to avoid the problem of search failure caused by excessive curvature of the curve in the image, so as to improve the probability of successful search of the active contour model.
[0082] Furthermore, in an optional embodiment of the present application, after the target curve is determined, an inverse operation of the flattening process is required to be performed on the image corresponding to the region of interest, so as to restore the image corresponding to the region of interest.
[0083] Specifically, the image can be restored by using a polynomial that is an inverse operation of the flattening polynomial.
[0084] In another possible implementation, if it is determined that each sub-region of interest has a curvature, there is no need to flatten the region of interest. Preferably, the curvature of the sub-region of interest is determined based on the curvature of a natural crystal.
[0085] Specifically, if each sub-region of interest does not have a curvature, the problem of search failure caused by excessive curvature of the curve in the image can be avoided, and there is no need to perform image processing on the region of interest.
[0086] In an optional embodiment of the present application, in the process of searching in the region of interest in an iterative manner based on the active contour model, after searching each sub-region of interest, a search evaluation for the sub-region of interest is obtained, and the search evaluation includes whether the sub-region of interest includes a candidate curve and the possibility that the candidate curve is the target curve. The possibility that the candidate curve is the target curve can be output by a pre-trained target curve determination model, or can be determined based on the average pixel value of a historical target curve. For example, the region of interest includes six sub-regions of interest, and the search result of the third sub-region of interest indicates that the sub-region of interest includes a candidate curve, and the possibility that the candidate curve is the target curve is 70%, the search result of the fourth sub-region of interest indicates that the sub-region of interest includes a candidate curve, and the possibility that the candidate curve is the target curve is 80%, and the search result of the fifth sub-region of interest indicates that the sub-region of interest includes a candidate curve, and the possibility that the candidate curve is the target curve is 40%, then there is no need to search the sixth sub-region of interest again, so as to improve the search efficiency.
[0087] As described above, after the candidate curve is determined in the region of interest, if the candidate curve meets a preset evaluation criterion, the candidate curve is determined as the target curve.
[0088] In an optional embodiment of the present application, the preset evaluation criteria include at least one of the following: the average pixel intensity of the candidate curve and the average pixel intensity of the front surface curve of the natural crystal meet a first preset condition; the average pixel intensity of the candidate curve and the average pixel intensity of the region of interest meet a second preset condition; the candidate curve does not completely overlap with the front surface curve of the natural crystal.
[0089] Optionally, the first preset condition can be set by a technician according to actual needs. Specifically, the first preset condition can be that the percentage of the average pixel intensity of the candidate curve to the average pixel intensity of the front surface of the natural crystal is greater than a preset percentage threshold. The first preset condition can also be that the difference between the average pixel intensity of the candidate curve and the average pixel intensity of the front surface of the natural crystal is within a preset difference range.
[0090] Optionally, the second preset condition can be set by a technician according to actual needs. Specifically, the second preset condition can be that the difference between the average pixel intensity of the candidate curve and the average pixel intensity of the region of interest is a preset difference or a preset multiple of the preset difference.
[0091] In an optional embodiment of the present application, the preset evaluation criterion may further include: the pixel median value of the candidate curve and the pixel median value of the region of interest satisfy a third preset condition.
[0092] Among them, the third preset condition can also be set by technicians according to actual needs. Specifically, the third preset condition can be that the difference between the pixel median of the candidate curve and the pixel median of the area of interest is a preset difference or a preset multiple of the preset difference.
[0093] As described above, the preset evaluation criteria are set based on the pixel information of the candidate curve, the pixel information of the front surface of the natural lens, and the pixel information of the region of interest. Therefore, before searching for the target curve in the region of interest based on the active contour model, the method also includes: detecting the light column area in the anterior segment B-scan image, and setting the pixel value of the light column area to 0 to avoid the pixel information of the light column area affecting the judgment of the target curve.
[0094] In an exemplary embodiment, when the candidate curve meets a preset evaluation criterion, the candidate curve is determined as the target curve, including: when multiple candidate curves meet the preset evaluation criterion, the candidate curve with the largest average pixel intensity among the multiple candidate curves is determined as the target curve.
[0095] In a possible implementation, as described above, assuming that the region of interest includes six sub-regions of interest, the search result of the third sub-region of interest indicates that the sub-region of interest includes a candidate curve, and the possibility that the candidate curve is the target curve is 70%, the search result of the fourth sub-region of interest indicates that the sub-region of interest includes a candidate curve, and the possibility that the candidate curve is the target curve is 80%, and the search result of the fifth sub-region of interest indicates that the sub-region of interest includes a candidate curve, and the possibility that the candidate curve is the target curve is 40%, then there is no need to search the sixth sub-region of interest again, so as to improve the search efficiency. Among them, the possibility that the candidate curve included in the search result is the target curve is determined according to the average pixel intensity of the candidate curve, therefore, the candidate curve searched in the fourth sub-region of interest can be determined as the target curve.
[0096] In an exemplary embodiment, Figure 2 As shown, the method of acquiring an anterior segment B-scan image of the eye to be inspected and determining a region of interest from the anterior segment B-scan image includes the following steps:
[0097] Step 201, controlling the OCT to scan the anterior segment of the eye to be inspected, so as to obtain a B-scan image of the anterior segment of the eye to be inspected;
[0098] Step 202: determine the region of interest from the anterior segment B-scan image according to the region of interest width threshold and the region of interest height threshold.
[0099] In one possible implementation, the region of interest width threshold and the region of interest height threshold can be pre-set by a technician based on actual needs. After controlling the OCT to scan the anterior segment of the eye to be inspected to obtain a B-scan image of the anterior segment of the eye to be inspected, the region of interest can be determined from the anterior segment B-scan image based on the region of interest width threshold and the region of interest height threshold.
[0100] In an exemplary embodiment, Figure 3 As shown, the determining of the region of interest from the anterior segment B-scan image according to the region of interest width threshold and the region of interest height threshold comprises the following steps:
[0101] Step 301, performing layering processing and feature recognition processing on the anterior segment B-scan image to determine the posterior surface curve of the cornea of the eye under examination, the anterior surface curve of the natural lens of the eye under examination, the anterior surface curve of the iris of the eye under examination, and the scleral salient of the eye under examination;
[0102] Step 302: determining a width threshold of the region of interest according to the front surface curve of the iris, and determining a height threshold of the region of interest according to the front surface curve of the natural lens and the back surface curve of the cornea of the eye to be examined;
[0103] Step 303: determine the region of interest from the anterior segment B-scan image according to the region of interest width threshold and the region of interest height threshold.
[0104] In one possible implementation, the anterior segment B-scan image can be subjected to layering processing and feature recognition processing to determine the posterior surface curve of the cornea of the eye under examination, the anterior surface curve of the natural lens of the eye under examination, the anterior surface curve of the iris of the eye under examination, and the scleral convex point of the eye under examination, and then the width threshold of the region of interest is determined based on the width of the anterior surface curve of the iris.
[0105] Furthermore, a first height threshold between the front surface curve of the natural lens and the posterior surface curve of the cornea of the eye to be examined can be determined first, and then a second height threshold of the artificial lens can be determined, the second height threshold being a preset multiple of the maximum height value of the artificial lens in clinical practice, and the larger one of the first height threshold and the second height threshold is selected as the height threshold of the region of interest, and then the region of interest is determined from the anterior segment B-scan image based on the region of interest width threshold and the region of interest height threshold. The method for determining the region of interest provided by the present method ensures that the target curve to be searched is in the region of interest, thereby improving the success rate and efficiency of searching for the target curve.
[0106] In an exemplary embodiment, Figure 4As shown, determining the eye parameters of the eye to be inspected according to the target curve includes the following steps:
[0107] Step 401: When the eye parameter of the eye to be inspected is the vault height of the artificial lens, determine a first intersection point according to the scleral convex point and the target curve.
[0108] The first intersection point is the intersection point of the perpendicular bisector of the connecting line of the scleral prominences and the target curve.
[0109] Step 402: determine a second intersection point based on the scleral prominence and the front surface curve of the natural lens.
[0110] The second intersection is the intersection of the perpendicular bisector of the connecting line of the scleral points and the front surface curve of the natural lens.
[0111] Step 403: determine the arch height of the artificial lens according to the distance between the first intersection point and the second intersection point.
[0112] In one possible implementation, Fig.11 As shown, the scleral points include a first scleral point and a second scleral point. The first scleral point and the second scleral point are first connected to obtain a connecting line between the first scleral point and the second scleral point, and then the perpendicular bisector of the connecting line is determined, and the intersection of the perpendicular bisector and the target curve is determined as the first intersection point.
[0113] Furthermore, the intersection of the perpendicular bisector of the connecting line and the front surface curve of the natural lens is determined as the second intersection, the shortest distance between the first intersection and the second intersection is determined, and the shortest distance is determined as the arch height of the artificial lens.
[0114] In an exemplary embodiment, Figure 5 As shown, after receiving the adjustment instruction for the first intersection, the method further includes the following steps:
[0115] Step 501: When the adjustment instruction satisfies a preset condition, adjust the first intersection point based on the adjustment instruction.
[0116] Optionally, the preset condition may be pre-set by a technician. Specifically, the preset condition may be to determine whether the position of the first intersection indicated by the adjustment instruction is between the posterior surface curve of the cornea and the anterior surface of the natural lens.
[0117] In one possible implementation, an adjustment instruction for the first intersection is received, and when it is determined that the position of the first intersection indicated by the adjustment instruction is between the posterior surface curve of the cornea and the anterior surface of the natural lens, the first intersection is adjusted based on the adjustment instruction.
[0118] In another possible implementation, an adjustment instruction for the first intersection is received, and when it is determined that the position of the first intersection indicated by the adjustment instruction is not between the posterior surface curve of the cornea and the anterior surface of the natural lens, the first intersection is not adjusted.
[0119] Step 502: Determine the arch height of the artificial lens according to the adjusted distance between the first intersection point and the second intersection point.
[0120] In a possible implementation manner, the shortest distance between the adjusted first intersection point and the second intersection point is determined, and the shortest distance is determined as the arch height of the artificial lens.
[0121] In an optional embodiment of the present application, when the search result indicates that the target curve exists in the area of interest, the posterior surface curve of the cornea of the eye to be inspected, the anterior surface curve of the natural lens of the eye to be inspected, the anterior surface curve of the iris of the eye to be inspected, the scleral prominence of the eye to be inspected, the first intersection point, the second intersection point and the corresponding values of the arch height are displayed.
[0122] In an optional embodiment of the present application, when the search result indicates that the target curve does not exist in the area of interest, the posterior surface curve of the cornea of the eye to be inspected, the anterior surface curve of the natural lens of the eye to be inspected, the anterior surface curve of the iris of the eye to be inspected, the scleral prominence of the eye to be inspected, the first intersection and the arch height with a value of 0 are displayed.
[0123] In an exemplary embodiment, Figure 6 As shown, another method for determining eye parameters based on the recognition result of the artificial lens is provided, and the method comprises the following steps:
[0124] Step 601, control the OCT to scan the anterior segment of the eye to be inspected to obtain a B-scan image of the anterior segment of the eye to be inspected; perform layering processing and feature recognition processing on the anterior segment B-scan image to determine the posterior surface curve of the cornea of the eye to be inspected, the anterior surface curve of the natural lens of the eye to be inspected, the anterior surface curve of the iris of the eye to be inspected, and the scleral prominence of the eye to be inspected.
[0125] Step 602: determine the width threshold of the region of interest based on the front surface curve of the iris, and determine the height threshold of the region of interest based on the front surface curve of the natural lens and the posterior surface curve of the cornea of the eye to be examined; determine the region of interest from the anterior segment B-scan image based on the width threshold and the height threshold of the region of interest.
[0126] Step 603, based on the active contour model, an iterative search is performed in the region of interest to obtain a candidate curve; when multiple candidate curves meet the preset evaluation criteria, the candidate curve with the largest average pixel intensity among the multiple candidate curves is determined as the target curve, and the target curve is the back surface curve of the intraocular lens.
[0127] Step 604: When the search result indicates that the target curve exists in the region of interest and the eye parameter of the eye to be examined is the arch height of the artificial lens, a first intersection is determined based on the scleral prominence and the target curve, and the first intersection is the intersection of the perpendicular bisector of the lines connecting the scleral prominences and the target curve; a second intersection is determined based on the scleral prominence and the front surface curve of the natural lens, and the second intersection is the intersection of the perpendicular bisector of the lines connecting the scleral prominences and the front surface curve of the natural lens.
[0128] Step 605: Determine the arch height of the artificial lens according to the distance between the first intersection point and the second intersection point.
[0129] Step 606: receiving an adjustment instruction for the first intersection, and if the adjustment instruction meets a preset condition, adjusting the first intersection based on the adjustment instruction; and determining the arch height of the intraocular lens according to the distance between the adjusted first intersection and the second intersection.
[0130] 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.
[0131] Based on the same inventive concept, the embodiment of the present application also provides a device for determining eye parameters based on the recognition results of an artificial lens for implementing the method for determining eye parameters based on the recognition results of an artificial lens 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 the embodiments of one or more devices for determining eye parameters based on the recognition results of an artificial lens provided below can refer to the limitations of the method for determining eye parameters based on the recognition results of an artificial lens above, and will not be repeated here.
[0132] In an exemplary embodiment, Figure 7 As shown, a device 700 for determining eye parameters based on the recognition result of an artificial lens is provided, comprising: an acquisition module 701, an execution module 702 and a determination module 703, wherein:
[0133] An acquisition module 701 is used to acquire an anterior segment B-scan image of the eye to be inspected, and determine a region of interest from the anterior segment B-scan image;
[0134] An execution module 702 is used to search for a target curve in the region of interest to obtain a search result of the target curve, where the target curve is a back surface curve of the intraocular lens;
[0135] The determination module 703 is configured to determine the eye parameters of the eye to be inspected according to the target curve when the search result indicates that the target curve exists in the region of interest.
[0136] In one embodiment, the execution module 702 is specifically configured to search for the target curve in the region of interest based on the active contour model to obtain a search result of the target curve.
[0137] In one embodiment, the execution module 702 is specifically configured to perform an iterative search in the region of interest based on the active contour model to determine the candidate curve.
[0138] In one embodiment, the preset evaluation criteria include at least one of the following: the average pixel intensity of the candidate curve and the average pixel intensity of the front surface curve of the natural crystal meet a first preset condition; the average pixel intensity of the candidate curve and the average pixel intensity of the region of interest meet a second preset condition; the candidate curve does not completely overlap with the front surface curve of the natural crystal.
[0139] In one embodiment, the execution module 702 is specifically configured to determine, when the plurality of candidate curves all meet the preset evaluation criteria, a candidate curve with the largest average pixel intensity among the plurality of candidate curves as the target curve.
[0140] In one embodiment, the acquisition module 701 is specifically used to control the OCT to scan the anterior segment of the eye to be inspected to obtain a B-scan image of the anterior segment of the eye to be inspected; and determine the region of interest from the anterior segment B-scan image according to a region of interest width threshold and a region of interest height threshold.
[0141] In one embodiment, the acquisition module 701 is specifically used to perform layering processing and feature recognition processing on the anterior segment B-scan image to determine the posterior surface curve of the cornea of the eye to be inspected, the anterior surface curve of the natural lens of the eye to be inspected, the anterior surface curve of the iris of the eye to be inspected, and the scleral convex point of the eye to be inspected; determine the width threshold of the region of interest based on the anterior surface curve of the iris, and determine the height threshold of the region of interest based on the anterior surface curve of the natural lens and the posterior surface curve of the cornea of the eye to be inspected; determine the region of interest from the anterior segment B-scan image based on the region of interest width threshold and the region of interest height threshold.
[0142] In one embodiment, the determination module 703 is specifically used to determine a first intersection point based on the scleral salient point and the target curve when the ocular parameter of the eye to be examined is the arch height of the artificial lens, the first intersection point being the intersection point of the perpendicular bisector of the connecting line of the scleral salient point and the target curve; determine a second intersection point based on the scleral salient point and the front surface curve of the natural lens, the second intersection point being the intersection point of the perpendicular bisector of the connecting line of the scleral salient point and the front surface curve of the natural lens; and determine the arch height of the artificial lens based on the distance between the first intersection point and the second intersection point.
[0143] In one embodiment, the execution model 702 is specifically used to input the image corresponding to the region of interest into a pre-trained candidate curve determination model to obtain the candidate curve output by the candidate curve determination model.
[0144] In one embodiment, the determination module 703 is also used to receive an adjustment instruction for the first intersection, and when the adjustment instruction meets a preset condition, adjust the first intersection based on the adjustment instruction; and determine the arch height of the artificial lens based on the distance between the adjusted first intersection and the second intersection.
[0145] Each module in the above-mentioned device for determining eye parameters based on the recognition result of the artificial lens 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 the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0146] In an exemplary embodiment, an electronic device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8As shown. Specifically, the electronic device may be a device for ophthalmic examination, and the electronic device may include 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 through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic 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 electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic 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 eye parameters based on the recognition result of an artificial lens is implemented. The display unit of the electronic 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 may be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the electronic device, or an external keyboard, touchpad or mouse. Those skilled in the art will appreciate that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, for example, OCT for scanning, or a combination of certain components, or a different arrangement of components.
[0147] In an exemplary embodiment, an electronic 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 method described in any one of the above embodiments is implemented.
[0148] 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 method described in any of the above embodiments is implemented.
[0149] In one embodiment, a computer program product is provided, including a computer program, which implements the method described in any of the above embodiments when executed by a processor.
[0150] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method 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 to this. 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 to this.
[0151] 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.
[0152] 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 understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations 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 eye parameters based on the recognition result of an artificial lens, characterized in that: The method comprises: Acquire an anterior segment B-scan image of the eye to be inspected, and determine a region of interest from the anterior segment B-scan image; Searching for a target curve in the region of interest to obtain a search result of the target curve, wherein the target curve is a posterior surface curve of an intraocular lens; In a case where the search result indicates that the target curve exists in the region of interest, an eye parameter of the eye to be inspected is determined based on the target curve.
2. The method according to claim 1, characterized in that: The step of searching for a target curve in the region of interest to obtain a search result of the target curve includes: A candidate curve is determined in the region of interest, and if the candidate curve meets a preset evaluation criterion, the candidate curve is determined as the target curve.
3. The method according to claim 2, characterized in that The determining of a candidate curve in the region of interest comprises: The candidate curve is determined by searching in the region of interest in an iterative manner based on an active contour model.
4. The method according to claim 2, characterized in that: The preset evaluation criteria include at least one of the following: The average pixel intensity of the candidate curve and the average pixel intensity of the front surface curve of the natural crystal meet a first preset condition; The average pixel intensity of the candidate curve and the average pixel intensity of the region of interest meet a second preset condition; The candidate curve does not completely overlap with the front surface curve of the natural lens.
5. The method according to claim 2, characterized in that: The step of determining the candidate curve as the target curve when the candidate curve meets a preset evaluation criterion includes: When the plurality of candidate curves all meet the preset evaluation criteria, the candidate curve with the largest average pixel intensity among the plurality of candidate curves is determined as the target curve.
6. The method according to claim 1, characterized in that The step of acquiring a B-scan image of the anterior segment of the eye to be inspected and determining a region of interest from the B-scan image of the anterior segment of the eye to be inspected comprises: Controlling the OCT to scan the anterior segment of the eye to be inspected to obtain a B-scan image of the anterior segment of the eye to be inspected; The region of interest is determined from the anterior segment B-scan image according to a region of interest width threshold and a region of interest height threshold.
7. The method according to claim 6, characterized in that The step of determining the region of interest from the anterior segment B-scan image according to the region of interest width threshold and the region of interest height threshold comprises: Performing layering processing and feature recognition processing on the anterior segment B-scan image to determine the posterior surface curve of the cornea of the eye under examination, the anterior surface curve of the natural lens of the eye under examination, the anterior surface curve of the iris of the eye under examination, and the scleral salient of the eye under examination; Determine the region of interest width threshold according to the iris front surface curve, and determine the region of interest height threshold according to the natural lens front surface curve and the cornea back surface curve of the eye to be inspected; A region of interest is determined from the anterior segment B-scan image according to the region of interest width threshold and the region of interest height threshold.
8. The method according to any one of claims 1 to 7, characterized in that: The step of determining the eye parameters of the eye to be inspected according to the target curve comprises: In the case where the eye parameter of the eye to be inspected is the arch height of the artificial lens, determining a first intersection point according to the scleral prominence point and the target curve, the first intersection point being the intersection point of the perpendicular bisector of the connecting line of the scleral prominence point and the target curve; Determine a second intersection point according to the scleral prominence and the front surface curve of the natural lens, wherein the second intersection point is the intersection point of the perpendicular bisector of the connecting line of the scleral prominence and the front surface curve of the natural lens; The vault height of the artificial lens is determined according to the distance between the first intersection point and the second intersection point.
9. The method according to claim 2, characterized in that: The determining of a candidate curve in the region of interest comprises: The image corresponding to the region of interest is input into a pre-trained candidate curve determination model to obtain the candidate curve output by the candidate curve determination model.
10. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 9 when executing the computer program.
Citation Information
Patent Citations
Image processing method, device and equipment, and storage medium
CN110136198A
Eye height measurement method based on deep learning
CN112329546A
Optimization method suitable for measuring volume between implant in human eye and anterior segment structure
CN115147477A
Convolutional neural network-based non-contact intraocular pressure prediction method for eye video
CN118058705A
Method for mapping the vault for an implanted inter ocular lens
US20210353252A1
Cited By
Intraocular lens implantation monitoring method and operating microscope system
CN120643181A
Method of monitoring an intraocular lens implant and surgical microscope system
CN120643181B
