A diopter measurement method, storage medium and electronic device

By generating a linear calculation function of refractive power and lens position, adjusting the lens position and selecting the target fundus imaging image, the refractive power is directly calculated, which solves the problem of low efficiency caused by the complexity of existing refractive power measurement methods, and achieves the effect of simplifying calculation and improving efficiency.

CN119837487BActive Publication Date: 2025-12-12GUANGDONG YUMO MEDICAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411930278.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-12-12
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

Existing refractive measurement methods have complex algorithms, resulting in low efficiency.

Method used

By generating a linear calculation function between refractive power and lens position, the lens position is adjusted to obtain fundus imaging images under different lens positions. The target fundus imaging image is selected according to preset rules, and the target lens position is directly input into the linear calculation function for refractive power measurement.

Benefits of technology

It greatly simplifies the calculation process and improves the efficiency of refractive power measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119837487B_ABST
    Figure CN119837487B_ABST
Patent Text Reader

Abstract

The application provides a diopter measurement method, a storage medium and an electronic device, comprising: generating a diopter linear calculation function according to the relationship between diopter and lens position; adjusting the lens position to change the distance between the lens and the eye to be measured; acquiring fundus imaging images of the eye to be measured collected by an image acquisition component under different lens positions respectively; selecting a target fundus imaging image from all fundus imaging images according to a preset rule, and the lens position corresponding to the target fundus imaging image is a target lens position; and inputting the target lens position into the diopter linear calculation function to obtain a diopter measurement result of the eye to be measured. Through the above scheme of the application, the diopter of the eye to be measured can be obtained by linear calculation, greatly simplifying the operation process and improving the diopter measurement efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vision testing technology, specifically to a method for measuring refractive power, a storage medium, and an electronic device. Background Technology

[0002] The main purpose of a refractive error test is to determine the refractive state of the eye and check for any refractive errors, such as myopia, hyperopia, or astigmatism. The device used to measure refractive error typically employs... Figure 1 The optical path shown is followed. The image generation unit 10 generates an initial image, which is refracted and focused by the light-splitting mirror 20 and the lens 30 before being projected onto the eye 40. The fundus images formed by the eye 40 at different refractive powers will exhibit varying degrees of distortion compared to the initial image. This distorted image is then captured by the image acquisition unit 50 after passing through the lens 30 and the light-splitting mirror 20. The image acquisition unit 50 uses algorithms such as image cropping, segmentation, and comparison to obtain information such as the magnitude and direction of the fundus image distortion compared to the initial image, thereby determining the refractive power. The above process involves relatively complex algorithms, affecting the efficiency of refractive power measurement. Summary of the Invention

[0003] The technical problem to be solved by this application is that the algorithm of the existing refractive power measurement method is complex and inefficient, so this application provides a refractive power measurement method, storage medium and electronic device.

[0004] Firstly, the technical solution of this application provides a method for measuring refractive power, including:

[0005] A linear function for calculating refractive power is generated based on the relationship between refractive power and lens position;

[0006] Adjust the position of the lens to change the distance between the lens and the eye being tested;

[0007] Fundus imaging images of the eye under test acquired by the image acquisition unit at different lens positions are obtained respectively;

[0008] A target fundus imaging image is selected from all fundus imaging images according to a preset rule, and the lens position corresponding to the target fundus imaging image is the target lens position.

[0009] The target lens position is input into the linear diopter calculation function to obtain the diopter measurement result of the eye to be tested.

[0010] In some solutions, the method for measuring refractive power, wherein selecting a target fundus image from all fundus imaging images according to a preset rule, includes:

[0011] Obtain the resolution of each of the aforementioned fundus imaging images;

[0012] selecting, as the target fundus imaging image, the fundus imaging image with the largest clarity;

[0013] In the generating the linear calculation function of diopter according to the relationship between diopter and lens position, the linear calculation function of diopter is expressed as:

[0014] S=k1P+i;

[0015] Wherein, S represents diopter, P represents lens position, i represents adjustment parameter, and k1 represents linear function coefficient.

[0016] In some schemes of the method for measuring diopter, when the initial image corresponding to the fundus imaging image is a chessboard pattern, the selecting, as the target fundus imaging image, the fundus imaging image from all fundus imaging images according to preset rules comprises:

[0017] Taking the set origin position as the target lens position;

[0018] Taking the fundus imaging image corresponding to the lens at the set origin as the target fundus imaging image.

[0019] In some schemes of the method for measuring diopter, in the generating the linear calculation function of diopter according to the relationship between diopter and lens position, the linear calculation function of diopter is expressed as:

[0020] S=k c j+e;

[0021] Wherein, S represents diopter, j and e represent adjustment parameters, and k c represents linear function coefficient.

[0022] In some schemes of the method for measuring diopter, the value of j is determined by the following way:

[0023] Selecting at least one square region in the chessboard pattern of the initial image, taking one of the square regions as an initial square, marking four vertices of the initial square as A1 point, B1 point, C1 point and D1 point, A1B1=C1D1, and B1C1=A1D1;

[0024] Determining an imaging quadrilateral corresponding to the initial square in the fundus imaging image, four vertices of the imaging quadrilateral are A1' point, B1' point, C1' point and D1' point, A1'B1'=C1'D1', and B1'C1'=A1'D1';

[0025] Calculating c=Min(A1'B1', B1'C1'), and the value of c has the following linear relationship with lens position: c=k p P+j;

[0026] The above steps are repeated to obtain multiple sets of c values, and the j value is obtained according to the multiple sets of c values.

[0027] In some embodiments, the method for measuring diopter further comprises:

[0028] Obtaining cylinder diopter of the eye to be measured: C=S*(d-c), wherein d=Max(A1'B1', B1'C1');

[0029] Obtaining cylinder axis angle a: calculating ∠D1'A1'B1' according to the cosine theorem, if A1'B1'>B1'C1', then the cylinder axis angle a=90°-∠D1'A1'B1'; if A1'B1

[0030] In some embodiments, the method for measuring diopter, the square region comprises two or more, and other square regions outside the initial square region are used as auxiliary verification squares;

[0031] Obtaining a deformation value corresponding to each auxiliary verification square as an auxiliary verification result;

[0032] Obtaining a first weighted average value of the auxiliary verification results;

[0033] If the difference between the deformation value and the first weighted average value is not within a set range, the deformation value is re-obtained;

[0034] Obtaining a cylinder diopter result corresponding to each auxiliary verification square;

[0035] Obtaining a second weighted average value of the cylinder diopter results;

[0036] If the difference between the cylinder diopter and the second weighted average value is not within a set range, the cylinder diopter is re-obtained;

[0037] Obtaining a cylinder axis angle result corresponding to each auxiliary verification square;

[0038] Obtaining a third weighted average value of the cylinder axis angle results;

[0039] If the difference between the cylinder axis angle and the third weighted average value is not within a set range, the cylinder axis angle is re-obtained.

[0040] In a second aspect, the technical scheme of the present application provides a computer readable storage medium, wherein the storage medium stores program information, and the computer reads the program information to execute the steps of the method for measuring diopter according to any one of the technical schemes of the first aspect.

[0041] In a third aspect, the present application provides a computer program product, comprising computer programs / instructions, which, when executed by a processor, implement the steps of the refractive power measurement method of any one of the first aspect.

[0042] In a fourth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the refractive power measurement method of any one of the first aspect.

[0043] The above technical solutions provided by the present application have the following technical effects compared with the prior art:

[0044] The refractive power measurement method, storage medium, and electronic device provided by the present application pre-perform linear reasoning on the relationship between refractive power and lens position, and generate a refractive power linear calculation function that can obtain refractive power by linear calculation using lens position. When measuring the refractive power of an eye to be measured, a series of eye fundus imaging images are collected by adjusting the position of the lens, a target eye fundus imaging image that meets the requirement of measuring refractive power is determined according to a preset rule, a target lens position is selected, and the target lens position is directly substituted into the above function to obtain the refractive power of the eye to be measured. Through the above scheme of the present application, only the position of the lens needs to be moved, and it is determined whether the eye fundus imaging image collected by the image collection component meets the condition of refractive power measurement. The target lens position is determined, and the refractive power of the eye to be measured can be obtained by linear calculation, which greatly simplifies the calculation process and improves the refractive power measurement efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0045] Figure 1 A schematic diagram of an optical path for implementing refractive power measurement is described for an embodiment of the present application;

[0046] Figure 2 A flowchart of a refractive power measurement method is described for an embodiment of the present application;

[0047] Figure 3 An initial image of a checkerboard pattern is described for an embodiment of the present application;

[0048] Figure 4a And Figure 4b A schematic diagram of deformation of a checkerboard pattern observed by an eye to be measured when the refractive power is not zero is described for an embodiment of the present application;

[0049] Figure 5 A schematic diagram of marking the vertices of an initial square is described for an embodiment of the present application;

[0050] Figure 6 A schematic diagram of marking the vertices of an imaged quadrilateral is described for an embodiment of the present application;

[0051] Figure 7 This is a schematic diagram of the hardware connections of an electronic device that performs the refractive power measurement method according to an embodiment of this application. Detailed Implementation

[0052] The specific embodiments of this application will be further described below with reference to the accompanying drawings.

[0053] It is readily understood that, based on the technical solution of this application, various structural and implementation methods can be interchanged by those skilled in the art without altering the essential spirit of this application. Therefore, the following detailed embodiments and accompanying drawings are merely illustrative examples of the technical solution of this application and should not be considered as the entirety of this application or as limitations or restrictions on the technical solution of the application.

[0054] The directional terms such as up, down, left, right, front, back, front, back, top, and bottom mentioned or possibly used in this specification are defined relative to the structures shown in the accompanying drawings. They are relative concepts and may therefore vary depending on their location and usage. Therefore, these or other directional terms should not be interpreted as restrictive.

[0055] This embodiment provides a method for measuring refractive power, applied to the control system of a refractive power measuring instrument, such as... Figure 2 As shown, the method includes the following steps:

[0056] S100: Generates a linear function for calculating refractive power based on the relationship between refractive power and lens position.

[0057] Combination Figure 1 As shown, in the device for measuring refractive power, lens 30 is typically driven by a micro-motor, with an automatically set coordinate system. The movement trajectory of lens 30 is set as the horizontal axis, and its movement range can be set between -200mm and +200mm. The upper limit position on one side is near the simulated eye 40, and the upper limit position on the other side is near the diopter 20. During the movement of lens 30, the fundus image acquired by image acquisition unit 50 changes synchronously. After multiple experiments, a linear correspondence between lens position and refractive power can be determined: S = kP + i. For example, when the fundus image acquired by image acquisition unit 50 is clearest, the refractive power of simulated eye 40 has a linear relationship with lens position. This can be achieved using... Figure 1 The optical path structure shown is used to conduct experiments with simulated eyes of different refractive powers. After obtaining multiple sets of experimental data, the refractive power and lens position are fitted and calculated. Remember to determine the linear coefficient k and adjustment parameter i in the above linear correspondence to obtain the linear calculation function of refractive power. This function can be used to measure the refractive power of the actual eye being measured.

[0058] S200: Adjusting the lens position to change the distance between the lens and the eye to be measured.

[0059] As described above, the lens position is moved in the range of -200mm-200mm to avoid being too close to the eye to be measured, and the fundus imaging image of the eye to be measured changes with the change of the lens position.

[0060] S300: Obtaining the fundus imaging images of the eye to be measured collected by the image collection component at different lens positions respectively.

[0061] The image collection component 50 can obtain the fundus imaging image in real time during the movement of the lens.

[0062] S400: Selecting a target fundus imaging image from all fundus imaging images according to a preset rule, and the lens position corresponding to the target fundus imaging image is a target lens position.

[0063] The preset rule can be determined according to the type of the initial image generated by the image generation component 10. Generally, the clearest fundus imaging image can be selected, and if the initial image is a special pattern such as a chessboard pattern, the preset rule can be whether the pattern is deformed. In specific applications, the corresponding preset rule can be selected according to the category of the initial image.

[0064] S500: Inputting the target lens position into the refractive linear calculation function to obtain the refractive measurement result of the eye to be measured.

[0065] The refractive linear calculation function provided in step S100 is a linear function about the refractive and the lens position, and the target lens position can be directly substituted into the above function to directly calculate the refractive of the eye to be measured.

[0066] The above scheme provided by the present application linearly infers the relationship between the refractive and the lens position in advance, generates a refractive linear calculation function for linear calculation of the refractive by using the lens position. When measuring the refractive of the eye to be measured, the position of the lens is adjusted, a series of fundus imaging images are collected, the target fundus imaging image meeting the refractive measurement requirement is determined according to the preset rule, the target lens position is selected, and the target lens position is directly substituted into the above function to obtain the refractive of the eye to be measured. Through the above scheme of the present application, only the lens position needs to be moved, it is determined whether the fundus imaging image collected by the image collection component meets the refractive measurement condition, the target lens position is determined, and the refractive of the eye to be measured can be obtained by linear calculation, which greatly simplifies the operation process and improves the refractive measurement efficiency.

[0067] Further, in the above scheme, step S400 includes:

[0068] S401: Obtain the sharpness of each fundus imaging image.

[0069] This step can be implemented by using existing algorithms for calculating image sharpness, such as the point sharpness method. The point sharpness method refers to: for any pixel point in the image, the gray level change rate of the pixel point and its adjacent pixel points is dI / dx, dI is the gray level difference, and dx is the pixel distance. Eight adjacent gray level change rates need to be calculated for each pixel point, and the point sharpness of the image is represented by the formula:

[0070]

[0071] The meanings of the parameters in the above formula are as follows:

[0072] D point : point sharpness

[0073] dI: adjacent point gray level difference

[0074] dx: pixel distance, for eight-point neighborhood, dx is always 1.

[0075] m and n represent the width and height of the image, respectively.

[0076] The sharpness of the fundus imaging image can be represented by the size of the point sharpness.

[0077] S402: Select the fundus imaging image with the largest sharpness as the target fundus imaging image.

[0078] The point sharpness of all fundus imaging images is calculated using the formula in step S401, and when D point is the largest, it is the clearest fundus imaging image.

[0079] The linear calculation function of the refractive power in step S100 is represented as:

[0080] S=k1P+i;

[0081] where S represents the refractive power, P represents the lens position, i represents the adjustment parameter, and k1 represents the linear function coefficient. Directly substituting the target lens position into P, k1 and i in the above formula, which are determined by step S100, the refractive power measurement result of the eye to be measured can be obtained.

[0082] Obviously, each of the above steps does not require complex operations and does not need to process the image too much. The refractive power measurement scheme of the present application is simple and accurate.

[0083] In the above scheme, the initial image can be any image. To facilitate image calibration operations by the image generation component, the initial image in the following embodiments of this application is preferably as follows: Figure 3 The checkerboard pattern shown is composed of numerous small squares of equal size. Compared to conventional circles or rings, the checkerboard pattern is easier to implement for orthodontic purposes, thus improving the accuracy of refractive power measurements. Combined with... Figure 1 The optical path shown depicts an image generation unit 10 projecting a checkerboard pattern image. After reflection by the simulated eye 40, the image acquisition unit 50 obtains a fundus image. If the refractive power is zero, the fundus image remains a checkerboard pattern; otherwise, deformation occurs, resulting in an image that is stretched and tilted. Figure 4a Or the parallelogram shape shown in 4b. By replacing simulated eyes with different refractive powers, the pixel size or sharpness of the checkerboard pattern can be determined, showing a linear relationship with the lens position and a linear relationship with the refractive power of the simulated eye. When using the checkerboard pattern as the initial image, the refractive power of the eye under test can still be obtained by selecting the target fundus imaging image and the target lens position using the aforementioned maximum sharpness judgment method. Preferably, the calculation method for selecting the target fundus imaging image from all fundus imaging images according to preset rules in step S400 can be simplified to...

[0084] S411: The target lens position is set at the origin position.

[0085] As mentioned earlier, the lens moves along the horizontal axis of a pre-defined coordinate system, with a range of -200mm to 200mm. The set origin is the midpoint of this range. At this point, the lens position P can be considered to be 0.

[0086] S412: The fundus imaging image corresponding to the lens at the set origin is used as the target fundus imaging image.

[0087] Through experimentation and reasoning, it has been determined that when the lens is positioned at the set origin, there is a linear relationship between the deformation information of the checkerboard pattern and the refractive power. Therefore, when measuring the refractive power of the eye under test, the lens can be directly moved to the set origin, and the deformation information can be obtained from the fundus image acquired by the image acquisition unit. The refractive power can then be directly calculated linearly, further simplifying the measurement steps and calculation process.

[0088] Furthermore, the linear diopter calculation function is expressed as:

[0089] S = k c ×j+e;

[0090] where S represents diopter, j and e represent adjustment parameters, and k represents a linear function coefficient. c represents a linear function coefficient.

[0091] j, e, and k in the above function c A plurality of sets of data can be obtained through experiments and then fitted. Specifically, the j value is determined as follows:

[0092] S421: Select at least one square region in the checkerboard pattern of the initial image, and select one of the square regions as an initial square. The four vertices of the initial square are marked as A1 point, B1 point, C1 point, and D1 point, A1B1=C1D1, and B1C1=A1D1. Figure 5 An initial square is selected as shown in the schematic diagram, in which the square side length is as long as possible. Therefore, the positions of the four corner points are selected as the four vertices of the initial square. Specifically, the intersection points of adjacent square blocks of the checkerboard are identified through a checkerboard intersection point identification method, and the coordinates of the intersection points are accurately positioned to obtain sub-pixel coordinate values. The four outermost corner points are directly selected as the four vertices of the initial square.

[0093] S422: Determine the corresponding imaging quadrilateral of the initial square in the fundus imaging image. The four vertices of the imaging quadrilateral are A1' point, B1' point, C1' point, and D1' point, A1'B1'=C1'D1', and B1'C1'=A1'D1'. When the cylinder diopter of the eye to be measured is zero, the A1' point, B1' point, C1' point, and D1' point still form a square, A1'B1'=C1'D1'=B1'C1'=A1'D1'. When the cylinder diopter of the eye to be measured is not zero, the A1' point, B1' point, C1' point, and D1' point form a parallelogram as shown in Figure 6 .

[0094] S423: Calculate c=Min(A1'B1', B1'C1'), and the c value has the following linear relationship with the lens position: c=k p P+j.

[0095] Still taking the optical path shown in Figure 1 as an example, for an analog eye 40 with different diopters, the lens 30 is moved, the fundus imaging image of the analog eye 40 is obtained through the image acquisition component 50, and A1'B1', B1'C1', and c are obtained according to the above checkerboard intersection point identification method. The c value and the lens position P have the following linear relationship: c=k p P+d. Through multiple experiments on the measurement results of analog eyes with different diopters, the coefficient k pand parameter d. Let P=0 represent the lens position at the set origin position, the c value of different diopters at the lens position of "0" can be calculated, represented as c0. Obviously, if P is 0, c0=j.

[0096] And the diopter S has the following linear relationship with c0: S=k c ×c0+e, that is, S=k c ×j+e. After multiple tests on the measurement results of the simulated eyes of different diopters, the coefficients k c and parameter e can be calculated.

[0097] Obviously, the chessboard pattern can further simplify the calculation process for diopter measurement.

[0098] Further preferably, the diopter measurement method in the above scheme further comprises:

[0099] S600: Obtain the cylinder diopter of the eye to be measured: C=S×(d-c), where d=Max(A1'B1', B1'C1').

[0100] S700: Obtain the cylinder axis angle α: calculate ∠D1'A1'B1' according to the cosine law, if A1'B1'>B1'C1', then the cylinder axis angle α=90°-∠D1'A1'B1'; if A1'B1'<B1'C1', then α=∠D1'A1'B1'.

[0101] The diopter measurement in steps S500 and before in the scheme is for the spherical diopter, and steps S600 and S700 are for the measurement of the cylinder diopter. Through the scheme, the chessboard pattern can be used as the initial image, the spherical diopter, the cylinder diopter and the cylinder axis angle can be directly measured by moving the lens to the set origin position, the operation is simple, and the calculation amount is small.

[0102] In the above scheme, the calibration step for the diopter measurement result can also be included to avoid errors in the measurement result of a single square region due to environmental interference and the like. The calibration process is as follows:

[0103] S801: The square region includes two or more, and other square regions outside the initial square are used as auxiliary check squares. In specific implementation, different square regions can be distributed around the center block of the chessboard pattern.

[0104] S802: Obtain the deformation value corresponding to each auxiliary check square as an auxiliary check result; obtain the first weighted average value of the auxiliary check result; if the difference between the deformation value and the first weighted average value is not within the set range, the deformation value is reacquired.

[0105] S803: Obtain cylinder diopter result corresponding to each of the auxiliary check squares; obtain second weighted average value of the cylinder diopter results; if the difference between the cylinder diopter and the second weighted average value is not within a set range, re-obtain the cylinder diopter.

[0106] S804: Obtain cylinder axis angle result corresponding to each of the auxiliary check squares; obtain third weighted average value of the cylinder axis angle results; if the difference between the cylinder axis angle and the third weighted average value is not within a set range, re-obtain the cylinder axis angle.

[0107] The above S802, S803 and S804 refer to calculating the diopter (spherical power), cylinder diopter and cylinder axis angle respectively for the auxiliary check squares by using the foregoing steps. Then, the average value is calculated according to each of the calculation results or the weighted average operation is performed according to the positions of the square regions. The average operation result is used as a judgment reference. If the calculation result of the original initial square deviates from the reference, the original result is considered to be usable. Otherwise, the original result is considered to have a large error and needs to be recalculated. The above process is repeated until the calculation result of the initial square meets the error requirement. Through the scheme of the present application, the error of the diopter measurement result can be further ensured to be within the allowable range.

[0108] The embodiment of the present application further provides a computer readable storage medium, wherein the storage medium stores program information. After the computer reads the program information, the steps of the diopter measurement method in any one of the method embodiments are executed.

[0109] The embodiment of the present application further provides a computer program product, which includes computer program / instruction. When the computer program / instruction is executed by a processor, the steps of the diopter measurement method in any one of the method embodiments are implemented.

[0110] The embodiment of the present application further provides an electronic device, such as a mobile phone, a tablet computer, a personal computer, a wearable device or a server. Figure 7As shown, the electronic device includes at least one processor 71 and at least one memory 72, at least one of the memories 72 stores program information, and at least one of the processors 71 reads the program information and performs the refractive power measurement method according to any of the above method embodiments. The device can also include an input device 73 and an output device 74. The processor 71, the memory 72, the input device 73 and the output device 74 can be communicatively connected. The memory 72 as a non-volatile computer readable storage medium can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 71 performs various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 72, that is, implements the refractive power measurement method provided in any of the above schemes. The memory 72 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created according to the use of the refractive power measurement method, etc. In addition, the memory 72 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 72 can optionally include a memory remotely arranged with respect to the processor 71, and these remote memories can be connected to the device performing the refractive power measurement method through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The input device 73 can receive input user clicks and generate signal inputs related to user settings and function controls of the refractive power measurement method. The output device 74 can include a display device such as a display screen. When the one or more modules are stored in the memory 72 and are run by the one or more processors 71, the refractive power measurement method in any of the above method embodiments is executed.

[0111] According to the needs, the above technical solutions can be combined to achieve the best technical effect.

[0112] The above is only the principles and preferred embodiments of the present application. It should be noted that for those skilled in the art, on the basis of the principles of the present application, a number of other variants can also be made, which should also be considered as the protection scope of the present application.

Claims

1. A method for measuring refractive power, characterized in that, include: A linear function for calculating refractive power is generated based on the relationship between refractive power and lens position; Adjust the position of the lens to change the distance between the lens and the eye being tested; Fundus imaging images of the eye under test acquired by the image acquisition unit at different lens positions are obtained respectively; A target fundus imaging image is selected from all fundus imaging images according to a preset rule, and the lens position corresponding to the target fundus imaging image is the target lens position. The target lens position is input into the refractive power linear calculation function to obtain the refractive power measurement result of the eye under test; When the initial image corresponding to the fundus imaging image is a checkerboard pattern, in the process of generating a linear refractive power calculation function based on the relationship between refractive power and lens position, the linear refractive power calculation function is expressed as follows: S=k c ×j+e; Where S represents diopter, j and e represent adjustment parameters, and k c Represents the coefficients of a linear function; The value of j is determined as follows: In the checkerboard pattern of the initial image, at least one square region is selected, and one of the square regions is used as the initial square. The four vertices of the initial square are marked as points A1, B1, C1 and D1, respectively, where A1B1=C1D1 and B1C1=A1D1. The initial square is determined to correspond to the imaging quadrilateral in the fundus imaging image, wherein the four vertices of the imaging quadrilateral are A1', B1', C1' and D1', A1'B1'=C1'D1', and B1'C1'=A1'D1'. Calculate c = Min(A1'B1', B1'C1'), and the value of c has the following linear relationship with the lens position P: c = k p P+j; Repeat the above steps to obtain multiple sets of c values, and then analyze the j values ​​to obtain the j value.

2. The method for measuring refractive power according to claim 1, characterized in that, The step of selecting a target fundus imaging image from all fundus imaging images according to preset rules includes: The origin position is set as the target lens position; The fundus imaging image corresponding to the lens at the set origin is used as the target fundus imaging image.

3. The method for measuring refractive power according to claim 2, characterized in that, The method further includes: Obtain the cylindrical refractive power of the eye to be tested: C = S × (dc), where d = Max(A1'B1', B1'C1'); Obtain the cylindrical lens axis angle α: Calculate ∠D1'A1'B1' according to the law of cosines. If A1'B1'>B1', then the cylindrical lens axis angle α=90°-∠D1'A1'B1'; if A1'B1'<B1'C1', then α=∠D1'A1'B1'.

4. The method for measuring refractive power according to claim 3, characterized in that: The square region includes two or more square regions, with other square regions outside the initial square serving as auxiliary verification squares; Obtain the deformation value corresponding to each auxiliary verification square as the auxiliary verification result; Obtain the first weighted average of the auxiliary verification results; If the difference between the deformation value and the first weighted average value is not within the set range, the deformation value is re-acquired; Obtain the cylindrical lens diopter result corresponding to each of the auxiliary verification squares; Obtain the second weighted average of the cylindrical lens refractive power results; If the difference between the cylindrical lens power and the second weighted average value is not within the set range, the cylindrical lens power is re-acquired; Obtain the cylindrical mirror axis angle result corresponding to each of the auxiliary verification squares; Obtain the third weighted average of the cylindrical lens axis angle results; If the difference between the cylindrical lens axis angle and the third weighted average value is not within the set range, the cylindrical lens axis angle is re-acquired.

5. A computer-readable storage medium, characterized in that, The storage medium stores program information, and after the computer reads the program information, it executes the steps of the refractive power measurement method according to any one of claims 1-4.

6. A computer program product, characterized in that, The method includes a computer program / instruction, characterized in that, when executed by a processor, the computer program / instruction implements the steps of the refractive power measurement method according to any one of claims 1-4.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the refractive power measurement method according to any one of claims 1-4.

Citation Information

Patent Citations

  • Aberration instrument for measuring human eye adjustment state

    CN115736813A

  • Eye fundus image measurement method, terminal device and computer readable storage medium

    CN117462072A