Scanning speed adaptive control method, blood flow velocity measurement method and test device

Through the scanning speed adaptive control method, the scanning speed in capillary blood flow velocity measurement is dynamically optimized, which solves the problem of poor signal-to-noise ratio in the existing technology, improves the measurement accuracy and efficiency, and obtains high-quality light and dark coded images. .

CN118236037BActive Publication Date: 2024-09-27SHANDONG TANWEI MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410470748.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-09-27
Estimated Expiration
2044-04-18

AI Technical Summary

Technical Problem

In the current measurement of capillary blood flow velocity, the fixed scanning speed results in poor image signal-to-noise ratio, which makes it impossible to obtain optimal light and dark coded images, affecting measurement accuracy and accuracy.

Method used

The scanning speed adaptive control method is adopted to adjust the scanning speed to ensure that the clarity and signal-to-noise ratio of the light and dark encoded images reach the threshold, and the scanning speed is dynamically optimized to obtain the image with the highest signal-to-noise ratio, thereby improving the measurement accuracy of capillary blood flow velocity. .

Benefits of technology

It is possible to improve the image quality and the accuracy and efficiency of capillary blood flow velocity measurement on the premise of satisfying the clarity of light and dark coding, obtain the optimal scanning speed and image, and enhance the accuracy of measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118236037B
    Figure CN118236037B
Patent Text Reader

Abstract

The present invention provides a scanning speed adaptive control method, a blood flow velocity measurement method and a testing device, which obtain the clarity and signal-to-noise ratio of a capillary light and dark coding image at a current scanning speed; increase the scanning speed on the basis of the current scanning speed until the clarity is greater than or equal to a clarity threshold and the signal-to-noise ratio no longer increases with the increase in the scanning speed, and obtain the corresponding maximum scanning speed at this time; reduce the scanning speed on the basis of the maximum scanning speed, and if the clarity is less than the clarity threshold after the scanning speed is reduced, directly use the maximum scanning speed as the optimal scanning speed; if the clarity is greater than or equal to the clarity threshold and the signal-to-noise ratio no longer increases with the reduction in the scanning speed, use the corresponding reduced scanning speed at this time as the optimal scanning speed; the present invention can adaptively obtain the optimal scanning speed, and improves the measurement accuracy of the capillary blood flow velocity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of optical coherence tomography, in particular to the technical field of capillary blood flow velocity measurement, and more particularly to a scanning speed adaptive control method, a scanning speed adaptive control device, a capillary blood flow velocity measurement method, a capillary blood flow velocity measurement device, a computer device, a computer-readable storage medium and a computer program product. Background Art

[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.

[0003] The detection of capillary blood flow velocity is of great significance for the early diagnosis of vascular diseases, determination of treatment plans, evaluation of therapeutic effects, and physiological and pathological research of human organs. For example, neovascular glaucoma (NVG) generally refers to the presence of new blood vessels on the iris of the patient's eyes. Retinal hypoxia and capillary non-perfusion are the root causes of iris neovascularization. Therefore, the measurement of capillary blood flow velocity is of great significance.

[0004] The inventors found in the study that red blood cells in capillaries have the characteristic of circulating in a single queue. When plasma and red blood cells are scanned by an OCTA device, they will appear bright or dark respectively. The light and dark changes of the single flow of red blood cells in capillaries are arranged according to time to form a light and dark coded image. On the same unbranched blood vessel, two sampling points are taken at a certain distance for scanning, and a coded image with high correlation but time delay can be obtained. According to the coded image of light and dark changes, the measurement of capillary blood flow velocity can be achieved; the clarity and signal-to-noise ratio of the light and dark coded image are affected by the scanning speed, among which the signal-to-noise ratio is a standard for measuring image quality. The higher the signal-to-noise ratio, the clearer the image. Only when the clarity of the image is greater than a certain threshold can correlation analysis be performed to obtain the required mutual correlation coefficient, and then determine whether it is the same unbranched capillary and calculate its flow velocity; when the scanning speed is too low, the light and dark coding phenomenon will not be clearly observed in the image, and the signal-to-noise ratio of the image will be reduced; and when the scanning speed is too high, the signal-to-noise ratio of the image will also decrease.

[0005] In the scheme of acquiring OCTA images, the current practice is to manually select a fixed OCT scanning speed for image comparison, and then determine whether the scanning speed needs to be increased based on the image quality. However, this method significantly increases the test time, requires repeated tests to find the optimized parameters, and has certain errors. It is impossible to obtain the optimal capillary light and dark coding image, which increases the difficulty of accurately calculating the mutual correlation coefficient, resulting in a decrease in the accuracy of judging non-bifurcation capillaries, and ultimately leads to poor measurement accuracy of blood flow velocity. Summary of the invention

[0006] In order to address the deficiencies of the prior art, the present invention provides a scanning speed adaptive control method, a blood flow velocity measurement method and a testing device, which adaptively obtain the optimal scanning speed, and then obtain the optimal light and dark coding image used to calculate the cross-correlation coefficient, thereby improving the measurement accuracy of capillary blood flow velocity.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] In a first aspect, the present invention provides a scanning speed adaptive control method.

[0009] A scanning speed adaptive control method includes the following steps:

[0010] Obtain the clarity and signal-to-noise ratio of the capillary light-dark coding image at the current scanning speed;

[0011] The scanning speed is increased on the basis of the current scanning speed. When the definition after the increased scanning speed is less than the definition threshold, the control of reducing the scanning speed is entered; otherwise, the scanning speed is continuously increased until the definition is greater than or equal to the definition threshold and the signal-to-noise ratio no longer increases with the increase of the scanning speed, the corresponding scanning speed is obtained, and the control of reducing the scanning speed is entered;

[0012] In the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed.

[0013] As a further limitation of the first aspect of the present invention, continuously increasing the scanning speed until the clarity is greater than or equal to the clarity threshold comprises:

[0014] Scanning is performed at the current scanning speed V1, and the signal-to-noise ratio of the capillary light-and-dark coding image at the speed V1 is obtained as the first signal-to-noise ratio L1 and the clarity Q1. The scanning speed is increased to V2, and the second signal-to-noise ratio L2 and the second clarity Q2 of the capillary light-and-dark coding image at the speed V2 are obtained. When the second clarity Q2 is less than the clarity threshold, the value of the increased second scanning speed V2 is assigned to the first scanning speed V1, the value of the second clarity Q2 is assigned to the first clarity Q1, and the value of the second signal-to-noise ratio L2 is assigned to the first signal-to-noise ratio L1;

[0015] The scanning speed is increased again on the basis of the updated first scanning speed V1 to obtain a new second clarity Q2 and a second signal-to-noise ratio L2 after the increased scanning speed, and the above process is repeated until the latest second clarity Q2 value is greater than or equal to the clarity threshold.

[0016] As a further limitation of the first aspect of the present invention, the signal-to-noise ratio no longer increases with an increase in the scanning speed, including:

[0017] When the second definition Q2 is greater than or equal to the definition threshold, but the second signal-to-noise ratio L2 is greater than the first signal-to-noise ratio L1, the value of the second scanning speed V2 is assigned to the first scanning speed V1, the value of the second definition Q2 is assigned to the first definition Q1, and the value of the second signal-to-noise ratio L2 is assigned to the first signal-to-noise ratio L1;

[0018] On the basis of the latest first scanning speed V1, the scanning speed is increased again to obtain the second clarity Q2 and the second signal-to-noise ratio L2 after the increased scanning speed. The above process is repeated until the value of the latest second signal-to-noise ratio L2 is less than the value of the latest first signal-to-noise ratio L1, and the corresponding scanning speed is obtained at this time, and the control of reducing the scanning speed is entered.

[0019] As a further limitation of the first aspect of the present invention, if the definition after reducing the scanning speed is less than the definition threshold, directly taking the scanning speed before reducing as the optimal scanning speed, including:

[0020] The scanning speed is reduced to a third scanning speed V3 based on the latest first scanning speed V1 to obtain a third clarity Q3 at the third scanning speed. When the third clarity Q3 is less than the clarity threshold, the value of the latest first scanning speed V1 is used as the optimal OCT scanning speed.

[0021] As a further limitation of the first aspect of the present invention, continuously reducing the scanning speed until the clarity is greater than or equal to the clarity threshold and the signal-to-noise ratio no longer increases with the decrease in the scanning speed includes:

[0022] When the third definition Q3 is greater than or equal to the definition threshold, but the value of the third signal-to-noise ratio L3 at the third scanning speed V3 is greater than the current value of the first signal-to-noise ratio L1, the value of the third scanning speed V3 is assigned to the first scanning speed V1, the value of the third definition is assigned to the first definition Q1, and the value of the third signal-to-noise ratio is assigned to the first signal-to-noise ratio L1;

[0023] On the basis of the new first scanning speed V1, the scanning speed is reduced again to obtain the values ​​of the third clarity Q3 and the third signal-to-noise ratio L3 at the new scanning speed, and the above process is repeated until the value of the latest third signal-to-noise ratio L3 is less than or equal to the value of the latest first signal-to-noise ratio L1. At this time, the value of the latest first scanning speed V1 is the optimal scanning speed.

[0024] In a second aspect, the present invention provides a scanning speed adaptive control device.

[0025] A scanning speed adaptive control device, comprising:

[0026] The data acquisition unit is configured to: acquire the clarity and signal-to-noise ratio of the capillary light-dark coding image at the current scanning speed;

[0027] The speed increase control unit is configured to: increase the scanning speed based on the current scanning speed, and when the definition after the increased scanning speed is less than the definition threshold, enter the control of reducing the scanning speed; otherwise, continuously increase the scanning speed until the definition is greater than or equal to the definition threshold, and the signal-to-noise ratio no longer increases with the increase of the scanning speed, obtain the corresponding scanning speed at this time, and enter the control of reducing the scanning speed;

[0028] The speed reduction control unit is configured as follows: in the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed.

[0029] As a further limitation of the second aspect of the present invention, in the speed increase control unit, continuously increasing the scanning speed until the clarity is greater than or equal to the clarity threshold, includes:

[0030] Scanning is performed at the current scanning speed V1, and the signal-to-noise ratio of the capillary light-and-dark coding image at the speed V1 is obtained as the first signal-to-noise ratio L1 and the clarity Q1. The scanning speed is increased to V2, and the second signal-to-noise ratio L2 and the second clarity Q2 of the capillary light-and-dark coding image at the speed V2 are obtained. When the second clarity Q2 is less than the clarity threshold, the value of the increased second scanning speed V2 is assigned to the first scanning speed V1, the value of the second clarity Q2 is assigned to the first clarity Q1, and the value of the second signal-to-noise ratio L2 is assigned to the first signal-to-noise ratio L1;

[0031] The scanning speed is increased again on the basis of the updated first scanning speed V1 to obtain a new second clarity Q2 and a second signal-to-noise ratio L2 after the increased scanning speed, and the above process is repeated until the latest second clarity Q2 is greater than or equal to the clarity threshold.

[0032] As a further limitation of the second aspect of the present invention, in the speed increase control unit, the signal-to-noise ratio no longer increases with the increase of the scanning speed, comprising:

[0033] When the second definition Q2 is greater than or equal to the definition threshold, but the second signal-to-noise ratio L2 is greater than the first signal-to-noise ratio L1, the value of the second scanning speed V2 is assigned to the first scanning speed V1, the value of the second definition Q2 is assigned to the first definition Q1, and the value of the second signal-to-noise ratio L2 is assigned to the first signal-to-noise ratio L1;

[0034] On the basis of the latest first scanning speed V1, the scanning speed is increased again to obtain the second clarity Q2 and the second signal-to-noise ratio L2 after the increased scanning speed. The above process is repeated until the value of the latest second signal-to-noise ratio L2 is less than the value of the latest first signal-to-noise ratio L1, and the corresponding scanning speed is obtained at this time, and the control of reducing the scanning speed is entered.

[0035] As a further limitation of the second aspect of the present invention, in the speed reduction control unit, if the definition after reducing the scanning speed is less than the definition threshold, directly taking the scanning speed before reducing as the optimal scanning speed, comprises:

[0036] The scanning speed is reduced to a third scanning speed V3 based on the latest first scanning speed V1 to obtain a third clarity Q3 at the third scanning speed. When the third clarity Q3 is less than the clarity threshold, the value of the latest first scanning speed V1 is used as the optimal OCT scanning speed.

[0037] As a further limitation of the second aspect of the present invention, in the speed reduction control unit, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, including:

[0038] When the third definition Q3 is greater than or equal to the definition threshold, but the value of the third signal-to-noise ratio L3 at the third scanning speed V3 is greater than the current value of the first signal-to-noise ratio L1, the value of the third scanning speed V3 is assigned to the first scanning speed V1, the value of the third definition is assigned to the first definition Q1, and the value of the third signal-to-noise ratio is assigned to the first signal-to-noise ratio L1;

[0039] On the basis of the new first scanning speed V1, the scanning speed is reduced again to obtain the values ​​of the third clarity Q3 and the third signal-to-noise ratio L3 at the new scanning speed, and the above process is repeated until the value of the latest third signal-to-noise ratio L3 is less than or equal to the value of the latest first signal-to-noise ratio L1. At this time, the value of the latest first scanning speed V1 is the optimal scanning speed.

[0040] In a third aspect, the present invention provides a method for measuring capillary blood flow velocity.

[0041] A method for measuring capillary blood flow velocity, comprising the following steps:

[0042] Acquire an OCTA image at an optimal scanning speed, scan multiple positions of the capillaries on the OCTA image, each position corresponding to multiple scanned images at different times, wherein the optimal OCT scanning speed is generated using the method described in the first aspect of the present invention;

[0043] Extract the images of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain coded images of the light and dark changes of capillary blood flow at each position;

[0044] The length of the capillaries between any two positions is obtained, and the cross-correlation analysis of the coded images of the two positions is performed to obtain the offset position that meets the set similarity. The lag time is calculated according to the offset position, and the blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between any two positions and the lag time.

[0045] In a fourth aspect, the present invention provides a capillary blood flow velocity measuring device.

[0046] A capillary blood flow velocity measuring device, comprising:

[0047] A scanning image acquisition unit is configured to: acquire an OCTA image at an optimal scanning speed, scan multiple positions of capillaries on the OCTA image, each position corresponding to multiple scanning images at different times, wherein the optimal OCT scanning speed is generated by the method described in the first aspect of the present invention;

[0048] The coded image generation unit is configured to: extract the image of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain coded images of the light and dark changes of capillary blood flow at each position respectively;

[0049] The blood flow velocity measurement unit is configured to: obtain the length of the capillaries between any two positions, perform cross-correlation analysis on the coded images of the two positions to obtain an offset position that meets a set similarity, calculate a lag time based on the offset position, and obtain the blood flow velocity of this section of capillaries based on the length of the capillaries between any two positions and the lag time.

[0050] In a fifth aspect, the present invention provides a computer device, comprising: a processor and a computer readable storage medium;

[0051] a processor adapted to execute a computer program;

[0052] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the scanning speed adaptive control method as described in the first aspect of the present invention is implemented; or the capillary blood flow velocity measurement method as described in the third aspect of the present invention is implemented.

[0053] In a sixth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is suitable for being loaded by a processor and executing the scanning speed adaptive control method as described in the first aspect of the present invention; or implementing the capillary blood flow velocity measurement method as described in the third aspect of the present invention.

[0054] In the seventh aspect, the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the scanning speed adaptive control method as described in the first aspect of the present invention; or the capillary blood flow velocity measurement method as described in the third aspect of the present invention.

[0055] Compared with the prior art, the present invention has the following beneficial effects:

[0056] 1. The present invention innovatively proposes a scanning speed adaptive control method. By adaptively obtaining the optimal scanning speed, the scanning speed corresponding to the image with the highest signal-to-noise ratio under clear light and dark coding conditions can be obtained, and then the optimal light and dark coding image used to calculate the cross-correlation coefficient is obtained, thereby improving the measurement accuracy of capillary blood flow velocity and improving the image quality as much as possible while meeting the light and dark coding clarity required by the experiment.

[0057] 2. The present invention adopts the optimal scanning speed to form the best coded image of the light and dark changes of the single flow of red blood cells in the capillaries, obtains the lag time based on correlation analysis and light and dark changes, and calculates the blood flow velocity in combination with the distance between the scanning positions, thereby realizing non-invasive capillary blood flow velocity measurement and improving the accuracy and efficiency of capillary blood flow velocity measurement.

[0058] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0060] Figure 1 A schematic flow chart of a scanning speed adaptive control method provided in Embodiment 1 of the present invention;

[0061] Figure 2 A specific schematic diagram of the scanning speed adaptive control method provided in Example 1 of the present invention;

[0062] Figure 3 A schematic diagram of the principle of a scanning speed adaptive control device provided in Example 2 of the present invention;

[0063] Figure 4 A schematic diagram of a flow chart of a method for measuring capillary blood flow velocity provided in Example 3 of the present invention;

[0064] Figure 5 A schematic diagram of coded images at two scanning positions provided in Example 3 of the present invention;

[0065] Figure 6 A schematic diagram of the corresponding relationship between the lag time and the mutual correlation coefficient provided in Example 3 of the present invention;

[0066] Figure 7 A schematic diagram of the principle of a capillary blood flow velocity measurement device provided in Example 4 of the present invention;

[0067] Figure 8 This is a schematic diagram of an electronic device provided in Example 5 of the present invention. DETAILED DESCRIPTION

[0068] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0069] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0070] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0071] Embodiment 1:

[0072] In this implementation, a scanning speed adaptive control method is provided, such as Figure 1 and Figure 2 As shown, the following process is included:

[0073] S1.1: Perform a preliminary scan at an average scanning speed under normal conditions.

[0074] The first scan is performed at V1 (ie, the first speed), and the clarity Q1 (ie, the first clarity) and the image signal-to-noise ratio L1 (ie, the first signal-to-noise ratio) of the light and dark coded image at the current scanning speed V1 are calculated and obtained.

[0075] In this implementation, the red blood cells in the capillaries have the characteristic of flowing in a single queue. When the plasma and red blood cells are scanned, they will appear bright or dark respectively. The light and dark changes of the single flow of red blood cells in the capillaries are extracted to form a coded image. The specific coded image acquisition method includes:

[0076] Acquire an OCTA image, select a capillary at any position in the OCTA image, designate a first position A1 and a second position A2 for the selected capillary, and perform alternating scanning;

[0077] It can be understood that the scanning of the first position A1 and the second position A2 does not necessarily have to be alternating scanning, but can also be intermittent scanning. When performing scanning work at multiple positions, the scanning process can be configured according to needs. By using alternating scanning, intermittent scanning or other scanning methods, the corresponding encoded image can be obtained for subsequent analysis.

[0078] Extract multiple scan images at different times of the first position A1, arrange the multiple scan images according to time, and mark the capillary positions; extract multiple scan images at different times of the second position A2, arrange the multiple scan images according to time, and mark the capillary positions;

[0079] The same capillary region marked at the first position A1 is extracted and arranged according to time to obtain a coded image of the light and dark changes of the capillary blood flow at the first position A1, i.e., a first coded image; the same capillary region marked at the second position A2 is extracted and arranged according to time to obtain a coded image of the light and dark changes of the capillary blood flow at the second position A2, i.e., a second coded image.

[0080] It can be understood that in the present implementation, after obtaining multiple scanned images of each position, they are arranged according to time, the capillary position on each scanned image is marked, and then the capillary area image at the same position is extracted; and the images of the same capillary area on the multiple scanned images are extracted separately and arranged according to time, and coded images of the light and dark changes of capillary blood flow at multiple positions can be obtained respectively, for example, the third coded image and the fourth coded image can also be obtained at more positions.

[0081] S1.2: Determine the effect of increasing the scanning speed on the correlation.

[0082] Increase the scanning speed to V2 (i.e., the second scanning speed), obtain the light and dark coding clarity Q2 (i.e., the second clarity) and the signal-to-noise ratio value L2 (i.e., the second signal-to-noise ratio) under V2 (i.e., the second scanning speed), and determine whether the light and dark coding clarity of the image after the speed is increased is greater than or equal to the threshold a.

[0083] S1.3: Increase the scanning speed until the light and dark coding clarity Q is met i ≥a (where a is the clarity threshold and i is 1, 2, 3…n), and the signal-to-noise ratio value does not increase any more, specifically, including:

[0084] S1.3.1: When the clarity of the light and dark codes is still less than a after increasing the scanning speed, including:

[0085] At this time, the clarity of light and dark coding is too low to identify the correlation coefficient required for the experiment, let alone calculate the blood flow velocity. At this time, assign V2 to V1 (i.e. V1=V2), Q2 to Q1, and L2 to L1. Continue to increase the scanning speed to obtain the Q2 and L2 values ​​at the new scanning speed. Execute the above commands repeatedly until the light and dark coding clarity Q2 is greater than or equal to a.

[0086] S1.3.2: When the scanning speed is increased and the clarity of the light and dark code is greater than or equal to a, it includes:

[0087] Determine whether the signal-to-noise ratio of the image increases after the speed is increased, that is, whether L2 is greater than L1. If the signal-to-noise ratio increases, assign V2 to V1 (V1=V2), Q2 to Q1, and L2 to L1. Continue to increase the scanning speed to obtain the Q2 and L2 values ​​at the new scanning speed. Execute the above commands in a loop until the signal-to-noise ratio value L2 is less than L1.

[0088] S1.4: Reduce the scanning speed and determine whether the signal-to-noise ratio value increases when the scanning speed is reduced, including:

[0089] When the scanning speed is increased by V1, the above steps will also appear, i.e., Q2>a but L2 is less than L1. On this basis, the scanning speed is reduced to V3 (i.e., the third scanning speed), and the light and dark coding clarity Q3 (i.e., the third clarity) and the signal-to-noise ratio value L3 (i.e., the third signal-to-noise ratio) under V3 are obtained. It is judged whether the light and dark coding clarity of the image after the speed is reduced is greater than the threshold a. If the light and dark coding clarity after the speed is reduced is less than the threshold a, the scanning speed V1 at this time is output;

[0090] If the signal-to-noise ratio increases, assign V3 to V1 (V1=V3), Q3 to Q1 (Q1=Q3), and L3 to L1 (L1=L3). Continue to reduce the scanning speed, obtain the Q3 and L3 values ​​under the new scanning speed, and execute the above commands repeatedly until the signal-to-noise ratio value L3 is less than L1, and output the scanning speed V1 at this time.

[0091] The V1 scanning speed obtained in step S1.4 is the optimal scanning speed that satisfies the clarity greater than the threshold a and the maximum signal-to-noise ratio. At this speed, the most accurate scanning image can be obtained, and then the most accurate correlation coefficient can be calculated to obtain the blood flow velocity of the capillaries.

[0092] Embodiment 2:

[0093] like Figure 3 As shown, this implementation provides a scanning speed adaptive control device, including:

[0094] The data acquisition unit is configured to: acquire the clarity and signal-to-noise ratio of the capillary light-dark coded image at the current scanning speed; the specific implementation method is the same as step S1.1 in embodiment 1, which will not be repeated here;

[0095] The speed increase control unit is configured to: increase the scanning speed based on the current scanning speed, and when the definition after the increased scanning speed is less than the definition threshold, enter the control of reducing the scanning speed; otherwise, continuously increase the scanning speed until the definition is greater than or equal to the definition threshold, and the signal-to-noise ratio no longer increases with the increase of the scanning speed, obtain the corresponding scanning speed at this time, and enter the control of reducing the scanning speed; the specific implementation method is the same as steps S1.2-S1.3 in Example 1, and will not be repeated here;

[0096] The speed reduction control unit is configured as follows: in the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed; the specific implementation method is the same as step S1.4 in Example 1, and will not be repeated here.

[0097] It is understandable that the above-mentioned units can be separately or all combined into one or several other units to constitute, or some of the units can be further divided into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the image processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0098] According to another embodiment of the present application, the system described in this embodiment can be constructed, and the control processing method of the embodiment of the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the corresponding method described in Example 1 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.

[0099] Embodiment 3:

[0100] In this implementation, a method for measuring capillary blood flow velocity is also provided. Figure 4 As shown, the following process is included:

[0101] S3.1: acquiring an OCTA image at an optimal scanning speed (the optimal OCT scanning speed is generated by the method described in Example 1), scanning multiple positions of the capillaries on the OCTA image, each position corresponding to multiple scanning images at different times;

[0102] S3.2: extracting images of the same non-bifurcation capillary on multiple scanned images at each position and arranging them according to time, and obtaining coded images of light and dark changes of capillary blood flow at each position;

[0103] S3.3: Obtain the length of the capillaries between any two positions, perform cross-correlation analysis on the coded images of the two positions, obtain an offset position that satisfies a set similarity, calculate the lag time based on the offset position, and obtain the blood flow velocity of this section of capillaries based on the length of the capillaries between any two positions and the lag time.

[0104] In this implementation, in step S3.1, the specific acquisition of the scanned image includes:

[0105] Acquire an OCTA image, select a capillary at any position in the OCTA image, and alternately scan a first position A1 and a second position A2 of the selected capillary;

[0106] It can be understood that the scanning of the first position A1 and the second position A2 does not necessarily have to be alternating scanning, but can also be intermittent scanning. When performing scanning work at multiple positions, the scanning process can be configured according to needs. By using alternating scanning, intermittent scanning or other scanning methods, corresponding multiple scanning images can be obtained for subsequent analysis.

[0107] In this implementation, in step S3.2, the specific generation of the coded image includes:

[0108] Extract multiple scan images (i.e., first scan images) at different times of the first position A1, arrange the multiple first scan images according to time, and mark the capillary positions; extract multiple scan images (i.e., second scan images) at different times of the second position A2, arrange the multiple second scan images according to time, and mark the capillary positions;

[0109] The capillary region at the same position marked by the first position A1 is extracted and arranged according to time to obtain a coded image of the light and dark changes of the capillary blood flow at the first position A1, that is, a first coded image; the capillary region at the same position marked by the second position A2 is extracted and arranged according to time to obtain a coded image of the light and dark changes of the capillary blood flow at the second position A2, that is, a second coded image, as shown in FIG. Figure 5 shown.

[0110] In this implementation, in step S3.3, the calculation of blood flow velocity includes:

[0111] Extract the first scan image corresponding to the first position A1 and the second scan image corresponding to the second position A2 respectively, and mark the capillary region; place the first scan image corresponding to the first position A1 and the second scan image corresponding to the second position A2 up and down, overlap and display the relative positions of the corresponding capillaries, record the pixel coordinates of the position of the capillary region at the first position A1, and record the pixel coordinates of the position of the capillary region at the second position A2; use the difference of the pixel coordinates to obtain the depth distance L2 between the position of the capillary region corresponding to the first position A1 and the position of the capillary region corresponding to the second position A2, that is, the distance L2 in the depth direction;

[0112] The difference between the intersection of the front scanning position and the capillary and the intersection of the rear scanning position and the capillary is selected as L3. According to the horizontal distance L1 and the depth distance L2 between the first position A1 and the second position A2, the approximate length S of the capillary is calculated. The calculation formula is: The first position A1 and the second position A2 are initially set, so their horizontal distance L1 is known data.

[0113] In this implementation, the distribution of the capillary segment between the first position A1 and the second position A2 is close to an inclined straight line, which can be calculated using the Pythagorean theorem. In other implementations, the capillary segment between the first position A1 and the second position A2 is in the form of a curve, etc. In this case, it is necessary to combine the OCTA image for calculation, for example, according to the distance S represented by each pixel in the OCTA image octa and the number of pixels N occupied by the length of the curved capillaries, using the formula S = S octa *N to perform calculations.

[0114] Take the coded image of the capillary light and dark changes at the first position A1, take the coded image of the capillary light and dark changes at the second position A2, and align the coded image of the capillary light and dark changes corresponding to the first position A1 with the coded image of the light and dark changes corresponding to the second position A2; because the capillary flow rate is within a certain range, a fast scanning frequency is used to perform a long-term scan to obtain a plurality of coded images of light and dark changes of red blood cells and plasma flowing through, perform a correlation analysis on the coded images of the capillary light and dark changes, and obtain the offset position with the highest correlation of light and dark changes, which is recorded as the lag time T, such as Figure 6As shown; in other optional embodiments, the first coded image and the second coded image can also be shifted in image stacking, and their light and dark changes can be used for analysis. The capillary blood flow velocity codes at different positions are stacked and aligned according to the scanning time, and the post-scanning position is translated left and right. After each translation, the images at different positions are subtracted once, and the positions that are all bright or all dark are offset to obtain the number of remaining light and dark codes. The translation position with the least number of remaining light and dark codes is found, and the lag time is calculated according to the number of translations and the speed of each scan. The capillary flow velocity is calculated according to the capillary length S and the lag time T. The calculation formula is: V=S / T.

[0115] The direction of capillary blood flow velocity is determined based on the obtained correlation lag time. The specific determination conditions are as follows:

[0116] If the lag time T>0, the capillary blood flow direction is from the first position A1 to the second position A2; if the lag time T<0, the capillary blood flow direction is from the second position A2 to the first position A1; if the other two scanning positions are taken, when judging the blood flow direction, if the lag time is a positive value, the capillary blood flow direction is from the front scanning position to the rear scanning position; if the lag time is a negative value, the capillary blood flow direction is from the rear scanning position to the front scanning position.

[0117] Embodiment 4:

[0118] In this implementation, a capillary blood flow velocity measuring device is provided. Figure 7 As shown, including:

[0119] The scanning image acquisition unit is configured to: acquire an OCTA image at an optimal scanning speed (the optimal OCT scanning speed is generated by the method described in Example 1), scan multiple positions of the capillaries on the OCTA image, and each position corresponds to multiple scanning images at different times; the specific working method of this unit is the same as the process of step S3.1 provided in Example 3, and will not be repeated here;

[0120] The coded image generating unit is configured to: extract the image of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain coded images of the light and dark changes of capillary blood flow at each position; the specific working method of this unit is the same as the process of step S3.2 provided in Example 3, and will not be repeated here;

[0121] The blood flow velocity measurement unit is configured to: obtain the length of the capillaries between any two positions, perform cross-correlation analysis on the encoded images of the two positions to obtain an offset position that meets a set similarity, calculate the lag time according to the offset position, and obtain the blood flow velocity of this section of capillaries according to the length of the capillaries between any two positions and the lag time; the specific working method of this unit is the same as the process of step S3.3 provided in Example 3, and will not be repeated here.

[0122] Embodiment 5:

[0123] like Figure 8 As shown, Embodiment 5 of the present invention provides an electronic device, which includes a processor 1001, a communication interface 1002, and a computer-readable storage medium 1003. The processor 1001, the communication interface 1002, and the computer-readable storage medium 1003 may be connected via a bus or other means.

[0124] Among them, the communication interface 1002 is used to receive and send data, the computer-readable storage medium 1003 can be stored in the memory of the electronic device, the computer-readable storage medium 1003 is used to store a computer program, the computer program includes program instructions, and the processor 1001 is used to execute the program instructions stored in the computer-readable storage medium 1003.

[0125] The processor 1001 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the following process:

[0126] Obtaining the clarity and signal-to-noise ratio of the capillary light-dark coding image at the current scanning speed; the specific implementation method is the same as step S1.1 in Example 1, and will not be repeated here;

[0127] The scanning speed is increased on the basis of the current scanning speed. When the definition after the increased scanning speed is less than the definition threshold, the control of reducing the scanning speed is entered; otherwise, the scanning speed is continuously increased until the definition is greater than or equal to the definition threshold, and the signal-to-noise ratio no longer increases with the increase of the scanning speed, the corresponding scanning speed is obtained, and the control of reducing the scanning speed is entered; the specific implementation method is the same as steps S1.2-S1.3 in Example 1, and will not be repeated here;

[0128] In the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed; the specific implementation method is the same as step S1.4 in Example 1, and will not be repeated here.

[0129] Embodiment 6:

[0130] Embodiment 6 of the present invention provides an electronic device, which includes a processor 1001, a communication interface 1002, and a computer-readable storage medium 1003. The processor 1001, the communication interface 1002, and the computer-readable storage medium 1003 may be connected via a bus or other means.

[0131] Among them, the communication interface 1002 is used to receive and send data, the computer-readable storage medium 1003 can be stored in the memory of the electronic device, the computer-readable storage medium 1003 is used to store a computer program, the computer program includes program instructions, and the processor 1001 is used to execute the program instructions stored in the computer-readable storage medium 1003.

[0132] The processor 1001 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the following process:

[0133] Acquire an OCTA image at an optimal scanning speed (the optimal OCT scanning speed is generated by the method described in Example 1), scan multiple positions of the capillaries on the OCTA image, and each position corresponds to multiple scanned images at different times; the specific working method of this unit is the same as the process of step S3.1 provided in Example 3, and will not be repeated here;

[0134] Extract the image of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain the coded image of the light and dark change of the capillary blood flow at each position; the specific working method of this unit is the same as the process of step S3.2 provided in Example 3, and will not be repeated here;

[0135] The length of the capillaries between any two positions is obtained, cross-correlation analysis is performed on the coded images of the two positions to obtain an offset position that satisfies a set similarity, the lag time is calculated according to the offset position, and the blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between any two positions and the lag time; the specific working method of this unit is the same as the process of step S3.3 provided in Example 3, and will not be repeated here.

[0136] Embodiment 7:

[0137] This embodiment provides a computer-readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the electronic device and, of course, extended storage media supported by the electronic device. The computer-readable storage medium provides a storage space that stores the processing system of the electronic device.

[0138] In addition, the storage space also stores one or more instructions suitable for being loaded and executed by the processor, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor.

[0139] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor loads and executes the one or more instructions stored in the computer-readable storage medium to implement the following steps:

[0140] Obtaining the clarity and signal-to-noise ratio of the capillary light-dark coding image at the current scanning speed; the specific implementation method is the same as step S1.1 in Example 1, and will not be repeated here;

[0141] The scanning speed is increased on the basis of the current scanning speed. When the definition after the increased scanning speed is less than the definition threshold, the control of reducing the scanning speed is entered; otherwise, the scanning speed is continuously increased until the definition is greater than or equal to the definition threshold, and the signal-to-noise ratio no longer increases with the increase of the scanning speed, the corresponding scanning speed is obtained, and the control of reducing the scanning speed is entered; the specific implementation method is the same as steps S1.2-S1.3 in Example 1, and will not be repeated here;

[0142] In the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed; the specific implementation method is the same as step S1.4 in Example 1, and will not be repeated here.

[0143] Embodiment 8:

[0144] This embodiment provides a computer-readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the electronic device and, of course, extended storage media supported by the electronic device. The computer-readable storage medium provides a storage space that stores the processing system of the electronic device.

[0145] In addition, the storage space also stores one or more instructions suitable for being loaded and executed by the processor, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor.

[0146] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor loads and executes the one or more instructions stored in the computer-readable storage medium to implement the following steps:

[0147] Acquire an OCTA image at an optimal scanning speed (the optimal OCT scanning speed is generated by the method described in Example 1), scan multiple positions of the capillaries on the OCTA image, and each position corresponds to multiple scanned images at different times; the specific working method of this unit is the same as the process of step S3.1 provided in Example 3, and will not be repeated here;

[0148] Extract the image of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain the coded image of the light and dark change of the capillary blood flow at each position; the specific working method of this unit is the same as the process of step S3.2 provided in Example 3, and will not be repeated here;

[0149] The length of the capillaries between any two positions is obtained, cross-correlation analysis is performed on the coded images of the two positions to obtain an offset position that satisfies a set similarity, the lag time is calculated according to the offset position, and the blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between any two positions and the lag time; the specific working method of this unit is the same as the process of step S3.3 provided in Example 3, and will not be repeated here.

[0150] Embodiment 9:

[0151] This embodiment provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the following steps:

[0152] Obtaining the clarity and signal-to-noise ratio of the capillary light-dark coding image at the current scanning speed; the specific implementation method is the same as step S1.1 in Example 1, and will not be repeated here;

[0153] The scanning speed is increased on the basis of the current scanning speed. When the definition after the increased scanning speed is less than the definition threshold, the control of reducing the scanning speed is entered; otherwise, the scanning speed is continuously increased until the definition is greater than or equal to the definition threshold, and the signal-to-noise ratio no longer increases with the increase of the scanning speed, the corresponding scanning speed is obtained, and the control of reducing the scanning speed is entered; the specific implementation method is the same as steps S1.2-S1.3 in Example 1, and will not be repeated here;

[0154] In the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed; the specific implementation method is the same as step S1.4 in Example 1, and will not be repeated here.

[0155] Embodiment 10:

[0156] This embodiment provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the following steps:

[0157] Acquire an OCTA image at an optimal scanning speed (the optimal scanning speed is generated by the method described in Example 1), scan multiple positions of the capillaries on the OCTA image, and each position corresponds to multiple scanned images at different times; the specific working method of this unit is the same as the process of step S3.1 provided in Example 3, and will not be repeated here;

[0158] Extract the image of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain the coded image of the light and dark change of the capillary blood flow at each position; the specific working method of this unit is the same as the process of step S3.2 provided in Example 3, and will not be repeated here;

[0159] The length of the capillaries between any two positions is obtained, cross-correlation analysis is performed on the coded images of the two positions to obtain an offset position that satisfies a set similarity, the lag time is calculated according to the offset position, and the blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between any two positions and the lag time; the specific working method of this unit is the same as the process of step S3.3 provided in Example 3, and will not be repeated here.

[0160] A person skilled in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0161] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instruction can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (for example, coaxial cable, optical fiber, digital line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server, a data center, etc. that contains one or more available media integration. Available media can be magnetic media (for example, floppy disk, hard disk, tape), optical media (for example, DVD), or semiconductor media (for example, solid-state drive (Solid State Disk, SSD)) and the like.

[0162] 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.

[0163] 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. An OCTA scanning speed adaptive control method, characterized in that: The process includes: Obtain the clarity and signal-to-noise ratio of the capillary light-dark coding image at the current scanning speed; The scanning speed is increased on the basis of the current scanning speed. When the definition after the increased scanning speed is less than the definition threshold, the control of reducing the scanning speed is entered; otherwise, the scanning speed is continuously increased until the definition is greater than or equal to the definition threshold and the signal-to-noise ratio no longer increases with the increase of the scanning speed, the corresponding scanning speed is obtained, and the control of reducing the scanning speed is entered; In the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed.

2. The OCTA scanning speed adaptive control method according to claim 1, characterized in that: Continue to increase the scan speed until the clarity is greater than or equal to the clarity threshold, including: Scanning is performed at the current scanning speed V1, and the signal-to-noise ratio of the capillary light-and-dark coding image at the speed V1 is obtained as the first signal-to-noise ratio L1 and the clarity Q1. The scanning speed is increased to V2, and the second signal-to-noise ratio L2 and the second clarity Q2 of the capillary light-and-dark coding image at the speed V2 are obtained. When the second clarity Q2 is less than the clarity threshold, the value of the increased second scanning speed V2 is assigned to the first scanning speed V1, the value of the second clarity Q2 is assigned to the first clarity Q1, and the value of the second signal-to-noise ratio L2 is assigned to the first signal-to-noise ratio L1; The scanning speed is increased again on the basis of the updated first scanning speed V1 to obtain a new second clarity Q2 and a second signal-to-noise ratio L2 after the increased scanning speed, and the control is looped until the latest second clarity Q2 is greater than or equal to the clarity threshold.

3. The OCTA scanning speed adaptive control method according to claim 2, characterized in that: The signal-to-noise ratio no longer increases with the scanning speed, including: When the second definition Q2 is greater than or equal to the definition threshold, but the second signal-to-noise ratio L2 is greater than the first signal-to-noise ratio L1, the value of the second scanning speed V2 is assigned to the first scanning speed V1, the value of the second definition Q2 is assigned to the first definition Q1, and the value of the second signal-to-noise ratio L2 is assigned to the first signal-to-noise ratio L1; On the basis of the latest first scanning speed V1, the scanning speed is increased again to obtain the second clarity Q2 and the second signal-to-noise ratio L2 after the increased scanning speed. The control is looped until the value of the latest second signal-to-noise ratio L2 is less than the value of the latest first signal-to-noise ratio L1, and the corresponding scanning speed is obtained at this time, and the control of reducing the scanning speed is entered.

4. The OCTA scanning speed adaptive control method according to any one of claims 1 to 3, characterized in that: If the definition is less than the definition threshold after the scanning speed is reduced, the scanning speed before the reduction is directly used as the optimal scanning speed, including: The scanning speed is reduced to a third scanning speed V3 based on the latest first scanning speed V1 to obtain a third clarity Q3 at the third scanning speed. When the third clarity Q3 is less than the clarity threshold, the value of the latest first scanning speed V1 is used as the optimal OCT scanning speed.

5. The OCTA scanning speed adaptive control method according to claim 4, characterized in that: Continue to reduce the scanning speed until the clarity is greater than or equal to the clarity threshold and the signal-to-noise ratio no longer increases with the decrease in scanning speed, including: When the third definition Q3 is greater than or equal to the definition threshold, but the value of the third signal-to-noise ratio L3 at the third scanning speed V3 is greater than the current value of the first signal-to-noise ratio L1, the value of the third scanning speed V3 is assigned to the first scanning speed V1, the value of the third definition is assigned to the first definition Q1, and the value of the third signal-to-noise ratio is assigned to the first signal-to-noise ratio L1; On the basis of the new first scanning speed V1, the scanning speed is reduced again to obtain the third clarity Q3 and the third signal-to-noise ratio L3 values ​​at the new scanning speed, and the control is looped until the latest third signal-to-noise ratio L3 value is less than or equal to the latest first signal-to-noise ratio L1 value. At this time, the latest first scanning speed V1 value is the optimal scanning speed.

6. An OCTA scanning speed adaptive control device, characterized in that: include: The data acquisition unit is configured to: acquire the clarity and signal-to-noise ratio of the capillary light-dark coding image at the current scanning speed; The speed increase control unit is configured to: increase the scanning speed based on the current scanning speed, and when the definition after the increased scanning speed is less than the definition threshold, enter the control of reducing the scanning speed; otherwise, continuously increase the scanning speed until the definition is greater than or equal to the definition threshold, and the signal-to-noise ratio no longer increases with the increase of the scanning speed, obtain the corresponding scanning speed at this time, and enter the control of reducing the scanning speed; The speed reduction control unit is configured as follows: in the control of reducing the scanning speed, if the clarity is less than the clarity threshold after reducing the scanning speed, the scanning speed before the reduction is directly used as the optimal scanning speed; otherwise, the scanning speed is continuously reduced until the clarity is greater than or equal to the clarity threshold, and the signal-to-noise ratio no longer increases with the reduction of the scanning speed, and the scanning speed corresponding to this time is the optimal scanning speed.

7. The OCTA scanning speed adaptive control device according to claim 6, characterized in that: In the speed increase control unit, the scanning speed is continuously increased until the definition is greater than or equal to the definition threshold, including: Scanning is performed at the current scanning speed V1, and the signal-to-noise ratio of the capillary light-and-dark coding image at the speed V1 is obtained as the first signal-to-noise ratio L1 and the clarity Q1. The scanning speed is increased to V2, and the second signal-to-noise ratio L2 and the second clarity Q2 of the capillary light-and-dark coding image at the speed V2 are obtained. When the second clarity Q2 is less than the clarity threshold, the value of the increased second scanning speed V2 is assigned to the first scanning speed V1, the value of the second clarity Q2 is assigned to the first clarity Q1, and the value of the second signal-to-noise ratio L2 is assigned to the first signal-to-noise ratio L1; The scanning speed is increased again on the basis of the updated first scanning speed V1 to obtain a new second clarity Q2 and a second signal-to-noise ratio L2 after the increased scanning speed, and the control is looped until the latest second clarity Q2 is greater than or equal to the clarity threshold.

8. A method for measuring capillary blood flow velocity, characterized in that: The process includes: Acquire an OCTA image at an optimal scanning speed, scan multiple positions of the capillaries on the OCTA image, each position corresponding to multiple scanned images at different times, wherein the optimal OCT scanning speed is generated by the method described in any one of claims 1 to 5; Extract the images of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain coded images of the light and dark changes of capillary blood flow at each position; The length of the capillaries between any two positions is obtained, and the cross-correlation analysis of the coded images of the two positions is performed to obtain the offset position that meets the set similarity. The lag time is calculated according to the offset position, and the blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between any two positions and the lag time.

9. A capillary blood flow velocity measuring device, characterized in that: include: A scanning image acquisition unit, configured to: acquire an OCTA image at an optimal scanning speed, scan multiple positions of capillaries on the OCTA image, each position corresponding to multiple scanning images at different times, wherein the optimal OCT scanning speed is generated by the method described in any one of claims 1 to 5; The coded image generation unit is configured to: extract the image of the same non-bifurcation capillary on multiple scanned images at each position and arrange them according to time, and obtain coded images of the light and dark changes of capillary blood flow at each position respectively; The blood flow velocity measurement unit is configured to: obtain the length of the capillaries between any two positions, perform cross-correlation analysis on the coded images of the two positions to obtain an offset position that meets a set similarity, calculate a lag time based on the offset position, and obtain the blood flow velocity of this section of capillaries based on the length of the capillaries between any two positions and the lag time.

10. A computer device, characterized in that: include: a processor and a computer readable storage medium; a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the OCTA scanning speed adaptive control method according to any one of claims 1 to 5 is implemented; or the capillary blood flow velocity measurement method according to claim 8 is implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is suitable for being loaded by a processor and executing the OCTA scanning speed adaptive control method according to any one of claims 1 to 5; or implementing the capillary blood flow velocity measurement method according to claim 8.

12. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the OCTA scanning speed adaptive control method according to any one of claims 1 to 5; or implements the capillary blood flow velocity measurement method according to claim 8.