Multi-channel OCT system and method for measuring capillary blood flow velocity
Through voltage adjustment of the multi-channel OCT system and XY scanning galvanometer, coded images are generated and cross-correlation coefficient analysis is performed, which solves the problem of insufficient scanning speed in capillary blood flow velocity measurement and improves measurement accuracy and efficiency.
Patent Information
- Application Number
- CN202410470775.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-04-18
AI Technical Summary
When existing optical coherence tomography technology measures capillary blood flow velocity, the system scanning speed is insufficient, resulting in a decrease in measurement accuracy.
Using a multi-channel OCT system, the light is divided into two beams of light of different wavelengths through a wavelength division multiplexer, which are processed by different optical paths respectively. The XY scanning galvanometer is used to adjust the scanning voltage to obtain the optimal scanning spacing, generate a coded image and conduct Cross-correlation coefficient analysis and calculation of blood flow velocity.
The measurement efficiency and accuracy of capillary blood flow velocity are improved, and rapid scanning distance adjustment and non-invasive blood flow velocity measurement are achieved.
Smart Images

Figure CN118236038B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical coherence tomography, in particular to the technical field of capillary identification, and more particularly to a multi-channel OCT system for measuring capillary blood flow velocity, a working method of the multi-channel OCT system, a capillary blood flow velocity measuring method, a capillary blood flow velocity measuring 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] Optical Coherence Tomography (OCT) is a new type of tomographic imaging technology that has developed rapidly in recent years and has the most promising development prospects. It has demonstrated the effectiveness of clinical applications in the detection and imaging of living tissues. Capillaries are tiny blood vessels connecting arterioles and venules. They are the place where blood exchanges substances with surrounding tissues and cells. The use of OCT technology to detect capillaries has a high application prospect.
[0004] Studies have shown that red blood cells in capillaries have the characteristic of circulating in a single queue. The inventors found that when plasma and red blood cells are scanned by OCTA equipment, they will appear bright or dark, and the single flow of red blood cells in capillaries will show a phenomenon of light and dark changes. Based on this, the measurement of capillary blood flow velocity can be achieved; however, when the scanning method is to use a scanning line to scan alternately, the scanning speed under the current hardware conditions will be limited, and the scanning distance corresponding to the maximum correlation coefficient cannot be quickly obtained, resulting in a decrease in the measurement accuracy of capillary blood flow velocity. Summary of the invention
[0005] In order to address the deficiencies of the prior art, the present invention provides a multi-channel OCT system and method for measuring capillary blood flow velocity, which overcomes the defect of insufficient system scanning speed when measuring capillary blood flow velocity, can quickly adjust the scanning distance to achieve the optimal correlation coefficient, and improves the measurement efficiency and measurement accuracy of capillary blood flow velocity.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a multi-channel OCT system for measuring capillary blood flow velocity.
[0008] A multi-channel OCT system for measuring capillary blood flow velocity, comprising: a light source, an optical coupler, a sample arm and a reference arm, the light source and the optical coupler are connected via an optical fiber, the optical coupler and the spectrometer are connected via an optical fiber, and the sample arm comprises a first optical path and a second optical path;
[0009] The first optical path comprises: a wavelength division multiplexer, a first collimator, a first XY scanning galvanometer, a dichroic mirror, a second XY scanning galvanometer, a first focusing lens and a second focusing lens arranged in sequence along the optical path;
[0010] The second optical path comprises: a wavelength division multiplexer, a second collimator, a dichroic mirror, a second XY scanning galvanometer, a first focusing lens and a second focusing lens arranged in sequence along the optical path;
[0011] The optical coupler is connected to the wavelength division multiplexer through an optical fiber. The reference arm comprises a plane mirror and a third collimator. The third collimator is arranged opposite to the plane mirror.
[0012] As a further limitation of the first aspect of the present invention, the wavelength division multiplexer divides the received light into two beams of light with different wavelengths, which enter the first collimator and the second collimator respectively.
[0013] As a further limitation of the first aspect of the present invention, in the first optical path, light passes through the dichroic mirror, in the second optical path, light is reflected by the dichroic mirror, and the spectrometer is connected to the processing terminal.
[0014] In a second aspect, the present invention provides a working method of a multi-channel OCT system.
[0015] A working method of a multi-channel OCT system, using the multi-channel OCT system according to the first aspect of the present invention, comprises the following process:
[0016] According to the relationship between the deflection voltage of the first XY scanning galvanometer and the scanning interval, the first XY scanning galvanometer is adjusted to scan two positions corresponding to the optimal distance of the same capillary without bifurcation on the OCTA image;
[0017] Each position corresponds to multiple scanned images at different times, and the image of the same unbranched capillary on the multiple scanned images at each position is extracted and arranged according to time to obtain a coded image of the light and dark changes of the capillary blood flow at each position;
[0018] The mutual correlation coefficient of the coded images corresponding to the two positions is calculated, and the distance between the two positions corresponding to the maximum mutual correlation coefficient is taken as the optimal scanning position interval.
[0019] In a third aspect, the present invention provides a method for measuring capillary blood flow velocity.
[0020] A method for measuring capillary blood flow velocity, comprising the following steps:
[0021] Acquire an OCTA image at an optimal scanning distance, scan two positions corresponding to the optimal distance of the same non-bifurcation capillary on the OCTA image, each position corresponding to a plurality of scanned images at different times, wherein the optimal distance is generated by the method described in the second aspect of the present invention;
[0022] Extract the images of the same unbranched 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;
[0023] The length of the capillaries between the two positions is obtained, and the coded images of the two positions are cross-correlated to obtain an offset position that satisfies a set similarity. The lag time is calculated based on the offset position, and the blood flow velocity of this section of capillaries is obtained based on the length of the capillaries between the two positions and the lag time.
[0024] As a further limitation of the third aspect of the present invention, the determination of the same non-bifurcated capillary includes:
[0025] Scanning is performed at any two positions in the region of a capillary on the OCTA image, each position corresponds to a plurality of initial cross-sectional images at different times, and the cross-sectional images at each position are fused, and each position corresponds to a fused cross-sectional image;
[0026] A capillary signal on one fused cross-sectional image is selected and cross-correlated with all capillary signals on another fused cross-sectional image. Two capillaries whose cross-correlation coefficient is greater than or equal to the coefficient threshold are the same capillary without bifurcation.
[0027] In a fourth aspect, the present invention provides a capillary blood flow velocity measuring device.
[0028] A capillary blood flow velocity measuring device, comprising:
[0029] A scanning image acquisition unit is configured to: acquire an OCTA image at an optimal scanning distance, scan two positions corresponding to the optimal distance of the same capillary without bifurcation on the OCTA image, each position corresponding to a plurality of scanning images at different times, wherein the optimal distance is generated by the method described in the second aspect of the present invention;
[0030] The coded image generating unit is configured to: extract the images of the same unbranched capillary on multiple scanned images at each position and arrange them according to time, so as to obtain coded images of the light and dark changes of the capillary blood flow at each position;
[0031] The blood flow velocity measurement unit is configured to: obtain the length of the capillaries between 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 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 the two positions and the lag time.
[0032] In a fifth aspect, the present invention provides a computer device, comprising: a processor and a computer readable storage medium;
[0033] a processor adapted to execute a computer program;
[0034] 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 third aspect of the present invention is implemented.
[0035] 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 method for adaptively controlling a scanning distance as described in the third aspect of the present invention.
[0036] In a 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 third aspect of the present invention.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] 1. The present invention innovatively proposes a multi-channel OCT system and method for measuring capillary blood flow velocity, wherein the scanning interval is calculated by the deviation of two images and the voltage of the scanning galvanometer deflection, and then the relationship between the scanning voltage and the scanning interval is obtained, and then the scanning voltage of the first XY scanning galvanometer can be changed to obtain images at different scanning intervals, thereby overcoming the defect of insufficient system scanning speed when measuring capillary blood flow velocity, being able to quickly adjust the scanning distance to achieve the optimal correlation coefficient, and improving the measurement efficiency and accuracy of capillary blood flow velocity.
[0039] 2. The present invention utilizes the optimal scanning distance interval that is quickly acquired to convert the light and dark changes that occur in the single flow of red blood cells in the capillaries into the best coded image, 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 blood flow velocity measurement and improving the accuracy and efficiency of capillary blood flow measurement.
[0040] 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
[0041] 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.
[0042] Figure 1 A schematic diagram of a multi-channel OCT system for measuring capillary blood flow velocity provided in Example 1 of the present invention;
[0043] Figure 2 A schematic flow chart of a working method of a multi-channel OCT system provided in Embodiment 1 of the present invention;
[0044] Figure 3 A schematic diagram of interference images of the first half and the second half provided in Example 1 of the present invention;
[0045] Figure 4 A schematic diagram of image deviation provided in Example 1 of the present invention;
[0046] Figure 5 A schematic flow chart of a method for measuring capillary blood flow velocity provided in Example 2 of the present invention;
[0047] Figure 6 A schematic diagram of a capillary blood flow velocity measurement device provided in Example 3 of the present invention;
[0048] Figure 7 A schematic diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0049] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0050] 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.
[0051] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0052] Embodiment 1:
[0053] In this implementation, a multi-channel OCT system for measuring capillary blood flow velocity is provided. Figure 1 As shown, including:
[0054] A light source 1, an optical coupler 2, a sample arm 3 and a reference arm 4, wherein the light source 1 is connected to the optical coupler 2 via an optical fiber, the optical coupler 2 is connected to a spectrometer 5 via an optical fiber, and the sample arm comprises a first optical path and a second optical path;
[0055] The first optical path comprises: a wavelength division multiplexer 6, a first collimator 7, a first XY scanning galvanometer 8, a dichroic mirror 9, a second XY scanning galvanometer 13, a first focusing lens 10 and a second focusing lens 11 arranged in sequence along the optical path;
[0056] The second optical path comprises: a wavelength division multiplexer 6, a second collimator 12, a second XY scanning galvanometer 13, a dichroic mirror 9, a first focusing lens 10 and a second focusing lens 11 arranged in sequence along the optical path;
[0057] The optical coupler 2 is connected to the wavelength division multiplexer 6 via an optical fiber. The reference arm comprises a plane mirror 14 and a third collimator 15 . The third collimator 15 is arranged opposite to the plane mirror 14 .
[0058] In this implementation, preferably, the light received by the wavelength division multiplexer 6 is divided into two beams of light with different wavelengths, which respectively enter the first collimator 7 and the second collimator 12; in the first optical path, the light is transmitted through the dichroic mirror 9, and in the second optical path, the light is reflected by the dichroic mirror 9, and the spectrometer 5 is connected to the processing terminal 16.
[0059] In this implementation, a working method of the multi-channel OCT system is also provided. Figure 2 As shown, the following process is included:
[0060] S1.1: adjusting the first XY scanning galvanometer according to the relationship between the deflection voltage and the scanning interval of the first XY scanning galvanometer to scan two positions corresponding to the optimal distance of the same capillary without bifurcation on the OCTA image;
[0061] S1.2: Each position corresponds to multiple scanned images at different times, and the image of the same unbranched capillary on the multiple scanned images at each position is extracted and arranged according to time to obtain a coded image of the light and dark changes of the capillary blood flow at each position;
[0062] S1.3: Calculate the mutual correlation coefficient of the coded images corresponding to the two positions, and take the distance between the two positions corresponding to the maximum mutual correlation coefficient as the optimal scanning position interval.
[0063] More specifically, the relationship between the deflection voltage and the scanning interval of the first XY scanning galvanometer is obtained, including:
[0064] The light emitted by the light source 1 enters the coupler 2, and the light coming out of the coupler 2 enters the wavelength division multiplexer 6 all the way, and is divided into two beams of light with different wavelengths by the wavelength division multiplexer 6 and enters the first collimator 7 and the second collimator 12 respectively. The light after being collimated by the first collimator 7 passes through the first XY scanning galvanometer 8 to deflect a certain voltage, and then passes through the dichroic mirror 9 and enters the object to be measured through the second XY scanning galvanometer 13, the first focusing lens 10 and the second focusing lens 11; the other light beam is collimated by the second collimator 12 and passes through the dichroic mirror 9 to enter the second XY scanning galvanometer 13, and then passes through the first focusing lens 10 and the second focusing lens 11 to enter the object to be measured; because the first XY scanning galvanometer 8 deflects certain voltages △Vx and △Vy, the two beams of light entering the object to be measured will have a certain scanning interval.
[0065] In this implementation, the light beams returning from the object to be measured return along the original path and then enter the spectrometer 5 after interference through the optical coupler 2. Since the wavelengths of the two beams are different, when the same spectrometer 5 is used to receive the interference pattern, the first half receives the interference pattern from the low wavelength, and the second half receives the interference pattern from the high wavelength, such as Figure 3 shown.
[0066] After the spectrometer 5 acquires the pattern, the image scanning spacing needs to be calculated. In the early stage, the reconstructed image feature points are used to calibrate and align the feature points in the first scan image (reconstructed from the interference image received in the first half of the spectrometer) and the second scan image (reconstructed from the interference image received in the second half of the spectrometer) (the feature points can be images of capillaries, large blood vessels, tissues, etc.), and the image deviations △x and △y are calculated, as shown in Figure 4 As shown, the relationship between the scanning interval and the deflection voltage is calculated according to the voltages △Vx and △Vy of the first XY scanning galvanometer 8 deflection, and the formula is as follows:
[0067] ;
[0068] ;
[0069] In this implementation, based on the relationship between the acquired scanning voltage and the scanning spacing, the scanning voltage of the XY scanning galvanometer 1 can be changed to obtain images with different scanning spacings, thereby solving the defect of insufficient scanning galvanometer speed when measuring capillary blood flow velocity; the blood flow velocities acquired according to different scanning spacings are encoded, and the encoded images are subjected to correlation analysis to calculate the capillary blood flow velocity.
[0070] In this implementation, in step S1.2, the determination of the same non-bifurcation capillary specifically includes:
[0071] Scan any two positions of a capillary region on the OCTA image (i.e., it can be roughly seen from the OCTA image that it may be a capillary), each position corresponds to multiple initial cross-sectional images at different times, and the cross-sectional images of each position are fused, and each position corresponds to a fused cross-sectional image;
[0072] A capillary signal on one fused cross-sectional image is selected and cross-correlated with all capillary signals on another fused cross-sectional image. Two capillaries whose cross-correlation coefficient is greater than or equal to the coefficient threshold are the same capillary without bifurcation.
[0073] The cross-section diagrams at each location are fused, including:
[0074] For any position, 10 consecutive OCTA images at different times at this position are automatically selected for pixel averaging to reduce random noise and improve image quality. The pixel averaging here refers to adding the ten pixel values of the same pixel point and taking the average value to obtain a fused image. It can be understood that there can be more OCTA images here, and the main purpose is to obtain more accurate capillary signals on the cross section.
[0075] The principle of capillary recognition in this implementation method is that red blood cells in capillaries have the characteristic of circulating in a single queue. When scanned by an OCTA device, plasma and red blood cells will appear bright or dark respectively. The single flow of red blood cells in capillaries will show a phenomenon of light and dark changes. By fusing multiple OCTA images at different times, it is inevitable that the brightness signals corresponding to all the capillaries can be found. If only one image is used, the brightness signal may be missed, which will lead to the inability to identify the corresponding capillaries.
[0076] Similarly, from some other implementation methods, the fusion processing here can also be carried out by directly adding the pixel values of the same pixel point, so that the area with brightness signals can always be found, and all blood vessel signals can be found in this way; or, further, the pixel values of the same pixel point can be directly added to obtain all brightness signals, and then the brightness of all darker signals (i.e., tissue signals below a certain brightness threshold) is averaged, and the brightness signal greater than a certain brightness threshold is subtracted from the brightness average signal, and then the result is multiplied by a certain multiple to enhance the difference signal to obtain the final blood vessel signal. The above method is only for illustration, and other fusion methods can also be used to obtain the brightness signals corresponding to all blood vessels.
[0077] Similarly, in some other implementations, the same unbranched capillary can also be determined by directly using a pre-trained image recognition algorithm to directly perform image recognition and extract an OCTA image of a section of unbranched capillary, which will not be repeated here.
[0078] In this implementation, before determining the same unbranched capillary, a capillary signal recognition process is also included, specifically including:
[0079] The brightness on the fused cross-section image is contrasted. Blood vessels are those with brightness greater than the brightness threshold, and blood vessels are those with diameters less than the diameter threshold.
[0080] In this implementation, the brightness threshold may be determined in the following ways:
[0081] (1) According to the empirical value setting, the general brightness value corresponding to the blood vessel can be obtained based on a large number of measurement results, and this general brightness value is used as the brightness threshold; (2) The maximum brightness and the minimum brightness on this fused cross-sectional image are obtained, and the average of the two is taken as the brightness threshold; (3) All brightness signal values on this fused cross-sectional image are obtained, all brightness signal values are sorted, the lowest 10% brightness values are removed, and the average of the remaining brightness values is used as the brightness threshold.
[0082] Similarly, the brightness threshold may also be set in other ways, as long as it can effectively distinguish the brightness signal corresponding to the tissue (generally darker) from the brightness signal corresponding to the blood vessel (generally brighter), which will not be specifically illustrated here.
[0083] In this implementation, the diameter threshold may be determined in the following ways:
[0084] (1) According to the empirical value setting, the first diameter range corresponding to the large blood vessels and the second diameter range corresponding to the capillaries can be obtained based on a large number of measurement results. According to the minimum value of the first diameter range and the maximum value of the second diameter range, a value between the minimum value and the maximum value is determined as the diameter threshold; (2) The maximum blood vessel diameter value and the minimum blood vessel diameter value on the fused cross-sectional image are obtained, and the average of the two is taken as the blood vessel diameter threshold; (3) All blood vessel diameter values on the fused cross-sectional image are obtained, all blood vessel diameter values are sorted, and the lowest set number of blood vessel diameter values (such as the lowest 10%, which is only an example here, and other proportions can also be selected according to the situation) are removed, and the average of the remaining blood vessel diameter values is taken as the diameter threshold. It can be understood that the diameter threshold can also be set in other ways, as long as the large blood vessels and capillaries can be effectively identified, and no specific illustration is given here.
[0085] Optionally, in some other implementations, the capillary signal recognition process may also be performed in the following manner:
[0086] For each point in the fused cross-sectional image, time is used as the horizontal axis, and the brightness signal of multiple repeated scans (for example, 10) is used as the vertical axis. The brightness signals at different times are compared. The area with a suitable size where the brightness signal is wavy and the fluctuation degree is greater than the threshold is the capillary signal, while the brightness of other tissues is in a relatively low and stable state, and the brightness of large blood vessels is in a relatively high and stable state.
[0087] In this implementation, the threshold of the mutual correlation coefficient is generally set according to an empirical value. For example, the coefficient threshold can be set to 0.2, that is, the mutual correlation coefficient greater than 0.2 is regarded as a capillary without bifurcation. Alternatively, the coefficient threshold can be set to 0.5 or other values, which will not be further described here.
[0088] In the present implementation, in step S1.2, the distance between the two positions is increased or decreased, specifically, including: fixing the scanning position during the first scan as the first position, and increasing or decreasing the distance to the first position during the second scan; the increase or decrease here may require continuous adjustment and calculation to obtain the final distance, which may be increased first and then decreased, or may be decreased first and then increased, which will not be illustrated in detail.
[0089] Embodiment 2:
[0090] In this implementation, a method for measuring capillary blood flow velocity is provided, such as Figure 5 As shown, the following process is included:
[0091] S2.1: obtaining an OCTA image at an optimal OCT scanning distance (the optimal OCT scanning distance is generated using the method described in Example 1), scanning two positions corresponding to the optimal distance of the same capillary without bifurcation on the OCTA image, and each position corresponds to multiple scanned images at different times;
[0092] S2.2: extracting images of the same non-bifurcated capillary on multiple scanned images at each position and arranging them according to time, and obtaining coded images of the light and dark changes of capillary blood flow at each position;
[0093] S2.3: Obtain the length of the capillaries between the two positions, perform cross-correlation analysis or other comparative analysis on the coded images of the two positions to obtain an offset position that meets the 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 the two positions and the lag time.
[0094] In this implementation, in step S2.1, the specific acquisition of the scanned image includes:
[0095] Obtain two optimal scanning positions (i.e., a first position A1 and a second position A2, generated by the system of Example 1) of the same non-bifurcation capillary, and perform alternating scanning;
[0096] 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.
[0097] In this implementation, in step S2.2, the specific method of generating the coded image includes:
[0098] 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;
[0099] The capillary area 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 area 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.
[0100] In this implementation, in step S2.3, the calculation of blood flow velocity includes:
[0101] 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;
[0102] 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: , wherein the first position A1 and the second position A2 are set initially, and therefore, their horizontal distance L1 is known data.
[0103] 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.
[0104] Take the coded image of the light and dark changes of the capillaries at the first position A1, take the coded image of the light and dark changes of the capillaries at the second position A2, and align the coded image of the light and dark changes of the capillaries corresponding to the first position A1 with the coded image of the light and dark changes corresponding to the second position A2;
[0105] Because the capillary flow velocity 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, and a correlation analysis is performed on the coded images of capillary light and dark changes to obtain the offset position with the highest correlation of light and dark changes, which is recorded as the lag time T; in other optional implementations, the first coded image and the second coded image can also be offset by image stacking, and the light and dark changes are used for analysis, and 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, and a subtraction process is performed on the images at different positions each time the translation is performed, and the positions that are all bright or all dark are offset to obtain the number of remaining light and dark codes, and 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, and the capillary flow velocity is calculated according to the capillary length S and the lag time T, and the calculation formula is: V=S / T.
[0106] The direction of capillary blood flow velocity is determined based on the obtained correlation lag time. The specific determination conditions are as follows:
[0107] 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.
[0108] Embodiment 3:
[0109] In this implementation, a capillary blood flow velocity measuring device is provided, such as Figure 6 As shown, including:
[0110] The scanning image acquisition unit is configured to: acquire an OCTA image at an optimal scanning distance (the optimal scanning distance is generated using the method described in Example 1), scan two positions corresponding to the optimal distance of the same capillary without bifurcation 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 S2.1 provided in Example 2, and will not be repeated here;
[0111] The coded image generating unit is configured to: extract the images of the same unbranched 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 the capillary blood flow at each position; the specific working method of this unit is the same as the process of step S2.2 provided in Example 2, and will not be repeated here;
[0112] The blood flow velocity measurement unit is configured to: obtain the length of the capillaries between 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 the two positions and the lag time; the specific working method of this unit is the same as the process of step S2.3 provided in Example 2, and will not be repeated here.
[0113] It is understandable that the above-mentioned units can be separately or completely combined into one or several other units to constitute, or one (some) of the units can be further divided into multiple functionally smaller units 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.
[0114] 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.
[0115] Embodiment 4:
[0116] like Figure 7 As shown, this implementation 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.
[0117] 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.
[0118] 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:
[0119] Obtain an OCTA image at an optimal scanning distance (the optimal scanning distance is generated using the method described in Example 1), scan two positions corresponding to the optimal distance of the same capillary without bifurcation 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 S2.1 provided in Example 2, and will not be repeated here;
[0120] Extract the images of the same unbranched 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 S2.2 provided in Example 2, and will not be repeated here;
[0121] The length of the capillaries between the two positions is obtained, and cross-correlation analysis is performed on the coded images of the two positions to obtain an offset position that meets the set similarity, and the lag time is calculated according to the offset position. The blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between the two positions and the lag time. The specific working method of this unit is the same as the process of step S2.3 provided in Example 2, and will not be repeated here.
[0122] Embodiment 5:
[0123] 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.
[0124] 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.
[0125] 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:
[0126] Obtain an OCTA image at an optimal scanning distance (the optimal scanning distance is generated using the method described in Example 1), scan two positions corresponding to the optimal distance of the same capillary without bifurcation 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 S2.1 provided in Example 2, and will not be repeated here;
[0127] Extract the images of the same unbranched 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 S2.2 provided in Example 2, and will not be repeated here;
[0128] The length of the capillaries between the two positions is obtained, and cross-correlation analysis is performed on the coded images of the two positions to obtain an offset position that meets the set similarity, and the lag time is calculated according to the offset position. The blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between the two positions and the lag time. The specific working method of this unit is the same as the process of step S2.3 provided in Example 2, and will not be repeated here.
[0129] Embodiment 6:
[0130] The present implementation 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:
[0131] Obtain an OCTA image at an optimal scanning distance (the optimal scanning distance is generated using the method described in Example 1), scan two positions corresponding to the optimal distance of the same capillary without bifurcation 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 S2.1 provided in Example 2, and will not be repeated here;
[0132] Extract the images of the same unbranched 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 S2.2 provided in Example 3, and will not be repeated here;
[0133] The length of the capillaries between the two positions is obtained, and cross-correlation analysis is performed on the coded images of the two positions to obtain an offset position that meets the set similarity, and the lag time is calculated according to the offset position. The blood flow velocity of this section of capillaries is obtained according to the length of the capillaries between the two positions and the lag time. The specific working method of this unit is the same as the process of step S2.3 provided in Example 2, and will not be repeated here.
[0134] 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.
[0135] 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 the computer program instructions are loaded and executed on the 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 instructions can be stored in a computer-readable storage medium or transmitted through a computer-readable storage medium. The computer instructions 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.). The computer-readable storage medium can be any available medium that can be accessed by the computer or a data processing device such as a server, a data center, etc. that includes one or more available media integrated. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state drive (SSD)), etc.
[0136] 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.
[0137] 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 multi-channel OCT system for measuring capillary blood flow velocity, It is characterized in that It includes: a light source, an optical coupler, a sample arm and a reference arm, the light source is connected to the optical coupler through an optical fiber, the optical coupler is connected to the spectrometer through an optical fiber, and the sample arm includes a first optical path and a second optical path; The first optical path comprises: a wavelength division multiplexer, a first collimator, a first XY scanning galvanometer, a dichroic mirror, a second XY scanning galvanometer, a first focusing lens and a second focusing lens arranged in sequence along the optical path; The second optical path comprises: a wavelength division multiplexer, a second collimator, a dichroic mirror, a second XY scanning galvanometer, a first focusing lens and a second focusing lens arranged in sequence along the optical path; The optical coupler is connected to the wavelength division multiplexer through an optical fiber. The reference arm comprises a plane mirror and a third collimator. The third collimator is arranged opposite to the plane mirror.
2. The multi-channel OCT system for measuring capillary blood flow velocity according to claim 1, characterized in that: The wavelength division multiplexer divides the received light into two beams of light with different wavelengths, which enter the first collimator and the second collimator respectively.
3. The multi-channel OCT system for measuring capillary blood flow velocity according to claim 1, characterized in that: In the first optical path, the light passes through the dichroic mirror, and in the second optical path, the light is reflected by the dichroic mirror; The spectrometer is connected to the processing terminal. The light returning from the object to be measured returns along the original path and then enters the spectrometer after interference through the optical coupler. Since the two beams of light have different wavelengths, when the same spectrometer receives interference patterns, the first half receives interference patterns from low wavelengths, and the second half receives interference patterns from high wavelengths.
4. A method for operating a multi-channel OCT system, characterized in that: Using the multi-channel OCT system according to any one of claims 1 to 3, The process includes: According to the relationship between the deflection voltage of the first XY scanning galvanometer and the scanning interval, the first XY scanning galvanometer is adjusted to scan two positions corresponding to the optimal distance of the same capillary without bifurcation on the OCTA image; Each position corresponds to multiple scanned images at different times, and the image of the same unbranched capillary on the multiple scanned images at each position is extracted and arranged according to time to obtain a coded image of the light and dark changes of the capillary blood flow at each position; The mutual correlation coefficient of the coded images corresponding to the two positions is calculated, and the distance between the two positions corresponding to the maximum mutual correlation coefficient is taken as the optimal scanning position interval.
5. A method for measuring capillary blood flow velocity, characterized in that: The process includes: Acquire an OCTA image at an optimal scanning distance, scan two positions corresponding to the optimal distance of the same non-bifurcated capillary on the OCTA image, each position corresponding to a plurality of scanned images at different times, wherein the optimal distance is generated by the method of claim 4; Extract the images of the same unbranched 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 the two positions is obtained, and the coded images of the two positions are cross-correlated to obtain an offset position that satisfies a set similarity. The lag time is calculated based on the offset position, and the blood flow velocity of this section of capillaries is obtained based on the length of the capillaries between the two positions and the lag time.
6. The method for measuring capillary blood flow velocity according to claim 5, characterized in that: The determination of the same unbranched capillary includes: Scanning is performed at any two positions in the region of a capillary on the OCTA image, each position corresponds to a plurality of initial cross-sectional images at different times, and the cross-sectional images at each position are fused, and each position corresponds to a fused cross-sectional image; A capillary signal on one fused cross-sectional image is selected and cross-correlated with all capillary signals on another fused cross-sectional image. Two capillaries whose cross-correlation coefficient is greater than or equal to the coefficient threshold are the same capillary without bifurcation.
7. A capillary blood flow velocity measuring device, characterized in that: include: A scanning image acquisition unit is configured to: acquire an OCTA image at an optimal scanning distance, scan two positions corresponding to the optimal distance of the same capillary without bifurcation on the OCTA image, each position corresponding to a plurality of scanning images at different times, wherein the optimal distance is generated by the method of claim 4; The coded image generating unit is configured to: extract the images of the same unbranched capillary on multiple scanned images at each position and arrange them according to time, so as to obtain coded images of the light and dark changes of the capillary blood flow at each position; The blood flow velocity measurement unit is configured to: obtain the length of the capillaries between 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 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 the two positions and the lag time.
8. 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 capillary blood flow velocity measurement method according to claim 5 or 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the capillary blood flow velocity measurement method according to claim 5 or 6.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the capillary blood flow velocity measurement method according to claim 5 or 6 is implemented.
