A high-definition and fast registration method for ophthalmic OCT images

Through signal-to-noise ratio comparison and spatial transformation technology, the problem of low registration accuracy of ophthalmic OCT images is solved and the effect of high-definition and fast registration is achieved.

CN116309753BActive Publication Date: 2024-10-25ZHONGSHAN OPHTHALMIC CENT SUN YAT SEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310318967.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-25
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

The registration accuracy of ophthalmic OCT images in the existing technology is low, making it difficult to achieve high-definition and rapid registration.

Method used

By obtaining the signal-to-noise ratio of the OCT images for comparison, the image with the strongest signal-to-noise ratio is selected as the reference image, and the other image is spatially transformed until the points at the same spatial position of the two images correspond to each other, and if necessary Perform pixel coordinate adjustment and interpolation processing to improve registration accuracy.

Benefits of technology

Significantly improves the registration accuracy of OCT images, ensuring the effect of high-definition and fast registration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116309753B_ABST
    Figure CN116309753B_ABST
Patent Text Reader

Abstract

The invention relates to a high-definition rapid registration method for an ophthalmic OCT image, and in particular to the field of OCT technology. The method comprises: a data analysis module determines a reference image and a floating image according to a signal-to-noise ratio of an OCT image acquired by a data acquisition module; the data analysis module determines a first pixel coordinate value acquired by the data acquisition module to determine whether the first pixel coordinate value is an optimal pixel coordinate value according to a coordinate level at which the first pixel coordinate value is located; when it is determined that the first pixel coordinate value is at a first coordinate level or a third coordinate level, the floating image is adjusted according to a first coordinate difference between the first pixel coordinate value and a minimum pixel coordinate value or a second coordinate difference between the first pixel coordinate value and a maximum pixel coordinate value; the data analysis module determines whether a second pixel coordinate value acquired by the data acquisition module is an integer, and if not an integer, the data analysis module interpolates the floating image so that the second pixel coordinate value meets the standard; and the registration accuracy of the ophthalmic OCT image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of OCT technology, and in particular to a high-definition rapid registration method for ophthalmic OCT images. Background Art

[0002] Since the 20th century, medical imaging technology has developed rapidly, from static to dynamic, from morphology to function, and from plane to three-dimensional. From the perspective of various figures, displaying each information on the same image and providing images containing a large amount of digital information for clinical medical diagnosis has become a very valuable technology, and accurate and efficient image registration criteria are the key and difficulty. Therefore, image registration technology is of great significance both in computer vision and in clinical medical diagnosis.

[0003] Chinese Patent Publication No.: CN106504228B discloses a large-scale high-definition rapid registration method for ophthalmic OCT images, including: selecting the image with the strongest signal-to-noise ratio from n OCT images obtained by scanning the human eye with an ophthalmic OCT device as a reference image, and registering the remaining n-1 OCT images as images to be matched with the reference image respectively to obtain m registered OCT images; synthesizing the m registered OCT images into a synthesized high-definition OCT image; the invention also discloses a large-scale high-definition rapid registration device for ophthalmic OCT images, including an OCT image registration module and a high-definition OCT image synthesis module. When any image to be matched is registered with the reference image, a frequency domain registration method is used in the vertical direction; in multiple registrations performed in the horizontal direction, a binary search method is used for iteration, which reduces the number of cycles and improves the speed and accuracy of the algorithm.

[0004] It can be seen that the prior art has the problem of low registration accuracy of OCT images. Summary of the invention

[0005] To this end, the present invention provides a high-definition fast registration method for ophthalmic OCT images, so as to overcome the problem of low registration accuracy of OCT images in the prior art.

[0006] To achieve the above object, the present invention provides a high-definition rapid registration method for ophthalmic OCT images, comprising:

[0007] Step S1, the data analysis module determines the reference image and the floating image according to the signal-to-noise ratio of the OCT image acquired by the data acquisition module;

[0008] Step S2, the data analysis module determines the first pixel coordinate value after the floating image is spatially transformed by the data acquisition module, so as to determine whether the first pixel coordinate value is an optimal pixel coordinate value according to the coordinate level of the first pixel coordinate value;

[0009] Step S3, adjusting the floating image according to a first coordinate difference between the first pixel coordinate value and a minimum pixel coordinate value when the first pixel coordinate value is determined to be at a first coordinate level, or according to a second coordinate difference between the first pixel coordinate value and a maximum pixel coordinate value when the first pixel coordinate value is determined to be at a third coordinate level;

[0010] Step S4, the data analysis module determines whether the second pixel coordinate value of the floating image obtained by the data acquisition module after optimization is an integer; if the second pixel coordinate value is not an integer, the data analysis module interpolates the floating image so that the second pixel coordinate value meets the standard;

[0011] The data analysis module determines a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value, compares the numerical difference with a numerical difference threshold, and determines an interpolation quantity for the floating image according to the comparison result.

[0012] Furthermore, in step S1, the data acquisition module acquires the signal-to-noise ratio of the OCT image, compares the signal-to-noise ratio with a signal-to-noise ratio standard, and the data analysis module determines whether the OCT image can be used as a reference image according to the comparison result, wherein:

[0013] If the signal-to-noise ratio is at a first signal-to-noise ratio intensity, the data analysis module determines that the OCT image cannot be used as a reference image;

[0014] If the signal-to-noise ratio is at a second signal-to-noise ratio intensity, the data analysis module determines that the OCT image can be used as a reference image;

[0015] The first signal-to-noise ratio strength needs to satisfy a signal-to-noise ratio standard that the signal-to-noise ratio of the OCT image is less than or equal to the signal-to-noise ratio standard, and the second signal-to-noise ratio strength needs to satisfy a signal-to-noise ratio of the OCT image that is greater than the signal-to-noise ratio standard.

[0016] Furthermore, in the step S1, the data analysis module determines an image in the OCT image that meets the second signal-to-noise ratio intensity as a reference image, and determines another image as a floating image, wherein the floating image needs to be continuously spatially transformed to determine the optimal output result.

[0017] Furthermore, in step S2, the data acquisition module acquires a first pixel coordinate value after the floating image is spatially transformed, the first pixel coordinate value corresponding to a minimum pixel coordinate value and a maximum pixel coordinate value that conform to the optimal floating image.

[0018] If the first pixel coordinate value is at a first coordinate level, the data analysis module determines that the first pixel coordinate value is not an optimal pixel coordinate value;

[0019] If the first pixel coordinate value is at a second coordinate level, the data analysis module determines that the first pixel coordinate value is an optimal pixel coordinate value;

[0020] If the first pixel coordinate value is at a third coordinate level, the data analysis module determines that the first pixel coordinate value is not an optimal pixel coordinate value;

[0021] Among them, the first coordinate level satisfies that the first pixel coordinate value is less than the minimum pixel coordinate value, the second coordinate level satisfies that the first pixel coordinate value is greater than or equal to the minimum pixel coordinate value and less than or equal to the maximum pixel coordinate value, and the third coordinate level satisfies that the first pixel coordinate value is greater than the maximum pixel coordinate value.

[0022] Furthermore, in the step S3, the data analysis module is provided with a method for adjusting transformation parameters when performing spatial transformation on the floating image at the first coordinate level, wherein:

[0023] The first adjustment mode is that the data analysis module adjusts the current transformation parameter to a first increased transformation parameter;

[0024] The second adjustment method is that the data analysis module adjusts the current transformation parameter to a second increased transformation parameter;

[0025] The third adjustment method is that the data analysis module adjusts the current transformation parameter to a third increased transformation parameter;

[0026] Among them, the current transformation parameter < the first increasing transformation parameter < the second increasing transformation parameter < the third increasing transformation parameter.

[0027] Furthermore, in step S3, the data analysis module determines the adjustment method for the transformation parameter according to the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value at the first coordinate level, wherein:

[0028] If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is less than or equal to the first preset coordinate increase difference, the data analysis module selects the first adjustment method;

[0029] If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is greater than the first preset coordinate increase difference and less than or equal to the second preset coordinate increase difference, the data analysis module selects the second adjustment method;

[0030] If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is greater than the second preset coordinate increase difference, the data analysis module selects the third adjustment method.

[0031] Furthermore, in the step S3, the data analysis module is provided with a method for correcting transformation parameters when the floating image is spatially transformed at the third coordinate level, wherein:

[0032] The first correction method is that the data analysis module corrects the current transformation parameter to a first reduced transformation parameter;

[0033] The second correction method is that the data analysis module corrects the current transformation parameter to a second reduced transformation parameter;

[0034] The third correction method is that the data analysis module corrects the current transformation parameter to a third reduced transformation parameter;

[0035] Among them, the current transformation parameter>the first reduced transformation parameter>the second reduced transformation parameter>the third reduced transformation parameter.

[0036] Furthermore, in step S3, the data analysis module determines the correction method for the transformation parameter according to the second coordinate difference between the first pixel coordinate value and the maximum pixel coordinate value after the spatial transformation of the floating image at the third coordinate level, wherein:

[0037] If the second coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the maximum pixel coordinate value is less than or equal to the first preset coordinate reduction difference, the data analysis module selects the first correction method;

[0038] If the second coordinate difference between the first pixel coordinate value and the maximum pixel coordinate value after the spatial transformation of the floating image is greater than the first preset coordinate reduction difference and less than or equal to the second preset coordinate reduction difference, the data analysis module selects the second correction method;

[0039] If the second coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the maximum pixel coordinate value is greater than the second preset coordinate reduction difference, the data analysis module selects the third correction method.

[0040] Furthermore, in step S4, the data acquisition module acquires the second pixel coordinate value of the optimized floating image, and the analysis module determines whether the second pixel coordinate value is an integer. If the second pixel coordinate value is not an integer, the data analysis module interpolates the floating image so that the second pixel coordinate value meets the standard.

[0041] Further, in the step S4, the data analysis module determines the numerical difference between the second pixel coordinate value and the numerical value of the nearest integer to the second pixel coordinate value to determine the number of interpolations for the floating image, wherein:

[0042] If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a first value level, the data analysis module determines the interpolation quantity for the floating image to be a first quantity;

[0043] If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a second value level, the data analysis module determines the interpolation quantity for the floating image to be a second quantity;

[0044] If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a third value level, the data analysis module determines the interpolation quantity for the floating image to be a third quantity;

[0045] The first numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is less than or equal to a first numerical difference threshold, the second numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is greater than a first numerical difference threshold and less than or equal to a second numerical difference threshold, and the third numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is greater than a second numerical difference threshold;

[0046] Among them, the first number is less than the second number and less than the third number, and the first numerical difference threshold is less than the second numerical difference threshold.

[0047] Compared with the prior art, the beneficial effect of the present invention lies in that, by acquiring the signal-to-noise ratio of two OCT images, the signal-to-noise ratio is compared with the signal-to-noise ratio standard, and whether the OCT image can be used as a reference image is determined according to the comparison result, so that the image with the strongest signal-to-noise ratio is selected from the two OCT images as the reference image and fixed, and the other image is continuously spatially transformed as a floating image until points at the same spatial position of the two images correspond to each other, thereby further improving the registration accuracy of the OCT images.

[0048] Furthermore, the present invention obtains the first pixel coordinate value of the floating image after spatial transformation, and compares the first pixel coordinate value with the minimum pixel coordinate value and the maximum pixel coordinate value corresponding to the optimal image, so as to determine whether the first pixel coordinate value is the optimal pixel coordinate value according to the comparison result, thereby adjusting the transformation parameters when it is not the optimal pixel coordinate value, thereby further improving the registration accuracy of the OCT image.

[0049] Furthermore, when the first pixel coordinate value is less than the minimum pixel coordinate value, the present invention determines the adjustment method of the transformation parameter according to the first pixel coordinate value after the floating image is spatially transformed and the first coordinate difference of the minimum pixel coordinate value, and increases the transformation parameter to adjust the pixel coordinate value, thereby making the points at the same spatial position of the two images correspond to each other, thereby further improving the registration accuracy of the OCT image;

[0050] In particular, when the third coordinate level satisfies that the first pixel coordinate value is greater than the maximum pixel coordinate value, the present invention determines the method of correcting the transformation parameters based on the second coordinate difference between the first pixel coordinate value after spatial transformation of the floating image and the maximum pixel coordinate value, and corrects the pixel coordinate value by reducing the transformation parameters, thereby making the points at the same spatial position of the two images correspond to each other, thereby further improving the registration accuracy of the OCT image.

[0051] Furthermore, the present invention obtains the second pixel coordinate value of the floating image after optimization and determines whether the second pixel coordinate value is an integer. If it is not an integer, interpolation processing is performed on the floating image to make the second pixel coordinate value meet the standard, thereby further improving the registration accuracy of the OCT image.

[0052] Furthermore, the present invention determines the number of interpolations of the floating image by determining the numerical difference between the second pixel coordinate value and the numerical value of the integer closest to the second pixel coordinate value. When the numerical difference is larger, the number of interpolations is larger, thereby further improving the registration accuracy of the OCT image. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a flow chart of the high-definition rapid registration method of ophthalmic OCT images according to the present invention;

[0054] Figure 2 The structure block diagram of the system of the high-definition rapid registration method of ophthalmic OCT images described in the present invention. DETAILED DESCRIPTION

[0055] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0056] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0057] See also Figure 1 and Figure 2 As shown, Figure 1 It is a flow chart of the high-definition rapid registration method of ophthalmic OCT images according to the present invention; Figure 2 The structure block diagram of the system of the high-definition rapid registration method of ophthalmic OCT images described in the present invention.

[0058] The high-definition rapid registration method of ophthalmic OCT images described in an embodiment of the present invention comprises:

[0059] Step S1, the data analysis module determines the reference image and the floating image according to the signal-to-noise ratio of the OCT image acquired by the data acquisition module;

[0060] Step S2, the data analysis module determines the first pixel coordinate value acquired by the data acquisition module, so as to determine whether the first pixel coordinate value is an optimal pixel coordinate value according to the coordinate level of the first pixel coordinate value;

[0061] Step S3, when it is determined that the first pixel coordinate value is at the first coordinate level or the third coordinate level, adjusting the floating image according to a first coordinate difference between the first pixel coordinate value and a minimum pixel coordinate value or a second coordinate difference between the first pixel coordinate value and a maximum pixel coordinate value;

[0062] Step S4, the data analysis module determines whether the second pixel coordinate value obtained by the data acquisition module is an integer. If the second pixel coordinate value is not an integer, the data analysis module interpolates the floating image so that the second pixel coordinate value meets the standard.

[0063] The data analysis module determines a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value, compares the numerical difference with a numerical difference threshold, and determines an interpolation quantity for the floating image according to the comparison result.

[0064] Specifically, in step S1, the data acquisition module acquires the signal-to-noise ratio of the OCT image, compares the signal-to-noise ratio with a signal-to-noise ratio standard, and the data analysis module determines whether the OCT image can be used as a reference image according to the comparison result, wherein:

[0065] If the signal-to-noise ratio is at a first signal-to-noise ratio intensity, the data analysis module determines that the OCT image cannot be used as a reference image;

[0066] If the signal-to-noise ratio is at a second signal-to-noise ratio intensity, the data analysis module determines that the OCT image can be used as a reference image;

[0067] The first signal-to-noise ratio strength needs to satisfy a signal-to-noise ratio standard that the signal-to-noise ratio of the OCT image is less than or equal to the signal-to-noise ratio standard, and the second signal-to-noise ratio strength needs to satisfy a signal-to-noise ratio of the OCT image that is greater than the signal-to-noise ratio standard.

[0068] Specifically, in step S1, the data analysis module determines an image in the OCT image that meets the second signal-to-noise ratio intensity as a reference image, and determines another image as a floating image, wherein the floating image needs to be continuously spatially transformed to determine the optimal output result.

[0069] In the embodiment of the present invention, the image with the strongest signal-to-noise ratio is selected from the two OCT images as a reference image and fixed, and the other image is used as a floating image and continuously spatially transformed until points at the same spatial position of the two images correspond to each other, thereby further improving the registration accuracy of the OCT images.

[0070] Specifically, in step S2, the data acquisition module acquires a first pixel coordinate value after the floating image is spatially transformed, the first pixel coordinate value corresponding to a minimum pixel coordinate value and a maximum pixel coordinate value that conform to the optimal floating image.

[0071] If the first pixel coordinate value is at a first coordinate level, the data analysis module determines that the first pixel coordinate value is not an optimal pixel coordinate value;

[0072] If the first pixel coordinate value is at a second coordinate level, the data analysis module determines that the first pixel coordinate value is an optimal pixel coordinate value;

[0073] If the first pixel coordinate value is at a third coordinate level, the data analysis module determines that the first pixel coordinate value is not an optimal pixel coordinate value;

[0074] Among them, the first coordinate level satisfies that the first pixel coordinate value is less than the minimum pixel coordinate value, the second coordinate level satisfies that the first pixel coordinate value is greater than or equal to the minimum pixel coordinate value and less than or equal to the maximum pixel coordinate value, and the third coordinate level satisfies that the first pixel coordinate value is greater than the maximum pixel coordinate value.

[0075] Specifically, in step S3, the data analysis module is provided with a method for adjusting transformation parameters when performing spatial transformation on the floating image at the first coordinate level, wherein:

[0076] The first adjustment mode is that the data analysis module adjusts the current transformation parameter to a first increased transformation parameter;

[0077] The second adjustment method is that the data analysis module adjusts the current transformation parameter to a second increased transformation parameter;

[0078] The third adjustment method is that the data analysis module adjusts the current transformation parameter to a third increased transformation parameter;

[0079] Among them, the current transformation parameter < the first increasing transformation parameter < the second increasing transformation parameter < the third increasing transformation parameter.

[0080] Specifically, in step S3, the data analysis module determines the adjustment method for the transformation parameter according to the first pixel coordinate value after the floating image is spatially transformed and the first coordinate difference between the minimum pixel coordinate value at the first coordinate level, wherein:

[0081] If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is less than or equal to the first preset coordinate increase difference, the data analysis module selects the first adjustment method;

[0082] If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is greater than the first preset coordinate increase difference and less than or equal to the second preset coordinate increase difference, the data analysis module selects the second adjustment method;

[0083] If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is greater than the second preset coordinate increase difference, the data analysis module selects the third adjustment method.

[0084] The present invention provides a preferred implementation to adjust the transformation parameters, and the specific implementation is as follows:

[0085] The data analysis module is preset with a first adjustment coefficient K1, a second adjustment coefficient K2 and a third adjustment coefficient K3, 1<K1<K2<K3<1.2, and the data analysis module is also provided with a first preset coordinate increase difference ΔHd1 and a second preset coordinate increase difference ΔHd2, ΔHd1<ΔHd2, the data analysis module calculates the first coordinate difference ΔHd between the first pixel coordinate value H and the minimum pixel coordinate value Hmin after the spatial transformation of the floating image, and sets ΔHd=Hmin-H, and the data analysis module compares the first coordinate difference ΔHd with ΔHd1 and ΔHd2 respectively to determine the selected adjustment method for the transformation parameters, wherein,

[0086] If ΔHd≤ΔHd1, the data analysis module selects the first adjustment method, specifically, selects the first adjustment coefficient K1 to adjust the current transformation parameter P0 to the first increased transformation parameter Pd1, and sets Pd1=P0×K1;

[0087] If ΔHd1<ΔHd≤ΔHd2, the data analysis module selects the second adjustment method, specifically, selects the second adjustment coefficient K2 to adjust the current transformation parameter P0 to the second increased transformation parameter Pd2, and sets Pd2=P0×K2;

[0088] If ΔHd>ΔHd2, the data analysis module selects the third adjustment method, specifically, selects the third adjustment coefficient K3 to adjust the current transformation parameter P0 to the third increased transformation parameter Pd3, and sets Pd3=P0×K3;

[0089] P0<Pd1<Pd2<Pd3.

[0090] In this embodiment, it is set that 1<K1<1.05<K2<1.1<K3<1.2. In this embodiment, K1=1.03, K2=1.08, K3=1.15 are preferably used. In this embodiment, the current transformation parameter is 1.3. The first pixel coordinate value corresponds to the minimum pixel coordinate value of 5 that meets the optimal floating image. 1<ΔHd1<1.5<ΔHd2<2. In this embodiment, ΔHd1=1.3, ΔHd2=1.7 are preferably used.

[0091] Specifically, in step S3, the data analysis module is provided with a method for correcting transformation parameters when performing spatial transformation on the floating image at the third coordinate level, wherein:

[0092] The first correction method is that the data analysis module corrects the current transformation parameter to a first reduced transformation parameter;

[0093] The second correction method is that the data analysis module corrects the current transformation parameter to a second reduced transformation parameter;

[0094] The third correction method is that the data analysis module corrects the current transformation parameter to a third reduced transformation parameter;

[0095] Among them, the current transformation parameter>the first reduced transformation parameter>the second reduced transformation parameter>the third reduced transformation parameter.

[0096] Specifically, in step S3, the data analysis module determines the correction method for the transformation parameter according to the second coordinate difference between the first pixel coordinate value and the maximum pixel coordinate value after the spatial transformation of the floating image at the third coordinate level, wherein:

[0097] If the second coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the maximum pixel coordinate value is less than or equal to the first preset coordinate reduction difference, the data analysis module selects the first correction method;

[0098] If the second coordinate difference between the first pixel coordinate value and the maximum pixel coordinate value after the spatial transformation of the floating image is greater than the first preset coordinate reduction difference and less than or equal to the second preset coordinate reduction difference, the data analysis module selects the second correction method;

[0099] If the second coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the maximum pixel coordinate value is greater than the second preset coordinate reduction difference, the data analysis module selects the third correction method.

[0100] The present invention provides a preferred implementation to modify the transformation parameters, and the specific modification method is as follows:

[0101] The data analysis module is preset with a first correction coefficient X1, a second correction coefficient X2 and a third correction coefficient X3, 0.8<X3<X2<X1<1, and the data analysis module is also provided with a first preset coordinate reduction difference ΔHx1 and a second preset coordinate reduction difference ΔHx2, ΔHx1<ΔHx2, the data analysis module calculates the second coordinate difference ΔHx between the first pixel coordinate value H and the maximum pixel coordinate value Hmax after the spatial transformation of the floating image, and sets ΔHx=H-Hmax, and the data analysis module compares the second coordinate difference ΔHx with ΔHx1 and ΔHx2 respectively to determine the correction method for the transformation parameters, wherein,

[0102] If ΔHx≤ΔHx1, the data analysis module selects the first correction method, specifically, selects the first correction coefficient X1 to correct the current transformation parameter P0 to the first reduced transformation parameter Px1, and sets Px1=P0×X1;

[0103] If ΔHx1<ΔHx≤ΔHx2, the data analysis module selects the second correction method, specifically, selects the second correction coefficient X2 to correct the current transformation parameter P0 to the second reduced transformation parameter Px2, and sets Px2=P0×X2;

[0104] If ΔHx>ΔHx2, the data analysis module selects the third correction method, specifically, selects the third correction coefficient X3 to correct the current transformation parameter P0 to the third reduced transformation parameter Px3, and sets Px3=P0×X3;

[0105] P0>Px1>Px2>Px3.

[0106] In this embodiment, it is set that 0.8<X1<0.85<X2<0.9<X1<1. In this embodiment, X1=0.95, X2=0.88, X3=0.83 are preferably used. In this embodiment, the current transformation parameter is 1.3. The first pixel coordinate value corresponds to the maximum pixel coordinate value of the optimal floating image of 10, 2<ΔHx1<4<ΔHx2<6. In this embodiment, ΔHx1=3, ΔHx2=5 are preferably used.

[0107] Specifically, in step S4, the data acquisition module acquires the second pixel coordinate value of the optimized floating image, and the analysis module determines whether the second pixel coordinate value is an integer. If the second pixel coordinate value is not an integer, the data analysis module interpolates the floating image to make the second pixel coordinate value meet the standard.

[0108] Specifically, in step S4, the data analysis module determines the numerical difference between the second pixel coordinate value and the numerical value of the integer closest to the second pixel coordinate value to determine the number of interpolations for the floating image, wherein:

[0109] If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a first value level, the data analysis module determines the interpolation quantity for the floating image to be a first quantity;

[0110] If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a second value level, the data analysis module determines the interpolation quantity for the floating image to be a second quantity;

[0111] If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a third value level, the data analysis module determines the interpolation quantity for the floating image to be a third quantity;

[0112] The first numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is less than or equal to a first numerical difference threshold, the second numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is greater than a first numerical difference threshold and less than or equal to a second numerical difference threshold, and the third numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is greater than a second numerical difference threshold;

[0113] Among them, the first number is less than the second number and less than the third number, and the first numerical difference threshold is less than the second numerical difference threshold.

[0114] The system of the high-definition rapid registration method of ophthalmic OCT images according to the embodiment of the present invention comprises:

[0115] A data acquisition module, used to acquire the signal-to-noise ratio of the OCT image, acquire the first pixel coordinate value of the floating image after spatial transformation, and acquire the second pixel coordinate value of the optimized floating image;

[0116] The data analysis module is connected to the data acquisition module to determine the reference image and the floating image, optimize the first pixel coordinate value of the floating image, and determine whether the optimized second pixel coordinate value is an integer to perform interpolation processing on the floating image.

[0117] In the embodiment of the present invention, the pixel coordinate value is the vector of the coordinates (x, y, z), that is, .

[0118] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

[0119] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A high-definition rapid registration method for ophthalmic OCT images, characterized in that: include: Step S1, the data analysis module determines the reference image and the floating image according to the signal-to-noise ratio of the OCT image acquired by the data acquisition module; Step S2, the data analysis module determines the first pixel coordinate value after the data acquisition module acquires the floating image and performs spatial transformation, so as to determine whether the first pixel coordinate value is an optimal pixel coordinate value according to the coordinate level of the first pixel coordinate value; Step S3, adjusting the floating image after spatial transformation according to a first coordinate difference between the first pixel coordinate value and a minimum pixel coordinate value when the first pixel coordinate value is determined to be at a first coordinate level, or according to a second coordinate difference between the first pixel coordinate value and a maximum pixel coordinate value when the first pixel coordinate value is determined to be at a third coordinate level; wherein the adjustment method of the transformation parameter when the floating image is spatially transformed at the first coordinate level comprises a first adjustment method of adjusting the current transformation parameter to a first increased transformation parameter, a second adjustment method of adjusting the current transformation parameter to a second increased transformation parameter, and a third adjustment method of adjusting the current transformation parameter to a third increased transformation parameter, wherein the current transformation parameter < the first increased transformation parameter < the second increased transformation parameter < the third increased transformation parameter; The modification method of the transformation parameter when the floating image is spatially transformed at the third coordinate level includes a first modification method of modifying the current transformation parameter to a first reduced transformation parameter, a second modification method of modifying the current transformation parameter to a second reduced transformation parameter, and a third modification method of modifying the current transformation parameter to a third reduced transformation parameter, wherein the current transformation parameter>the first reduced transformation parameter>the second reduced transformation parameter>the third reduced transformation parameter; The first coordinate level satisfies that the first pixel coordinate value is less than a minimum pixel coordinate value, and the third coordinate level satisfies that the first pixel coordinate value is greater than a maximum pixel coordinate value; The first pixel coordinate value corresponds to a minimum pixel coordinate value and a maximum pixel coordinate value that conform to the optimal floating image; Step S4, the data analysis module determines whether the second pixel coordinate value of the floating image obtained by the data acquisition module after optimization is an integer; if the second pixel coordinate value is not an integer, the data analysis module interpolates the floating image so that the second pixel coordinate value meets the standard; The data analysis module determines a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value, compares the numerical difference with a numerical difference threshold, and determines an interpolation quantity for the floating image according to the comparison result.

2. The high-definition rapid registration method for ophthalmic OCT images according to claim 1, characterized in that: In step S1, the data acquisition module acquires the signal-to-noise ratio of the OCT image, compares the signal-to-noise ratio with a signal-to-noise ratio standard, and the data analysis module determines whether the OCT image is used as a reference image according to the comparison result, wherein: If the signal-to-noise ratio is at a first signal-to-noise ratio intensity, the data analysis module determines that the OCT image is not used as a reference image; If the signal-to-noise ratio is at a second signal-to-noise ratio intensity, the data analysis module determines that the OCT image is used as a reference image; The first signal-to-noise ratio strength needs to satisfy a signal-to-noise ratio standard that the signal-to-noise ratio of the OCT image is less than or equal to the signal-to-noise ratio standard, and the second signal-to-noise ratio strength needs to satisfy a signal-to-noise ratio of the OCT image that is greater than the signal-to-noise ratio standard.

3. The high-definition rapid registration method for ophthalmic OCT images according to claim 2, characterized in that: In the step S1, the data analysis module determines an image in the OCT image that meets the second signal-to-noise ratio intensity as a reference image, and determines another image as a floating image, wherein the floating image needs to be continuously spatially transformed to determine the optimal output result.

4. The high-definition rapid registration method of ophthalmic OCT images according to claim 3, characterized in that: In step S2, the data acquisition module acquires a first pixel coordinate value after the floating image is spatially transformed, the first pixel coordinate value corresponding to a minimum pixel coordinate value and a maximum pixel coordinate value that conform to the optimal floating image. If the first pixel coordinate value is at a first coordinate level, the data analysis module determines that the first pixel coordinate value is not an optimal pixel coordinate value; If the first pixel coordinate value is at a second coordinate level, the data analysis module determines that the first pixel coordinate value is an optimal pixel coordinate value; If the first pixel coordinate value is at a third coordinate level, the data analysis module determines that the first pixel coordinate value is not an optimal pixel coordinate value; Among them, the first coordinate level satisfies that the first pixel coordinate value is less than the minimum pixel coordinate value, the second coordinate level satisfies that the first pixel coordinate value is greater than or equal to the minimum pixel coordinate value and less than or equal to the maximum pixel coordinate value, and the third coordinate level satisfies that the first pixel coordinate value is greater than the maximum pixel coordinate value.

5. The high-definition rapid registration method for ophthalmic OCT images according to claim 1, characterized in that: In step S3, the data analysis module determines the adjustment method for the transformation parameter according to the first pixel coordinate value after the spatial transformation of the floating image and the first coordinate difference between the minimum pixel coordinate value at the first coordinate level, wherein: If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is less than or equal to the first preset coordinate increase difference, the data analysis module selects the first adjustment method; If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is greater than the first preset coordinate increase difference and less than or equal to the second preset coordinate increase difference, the data analysis module selects the second adjustment method; If the first coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the minimum pixel coordinate value is greater than the second preset coordinate increase difference, the data analysis module selects the third adjustment method.

6. The high-definition rapid registration method of ophthalmic OCT images according to claim 1, characterized in that: In step S3, the data analysis module determines the correction method for the transformation parameter according to the second coordinate difference between the first pixel coordinate value and the maximum pixel coordinate value after the spatial transformation of the floating image at the third coordinate level, wherein: If the second coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the maximum pixel coordinate value is less than or equal to the first preset coordinate reduction difference, the data analysis module selects the first correction method; If the second coordinate difference between the first pixel coordinate value and the maximum pixel coordinate value after the spatial transformation of the floating image is greater than the first preset coordinate reduction difference and less than or equal to the second preset coordinate reduction difference, the data analysis module selects the second correction method; If the second coordinate difference between the first pixel coordinate value after the spatial transformation of the floating image and the maximum pixel coordinate value is greater than the second preset coordinate reduction difference, the data analysis module selects the third correction method.

7. The high-definition rapid registration method of ophthalmic OCT images according to claim 6, characterized in that: In step S4, the data acquisition module acquires the second pixel coordinate value of the optimized floating image, and the analysis module determines whether the second pixel coordinate value is an integer. If the second pixel coordinate value is not an integer, the data analysis module interpolates the floating image to make the second pixel coordinate value meet the standard.

8. The high-definition rapid registration method of ophthalmic OCT images according to claim 7, characterized in that: In the step S4, the data analysis module determines the numerical difference between the second pixel coordinate value and the numerical value of the nearest integer to the second pixel coordinate value to determine the number of interpolations for the floating image, wherein: If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a first value level, the data analysis module determines the interpolation quantity for the floating image to be a first quantity; If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a second value level, the data analysis module determines the interpolation quantity for the floating image to be a second quantity; If the difference between the second pixel coordinate value and the value of the integer closest to the second pixel coordinate value is at a third value level, the data analysis module determines the interpolation quantity for the floating image to be a third quantity; The first numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is less than or equal to a first numerical difference threshold, the second numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is greater than a first numerical difference threshold and less than or equal to a second numerical difference threshold, and the third numerical level satisfies that a numerical difference between the second pixel coordinate value and a numerical value of an integer closest to the second pixel coordinate value is greater than a second numerical difference threshold; Among them, the first number is less than the second number and less than the third number, and the first numerical difference threshold is less than the second numerical difference threshold.