A method for obtaining the curvature of the front surface of the eyeball
Through the combination of Placido module and structured light module, image data from different angles are calculated and spliced, which solves the problem that existing technology cannot measure the curvature of the cornea and sclera at the same time, achieving accurate measurement of the curvature of the front surface of the eyeball and assisting in scleral lens fitting. .
Patent Information
- Application Number
- CN202210775579.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-03
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-07-03
AI Technical Summary
Existing methods for measuring the curvature of the front surface of the eyeball cannot accurately measure the curvature of the cornea and sclera at the same time. In particular, corneal topographs can only measure part of the curvature of the cornea. Structured light measurement is inaccurate and expensive, and scleral lens fitting needs to consider both the cornea and the sclera. Curvature of the sclera.
The Placido module is used to capture the corneal curvature and the structured light module is used to obtain the scleral curvature. By calculating and splicing eight image data from different angles, local paraboloid fitting and SIFT and RANSAC algorithms are used for image matching and fusion to generate the full-frame front surface curvature of the eyeball. picture.
It achieves accurate curvature measurement of the front surface of the eyeball, including the cornea and sclera, overcomes the limitations of traditional methods, provides a more accurate reflection of vision status, and assists in the fitting of scleral lenses.
Smart Images

Figure CN115120178B
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of ophthalmic examination, and specifically relates to a method for obtaining the curvature of the anterior surface of the eyeball. Background Technology
[0002] Figure 1 As shown, the sclera, commonly known as the white of the eye, is a milky-white, opaque fibrous membrane inside the eyeball, belonging to the fibrous membranes of the eye. It is mainly composed of collagen and some elastic fibers. The sclera is covered by the Tenon's capsule (the fascial sheath of the eyeball), and its anterior segment is covered by the bulbar conjunctiva. At its posterior pole, it is covered by the lamina cribrosa at the optic disc, through which the optic nerve fiber bundles exit the eyeball. The sclera accounts for about 5 / 6 of the fibrous membranes of the eyeball and plays a role in protecting the contents of the eyeball and maintaining the shape of the eyeball.
[0003] The conjunctiva, sclera, and cornea are all anatomical names for parts of the eye, and their specific locations are as follows:
[0004] 1. Cornea and sclera: The eyeball is a spherical object. The outermost layer consists of fibrous membranes, namely the sclera and cornea. The sclera usually makes up 5 / 6 of the eye, and the white part of the eye is the sclera. The black or brown area in the middle is the cornea. The cornea is transparent, but it can reflect the color of the iris behind it. For example, the iris of Chinese people is brown, so it can be seen as brown, while the iris of Westerners is often gray, blue, or grayish-blue.
[0005] 2. Conjunctiva: The conjunctiva is a semi-transparent mucous membrane that mainly covers the sclera and the tarsal plate of the eyelids. The part covering the white of the eye (the sclera) is called the bulbar conjunctiva, and the part covering the inner surface of the eyelids is called the palpebral conjunctiva. The junction between the white of the eye and the inner surface of the eyelid is called the fornix conjunctiva.
[0006] In general, the conjunctiva, sclera, and cornea are all surface tissues of the eye and are susceptible to external factors. The conjunctiva and cornea, in particular, are in close contact with the outside world and are more easily affected by physical and chemical factors and trauma.
[0007] The average diameter of a person's cornea is 11.8 mm. A typical rigid contact lens has a diameter of about 9.2 mm, covering approximately 75% to 80% of the cornea. Larger diameter contact lenses can completely cover the corneal surface. Commonly used rigid contact lenses are designed to be worn on the cornea, which is one of the most sensitive parts of the human body. As patients age or their ability to produce tears decreases to a certain extent, the friction between the contact lens and the cornea may increase, gradually leading to symptoms such as a foreign body sensation or discomfort.
[0008] This phenomenon is more pronounced in people with corneal diseases. Therefore, scleral lenses were invented to improve vision. Scleral lenses are large-diameter rigid contact lenses with the contact point on the sclera (the white part of the eye). By increasing the diameter of the lens, some or all of the contact points between the lens and the eye surface are moved from the cornea to the less sensitive sclera, thus effectively reducing the feeling of a foreign body. They are suitable for people with keratoconus, corneal transplants, dry eye syndrome, post-laser refractive errors, high astigmatism, unique astigmatic axes, or those who experience discomfort or discomfort when wearing soft contact lenses. These large-diameter rigid contact lenses can effectively improve vision.
[0009] Prescribing scleral lenses requires knowing the curvature of the anterior surface of the eyeball, among other values. Currently, this curvature is measured using specialized equipment, which presents the following problems:
[0010] 1: The Placido disk-based corneal topography system can only measure the curvature of a portion of the cornea;
[0011] 2: Structured light is inaccurate in measuring transparent black areas;
[0012] 3: Scleral lens fitting requires all curvatures of the cornea and sclera;
[0013] 4. Although the 3D anterior segment and OCT system based on scheimpflug can measure scleral curvature, it has the problems of limited measurement diameter range and high price. Summary of the Invention
[0014] To address the aforementioned problems, the primary objective of this invention is to provide a method for obtaining the curvature of the anterior surface of the eyeball. This method overcomes the limitation of corneal topography instruments, which can only measure the curvature of the anterior surface of the cornea, and compensates for the problem that structured light cannot be measured due to the high light transmittance of the cornea.
[0015] To achieve the above objectives, the technical solution of the present invention is as follows.
[0016] A method for obtaining the curvature of the anterior surface of the eyeball, which uses a Placido module to capture corneal curvature and a structured light module to acquire scleral curvature, includes the following steps:
[0017] S1: Start filming;
[0018] S2: The camera Placido module disk unit acquires corneal Placido images;
[0019] S3: The structured light module unit acquires scleral images at angles of at least 0°, 45°, 90°, 135°, 180°, 225°, 270°, and 315° respectively.
[0020] S4: Calculate the anterior corneal surface curvature map based on the Placido corneal map;
[0021] S5: Calculate the scleral curvature map based on the scleral point cloud data from eight images to obtain the corneal curvature.
[0022] The curvature calculation process for point cloud data is as follows:
[0023] Take a data point Pi from the scattered point cloud, and then take n points evenly in the point cloud with Pi as the center. These n points should cover the entire point cloud as much as possible.
[0024] The n nearest neighbor points within the region are fitted using the local parabolic surface fitting formula:
[0025] Z(x,y)=ax^2+by^2+cxy+dx+ey+f,
[0026] The coefficients above can be obtained using the least squares method, which in turn yields the coefficients of the spatial surface function. After obtaining the coefficients, the local average curvature of the point cloud of the data points can be calculated based on the properties of the spatial surface curve.
[0027] According to the formula:
[0028]
[0029] The local average curvature of the point cloud can then be calculated.
[0030] Furthermore, several scleral curvature images are stitched together to produce an accurate scleral curvature image. The stitching method is as follows:
[0031] S110: Centered on the front view image;
[0032] S120: Place the eight images in the eight directions of the front view image respectively;
[0033] S130: Extract the corneal limbus from each photo and merge and stitch the eight images together;
[0034] S140: Extract capillaries from each image and accurately adjust and stitch the fused image according to the direction and diameter of the capillaries;
[0035] The splicing process has been adjusted as follows:
[0036] 1) Apply local SIFT algorithm to the scleral vessel pairs and limbal regions; use local SIFT algorithm to extract SIFT feature points for the scleral vessel pairs and limbal regions to obtain the position, scale, and orientation of the scleral vessel pairs and limbal regions;
[0037] 2) Use the fast nearest neighbor algorithm to perform coarse matching of scleral vessel pairs and limbal feature points, and use threshold setting and bidirectional cross-checking methods for preliminary screening;
[0038] The fast nearest neighbor algorithm for feature matching is implemented as follows: The KD-tree (KDimensional Tree) data structure is used to store the scleral vessel pairs and limbal feature description vectors in an orderly manner. Then, the fast approximate k-nearest neighbor (FLANN) algorithm is used to find the nearest scleral vessel pairs, limbal feature neighbors and the second nearest neighbors.
[0039] 3) After identifying the scleral vessel pairs and limbal feature points, since the matched scleral vessel pairs and limbal feature points not only need to have the closest feature description vector distance, but should also be distinguishable from other feature points, the ratio of the nearest neighbor to the second nearest neighbor distance is used to restrict feature point matching. The ratio of the nearest neighbor distance to the second nearest neighbor distance is calculated; if it is less than a threshold, the feature point is retained; otherwise, it is discarded.
[0040] 4) Use the RANSAC algorithm to perform precise matching of scleral vessel pairs and limbus.
[0041] The main process of the RANSAC (RANdom Sampling Consensus) algorithm in SIFT feature selection is as follows:
[0042] (1) Randomly select one RANSAC sample from the sample set, i.e., 4 matching point pairs;
[0043] (2) Calculate the transformation matrix M based on these 4 matching point pairs;
[0044] (3) Calculate the consensus set that satisfies the current transformation matrix based on the sample set, the transformation matrix M, and the error metric function, and return the number of elements in the consensus set;
[0045] (4) Determine whether the current consensus set is the optimal (maximum) consensus set based on the number of elements in the current consensus set. If it is, update the current optimal consensus set.
[0046] (5) Update the current error probability p. If p is greater than the minimum allowed error probability, repeat (1) to (4) to continue iterating until the current error probability p is less than the minimum error probability.
[0047] 5) Image transformation, mapping different images to the same coordinate system;
[0048] 6) Image fusion.
[0049] Direct stitching can produce problems such as ghosting and color difference, so specific methods are needed for image fusion. Pixels with high gray values in the overlapping areas of scleral blood vessels and the limbus are preserved, as they retain the information with the highest contrast in the image; these pixels are then used for image fusion.
[0050] S150: Calculates and displays the curvature value.
[0051] The beneficial effects of this invention are as follows:
[0052] 1. Overcome the limitation that corneal topography instruments can only measure the curvature of the anterior corneal surface;
[0053] 2: It compensates for the problem that structured light cannot be measured due to the high light transmittance of the cornea;
[0054] 3: The complete anterior surface curvature diagram of the eyeball after the puzzle is completed accurately reflects the visual acuity and can assist in the fitting of scleral lenses. Attached Figure Description
[0055] Figure 1 This is a schematic diagram of the three-dimensional structure of the anterior surface of the eyeball.
[0056] Figure 2 This is a schematic diagram of the system structure implemented by the present invention.
[0057] Figure 3 This is a flowchart of the method implemented in this invention.
[0058] Figure 4 This is a schematic diagram of the shooting position of this invention.
[0059] Figure 5 This is a schematic diagram illustrating the rough stitching of images from different orientations achieved by the present invention.
[0060] Figure 6 This is a flowchart of the image stitching process implemented in this invention.
[0061] Figure 7 This is a diagram of the capillaries in the cornea and sclera of the human eye.
[0062] Figure 8 This is a capillary distribution map after preliminary image processing implemented in this invention.
[0063] Figure 9 This is a stitched image of the segmented capillary pairs achieved by the present invention. Detailed Implementation
[0064] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0065] Reference Figure 2-5 This invention provides a method for obtaining the curvature of the anterior surface of the eyeball. The method uses a Placido module to capture corneal curvature and a structured light module to obtain scleral curvature. Figure 2 As shown, the Placido module is specifically implemented as a Placido disk unit, while the structured light module is implemented as a structured light unit, both of which are located in the camera.
[0066] Here are the steps:
[0067] Method and steps:
[0068] S1: Start filming;
[0069] S2: The camera's Placido disk unit acquires a corneal Placido image;
[0070] S3: The structured light unit acquires scleral images at the following angles: 0°, 45°, 90°, 135°, 180°, 225°, 270°, and 315°.
[0071] S4: Calculate the anterior corneal surface curvature map based on the Placido corneal map;
[0072] S5: Calculate the scleral curvature map based on the scleral point cloud data from eight images of emmetropia and strabismus.
[0073] The curvature calculation process for point cloud data is as follows:
[0074] Take a data point Pi from the scattered point cloud, and then take n points evenly in the point cloud with Pi as the center. These n points should cover the entire point cloud as much as possible.
[0075] The n nearest neighbor points within the region are fitted using the local parabolic surface fitting formula:
[0076] Z(x,y)=ax^2+by^2+cxy+dx+ey+f,
[0077] The coefficients above can be obtained using the least squares method, which in turn yields the coefficients of the spatial surface function. After obtaining the coefficients, the local average curvature of the point cloud of the data points can be calculated based on the properties of the spatial surface curve.
[0078] According to the formula:
[0079]
[0080] The local average curvature of the point cloud can then be calculated.
[0081] Then, the eight scleral curvature maps are stitched together to produce an accurate scleral curvature map, such as... Figure 6 As shown, the splicing method is as follows:
[0082] S110: Centered on the front view image;
[0083] S120: Place eight images in eight directions of the front view image. The eight images can cover 360° of angle to make the resulting curvature more accurate. In practice, six or more images can also be used, such as 16 images.
[0084] S130: Extract the corneal edge from each photo and roughly merge and stitch the eight images together; Figure 7 The obtained corneal and scleral capillary images were processed to obtain... Figure 8 This shows the distribution of capillaries in the eye.
[0085] S140: Extract capillaries from each image, and finely adjust the stitching of the fused image based on the direction and diameter of the capillaries. Specifically, this includes:
[0086] 1) Apply local SIFT algorithm to the scleral vessel pairs and limbal regions; use local SIFT algorithm to extract SIFT feature points for the scleral vessel pairs and limbal regions to obtain the position, scale, and orientation of the scleral vessel pairs and limbal regions;
[0087] 2) Use the fast nearest neighbor algorithm to perform coarse matching of scleral vessel pairs and limbal feature points, and use threshold setting and bidirectional cross-checking methods for preliminary screening;
[0088] The fast nearest neighbor algorithm for feature matching is implemented as follows: The KD-tree (KDimensional Tree) data structure is used to store the scleral vessel pairs and limbal feature description vectors in an orderly manner. Then, the fast approximate k-nearest neighbor (FLANN) algorithm is used to find the nearest scleral vessel pairs, limbal feature neighbors and the second nearest neighbors.
[0089] 3) After identifying the scleral vessel pairs and limbal feature points, since the matched scleral vessel pairs and limbal feature points not only need to have the closest feature description vector distance, but should also be distinguishable from other feature points, the ratio of the nearest neighbor to the second nearest neighbor distance is used to restrict feature point matching. The ratio of the nearest neighbor distance to the second nearest neighbor distance is calculated; if it is less than a threshold, the feature point is retained; otherwise, it is discarded.
[0090] 4) Use the RANSAC algorithm to perform precise matching of scleral vessel pairs and limbus.
[0091] The main process of the RANSAC (RANdom Sampling Consensus) algorithm in SIFT feature selection is as follows:
[0092] (1) Randomly select one RANSAC sample from the sample set, i.e., 4 matching point pairs;
[0093] (2) Calculate the transformation matrix M based on these 4 matching point pairs;
[0094] (3) Calculate the consensus set that satisfies the current transformation matrix based on the sample set, the transformation matrix M, and the error metric function, and return the number of elements in the consensus set;
[0095] (4) Determine whether the current consensus set is the optimal (maximum) consensus set based on the number of elements in the current consensus set. If it is, update the current optimal consensus set.
[0096] (5) Update the current error probability p. If p is greater than the minimum allowed error probability, repeat (1) to (4) to continue iterating until the current error probability p is less than the minimum error probability.
[0097] 5) Image transformation, mapping different images to the same coordinate system;
[0098] 6) Image fusion.
[0099] Direct stitching can produce problems such as ghosting and color difference, so image fusion is necessary. Pixels with high gray values in the overlapping areas of scleral blood vessels and the limbus are preserved, as they retain the information with the highest contrast in the image; these pixels are then used for image fusion.
[0100] S150: Calculates and displays the curvature value.
[0101] Figure 7 The obtained corneal and scleral capillary images were processed to obtain... Figure 8 This shows the distribution of capillaries in the eye. Then, segmentation is performed to obtain a stitched image of capillary pairs.
[0102] S150: Calculates and displays the curvature value. The curvature value is typically displayed on the full-scale anterior surface map of the eye after the image is pieced together.
[0103] Among them, the Placido module and the structured light module can have different connection methods. The Placido module can be built into the structured light module, and the structured light module can also be built into the Placido module.
[0104] Placido modules, or structured light modules, can be integrated into a single device or installed in two separate devices.
[0105] Therefore, through the above method, the present invention can accurately obtain the curvature values of the anterior surface of the eyeball, including the cornea and sclera, overcoming the defect that corneal topography can only measure the curvature of the anterior surface of the cornea. At the same time, it makes up for the problem that structured light cannot be measured due to the high light transmittance of the cornea, and can effectively assist in the fitting of scleral lenses.
[0106] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for obtaining the curvature of the front surface of the eyeball, characterized in that This method uses the Placido module to capture the corneal curvature and the structured light module to obtain the scleral curvature. The steps are as follows: S1: Start shooting; S2: The camera Placido module disc unit obtains the corneal Placido image; S3: gaze at at least the following directions: 0°, 45°, 90°, 135°, 180°, 225°, 270°, 315°, and the structured light module unit obtains the sclera map respectively; S4: Calculate the anterior corneal curvature map based on the corneal Placido map; S5: Calculate several scleral curvature images based on the scleral point cloud data of eight emmetropia and strabismus images to obtain the corneal curvature. The curvature calculation process of point cloud data is as follows: Take a data point Pi in the scattered point cloud, and then take n points uniformly in the point cloud with Pi as the center. These n points should cover the entire point cloud as much as possible. The n nearest neighbor points in the area are fitted according to the local parabola formula: Z(x,y)=ax^2+by^2+cxy+dx+ey+f, The coefficients above can be obtained by the least square method, that is, the coefficients of the space surface function can be obtained. After solving the coefficients, the local average curvature of the point cloud of the data point can be calculated according to the properties of the space surface curve. According to the formula: The local average curvature of the point cloud can be calculated; Several scleral curvature images are stitched together to produce a larger, more comprehensive and accurate scleral curvature image. The stitching method is: S110: The front view image is the center image; S120: placing eight images in eight directions of the front view image respectively; S130: extracting the corneal limbus from each photo and fusing and splicing the eight photos; S140: extracting the scleral blood vessel pairs and the corneal limbus of each image, accurately adjusting and splicing the fused image according to the directions and diameters of the scleral blood vessel pairs and the corneal limbus, and extracting the positions of the scleral blood vessel pairs and the corneal limbus; S150: Calculate the curvature value and display it.
2. The method for obtaining the curvature of the front surface of the eyeball according to claim 1, characterized in that The step S140 specifically includes: 1). Perform local SIFT algorithm on the scleral blood vessel pairs and corneal limbus areas; use local SIFT algorithm to extract sift feature points on the scleral blood vessel pairs and corneal limbus areas to obtain the position, scale and direction of the scleral blood vessel pairs and corneal limbus; 2). Use the fast nearest neighbor algorithm to roughly match the scleral blood vessels and corneal limbus feature points, and use threshold setting and two-way cross-checking methods for preliminary screening; The implementation steps of the fast nearest neighbor algorithm feature matching algorithm are as follows: the KD tree data structure is used to orderly store the scleral blood vessel pairs and corneal limbus feature description vectors, and then the fast approximate k nearest neighbor algorithm is used to find the nearest scleral blood vessel pairs and corneal limbus feature neighbor points and next nearest neighbor points; 3). After finding the scleral blood vessel pairs and corneal limbus feature points, the distance ratio between the nearest neighbor point and the second nearest neighbor point is used to limit the feature point matching; the ratio of the distance between the nearest neighbor point and the second nearest neighbor point is calculated, and if it is less than the threshold, it is retained, otherwise it is removed; 4). Use the RANSAC algorithm to accurately match the scleral blood vessels and corneal limbus. The process is: (1) Randomly select a RANSAC sample from the sample set, that is, 4 matching point pairs; (2) Calculate the transformation matrix M based on these four matching point pairs: (3) Calculate the consensus set that satisfies the current transformation matrix based on the sample set, the transformation matrix M, and the error metric function, and return the number of elements in the consensus set: (4) Determine whether it is the optimal consistent set based on the number of elements in the current consistent set. If so, update the current optimal consistent set. (5) Update the current error probability p. If p is greater than the minimum allowed error probability, repeat (1) to (4) until the current error probability p is less than the minimum error probability. 5). Image transformation, mapping different images to the same coordinate system; 6). Image fusion; The pixels with large grayscale values in the overlapping areas of scleral blood vessels and corneal limbus are retained, which retain the information with the highest contrast in the image; these pixels are used for image fusion.
