Capillary blood flow velocity measurement method, device, equipment and storage medium
Patent Information
- Application Number
- CN202410571523.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-10
Smart Images

Figure CN118154596B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular relates to a capillary blood flow velocity measurement method, device, equipment and storage medium. Background Art
[0002] As a working system for the exchange of substances between blood and biological tissues, capillaries are an extremely important part of blood circulation. Research on them is helpful for understanding the pathogenesis and analyzing and judging the disease. Human hemodynamics is an important indicator of the exchange of substances between body organs and tissues. The blood flow velocity of capillaries is an important indicator reflecting the state of microcirculation. Reliable and effective measurement of capillaries plays an important role in preventing the occurrence of diseases and testing the efficacy of drugs.
[0003] Existing capillary flow velocity detection is mainly measured through the STD (Space-Time Diagram) method, but this method can only measure the flow velocity of capillaries in a certain speed range. When the blood flow velocity is too fast or too slow, this method will have certain limitations. Summary of the invention
[0004] The embodiments of the present application provide a capillary blood flow velocity measurement method, device, equipment and storage medium to better measure the blood flow velocity of capillaries with too fast blood flow velocity or too slow blood flow velocity.
[0005] This application is implemented through the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a method for measuring capillary blood flow velocity, comprising:
[0007] The first image is obtained by capturing an image of the target capillary through a detection camera.
[0008] Based on the first image, the blood flow velocity category of the target capillary is determined to obtain a blood flow velocity category result.
[0009] When the blood flow velocity classification result is a preset category, based on the blood flow velocity classification result, the frames per second of the detection camera and the image magnification of the detection camera are adjusted, and the image of the target capillary is re-captured to obtain a second image.
[0010] The second image is processed by the STD spatiotemporal graph method to calculate the blood flow velocity in the target capillary.
[0011] In combination with the first aspect, in some possible implementations, based on the first image, determining the blood flow velocity category of the target capillary to obtain the blood flow velocity category result includes:
[0012] Based on the first image, the blood flow velocity category of the target capillary is determined by the STD spatiotemporal graph method to obtain a blood flow velocity category result.
[0013] In combination with the first aspect, in some possible implementations, based on the first image, determining the blood flow velocity category of the target capillary to obtain the blood flow velocity category result includes:
[0014] Based on the first image, the blood flow velocity category of the target capillary is determined by a blood flow velocity category recognition model to obtain a blood flow velocity category result.
[0015] In conjunction with the first aspect, in some possible implementations, the process of constructing the blood flow rate category recognition model includes:
[0016] Acquire multiple images of capillaries with labeled blood flow velocity classes.
[0017] The images of capillaries with multiple labeled blood flow velocity categories are divided into training set, test set and validation set.
[0018] The preset convolutional neural network model is trained through the training set and the test set to obtain the pre-output model.
[0019] The pre-output model is verified by the verification set. If the accuracy of the pre-output model meets the preset conditions, the pre-output model is output to obtain the blood flow rate category recognition model.
[0020] If the accuracy of the pre-output model does not meet the preset conditions, return to the step of re-dividing the training set, test set, and validation set.
[0021] In combination with the first aspect, in some possible implementations, the preset category includes a blood flow rate that is too fast or a blood flow rate that is too slow; when the blood flow rate category result is the preset category, adjusting the number of frames per second of the detection camera and the image magnification of the detection camera based on the blood flow rate category result, including:
[0022] When the result of the blood flow rate category is that the blood flow rate is too fast, the frame rate of the detection camera is increased per second, or the image magnification of the detection camera is reduced, or the frame rate of the detection camera is increased per second and the image magnification of the detection camera is reduced.
[0023] When the result of the blood flow rate category is that the blood flow rate is too slow, the frame rate of the detection camera is reduced per second, or the image magnification of the detection camera is increased, or the frame rate of the detection camera is reduced per second and the image magnification of the detection camera is increased.
[0024] With reference to the first aspect, in some possible implementations, a maximum value of the number of frames per second of the detection camera is 120, and a minimum value of the number of frames per second of the detection camera is 30.
[0025] In combination with the first aspect, in some possible implementations, the image of the target capillary taken by the detection camera is an SDF image or an IDF image.
[0026] In a second aspect, an embodiment of the present application provides a capillary blood flow velocity measuring device, comprising:
[0027] The data acquisition module is used to capture an image of the target capillaries through a detection camera to obtain a first image.
[0028] The category determination module is used to determine the blood flow velocity category of the target capillary based on the first image and obtain a blood flow velocity category result.
[0029] The parameter adjustment module is used to adjust the frames per second and the image magnification of the detection camera based on the blood flow velocity category result when the blood flow velocity category result is a preset category, re-shoot the image of the target capillary to obtain a second image.
[0030] The result output module is used to process the second image by using the STD spatiotemporal graph method to calculate the blood flow velocity in the target capillary.
[0031] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a processor and a memory, the memory being used to store a computer program, and when the processor executes the computer program, the capillary blood flow velocity measurement method as described in any one of the first aspects is implemented.
[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the capillary blood flow velocity measurement method as described in any one of the first aspects is implemented.
[0033] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0034] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0035] The present application obtains a first image by capturing an image of a target capillary with a detection camera, and determines the blood flow velocity category based on the first image. When the blood flow velocity category is a preset category, the number of frames per second and the impact magnification of the detection camera are adjusted, and the impact of the target capillary is re-photographed to obtain a second image. Finally, the second image is processed by the STD space-time graph method to calculate the blood flow velocity in the target capillary. The limitation of the STD space-time graph method in the prior art (the problem of being unable to detect the blood flow velocity of capillaries with too fast or too slow blood flow velocity) is overcome, and the scope of application of the subsequent STD space-time graph method is adjusted by cleverly changing the parameters of the detection camera, thereby realizing the measurement of the blood flow velocity of capillaries with too fast or too slow blood flow velocity.
[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0038] Figure 1 It is a flow chart of a method for measuring capillary blood flow velocity provided by an embodiment of the present application;
[0039] Figure 2 It is a structural schematic diagram of a capillary blood flow velocity measuring device provided in one embodiment of the present application;
[0040] Figure 3 It is a structural diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0041] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0042] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0043] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0044] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0045] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0046] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0047] Existing capillary flow velocity detection is mainly measured through the STD (Space-Time Diagram) method, but this method can only measure the flow velocity of capillaries in a certain speed range. When the blood flow velocity is too fast or too slow, this method will have certain limitations.
[0048] Based on the above problems, an embodiment of the present application provides a method for measuring capillary blood flow velocity, which improves the STD time-space diagram method so that it can measure the blood flow velocity of capillaries with too fast or too slow blood flow velocity.
[0049] Figure 1 is a schematic diagram of the process of the capillary blood flow velocity measurement method provided in one embodiment of the present application, referring to Figure 1 , the capillary blood flow velocity measurement method is described in detail as follows:
[0050] Step 101 : photographing an image of a target capillary through a detection camera to obtain a first image.
[0051] Exemplarily, the image of the target capillary taken by the detection camera is an SDF image or an IDF image.
[0052] Specifically, if the first image is an SDF image, in order to ensure the consistency of the previous and next images, the subsequent second image should also be an SDF image. If the first image is an IDF image, the subsequent second image should also be an IDF image.
[0053] Specifically, step 101 includes:
[0054] The capillary image is obtained by taking the image of the capillaries by a detection camera.
[0055] Based on the blood vessel recognition model, all capillaries in the capillary image are extracted, and the capillaries are sorted according to their thickness.
[0056] The thinnest capillary in the capillary image is selected as the target capillary.
[0057] The image of the target capillary is used as the first image.
[0058] Specifically, in addition to taking the thinnest capillary as the target capillary, when the imaging conditions of the photographed capillaries are met, any capillary below 20 microns can also be taken as the target capillary.
[0059] Specifically, the blood vessel recognition model can be obtained by training a neural network model or an AI recognition model through labeled training samples. Specifically, the training process may include:
[0060] The labeled training samples are divided into training set and test set.
[0061] The training set is used to train the neural network model or AI recognition model to obtain a pre-output training model.
[0062] The pre-output training model is tested based on the test set. If the recognition accuracy of the pre-output training model reaches a preset standard, the pre-output training model is used as a blood vessel recognition model.
[0063] Step 102: based on the first image, determine the blood flow velocity category of the target capillary to obtain a blood flow velocity category result.
[0064] Exemplarily, step 102 may include:
[0065] Based on the first image, the blood flow velocity category of the target capillary is determined by the STD spatiotemporal graph method to obtain a blood flow velocity category result.
[0066] Exemplarily, step 102 may also include:
[0067] Based on the first image, the blood flow velocity category of the target capillary is determined by a blood flow velocity category recognition model to obtain a blood flow velocity category result.
[0068] Specifically, step 102 may also include:
[0069] Determine the blood flow rate category of the target capillary by multiple methods to obtain multiple first pre-output results;
[0070] Each first pre-output result is counted, and the most blood flow velocity category obtained by counting is used as the blood flow velocity category result.
[0071] Specifically, by combining multiple methods, the blood flow velocity category of the target capillary can be judged more accurately, and the blood flow velocity category of the target capillary can be classified into an accurate preset category, reducing the possibility of classifying the blood flow velocity category of the target capillary into an incorrect preset category, thereby improving the efficiency of the program.
[0072] Exemplarily, the process of constructing the blood flow rate category recognition model includes:
[0073] Acquire multiple images of capillaries with labeled blood flow velocity classes.
[0074] The images of capillaries with multiple labeled blood flow velocity categories are divided into training set, test set and validation set.
[0075] The preset convolutional neural network model is trained through the training set and the test set to obtain the pre-output model.
[0076] The pre-output model is verified by the verification set. If the accuracy of the pre-output model meets the preset conditions, the pre-output model is output to obtain the blood flow rate category recognition model.
[0077] If the accuracy of the pre-output model does not meet the preset conditions, return to the step of re-dividing the training set, test set, and validation set.
[0078] Step 103, when the blood flow velocity classification result is a preset category, based on the blood flow velocity classification result, the frames per second of the detection camera and the image magnification of the detection camera are adjusted, and the image of the target capillary is re-taken to obtain a second image.
[0079] Exemplarily, the preset categories include a blood flow rate that is too fast or a blood flow rate that is too slow.
[0080] Exemplarily, when the blood flow velocity classification result is a preset category, adjusting the number of frames per second of the detection camera and the image magnification of the detection camera based on the blood flow velocity classification result includes:
[0081] When the result of the blood flow rate category is that the blood flow rate is too fast, the frame rate of the detection camera is increased per second, or the image magnification of the detection camera is reduced, or the frame rate of the detection camera is increased per second and the image magnification of the detection camera is reduced.
[0082] When the result of the blood flow rate category is that the blood flow rate is too slow, the frame rate of the detection camera is reduced per second, or the image magnification of the detection camera is increased, or the frame rate of the detection camera is reduced per second and the image magnification of the detection camera is increased.
[0083] Specifically, increasing the number of frames per second can obtain more frame images in the same time, and reducing the image magnification of the detection camera can obtain target capillaries with longer lengths, which is convenient for the subsequent use of the STD space-time diagram method to recalculate and obtain the blood flow rate of capillaries previously identified as having too fast blood flow. Similarly, reducing the number of frames per second can obtain fewer frame images in the same time, and increasing the image magnification of the detection camera can obtain target capillaries with shorter lengths, which is convenient for the subsequent use of the STD space-time diagram method to recalculate and obtain the blood flow rate of capillaries previously identified as having too full blood flow.
[0084] Exemplarily, the maximum value of the number of frames per second of the detection camera is 120, and the minimum value of the number of frames per second of the detection camera is 30.
[0085] Step 104, the second image is processed by using the STD spatiotemporal graph method to calculate the blood flow velocity in the target capillary.
[0086] The above-mentioned capillary blood flow velocity measurement method obtains a first image by taking an image of the target capillary with a detection camera, and determines the blood flow velocity category based on the first image. When the blood flow velocity category is a preset category, the number of frames per second and the impact magnification of the detection camera are adjusted, and the impact of the target capillary is re-photographed to obtain a second image. Finally, the second image is processed by the STD space-time graph method to calculate the blood flow velocity in the target capillary. The limitation of the STD space-time graph method in the prior art (the problem of being unable to detect the blood flow velocity of capillaries with too fast or too slow blood flow velocity) is overcome, and the scope of application of the subsequent STD space-time graph method is adjusted by cleverly changing the parameters of the detection camera, thereby realizing the measurement of the blood flow velocity of capillaries with too fast or too slow blood flow velocity.
[0087] Specifically, for a video, assuming that the blood flow rate range that can be detected by the traditional STD spatiotemporal method is 100-150 However, the improved STD spatiotemporal graph method after this scheme will make corresponding adjustments according to the blood flow velocity category affected by the segment. For example, assuming that the blood flow velocity of the segment is 50 When the traditional STD space-time diagram method cannot measure the blood flow velocity, this solution will adjust the frame rate per second of the detection camera and the image magnification of the detection camera, so that the blood flow velocity range detected by the STD space-time diagram method of this solution is adjusted to 20-70 , and then measure the blood flow rate of the capillary. This achieves a function that the traditional STD spatiotemporal graph method cannot achieve. It improves the measurement efficiency of the blood flow rate of the capillaries and reduces the cost. Since this solution obtains the image of the capillaries, in principle it will not cause damage to the capillaries to be measured, it can protect the integrity of the capillaries to be measured to a certain extent, and will not cause infection to the capillaries.
[0088] Compared with the traditional STD spatiotemporal graph method, this scheme has a wider range of applications and is therefore more suitable for the existing medical field. In the medical field, microcirculation, as a working system for the exchange of substances between blood and biological tissues, is an extremely important link in blood circulation. Too high or too low flow rates will result in the inability of nutrients carried by blood to be fully exchanged to tissues, leading to tissue necrosis. Ultra-high blood flow rates are an important feature of sepsis after shock. If sepsis is not treated in time, it will directly lead to the death of the patient.
[0089] The solution of the present application can measure the blood flow rate of organisms under different conditions to the greatest extent, and provide an important feature of accurate capillary blood flow rate for further analysis of the disease. In addition, it can also provide a certain degree of data support for more experts and scholars to conduct more in-depth research on organisms, and promote further development in the medical field.
[0090] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0091] Corresponding to the capillary blood flow velocity measurement method described in the above embodiment, Figure 2 A structural block diagram of a capillary blood flow velocity measuring device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0092] See also Figure 2 The capillary blood flow velocity measuring device in the embodiment of the present application may include:
[0093] The data acquisition module 201 is used to capture an image of a target capillary through a detection camera to obtain a first image.
[0094] The category determination module 202 is used to determine the blood flow velocity category of the target capillary based on the first image and obtain a blood flow velocity category result.
[0095] The parameter adjustment module 203 is used to adjust the frames per second and the image magnification of the detection camera based on the blood flow velocity classification result when the blood flow velocity classification result is a preset category, and re-take the image of the target capillary to obtain a second image.
[0096] The result output module 204 is used to process the second image by using the STD spatiotemporal graph method to calculate the blood flow velocity in the target capillary.
[0097] Exemplarily, the category determination module 202 may be used to:
[0098] Based on the first image, the blood flow velocity category of the target capillary is determined by the STD spatiotemporal graph method to obtain a blood flow velocity category result.
[0099] Exemplarily, the category determination module 202 may also be used for:
[0100] Based on the first image, the blood flow velocity category of the target capillary is determined by a blood flow velocity category recognition model to obtain a blood flow velocity category result.
[0101] Exemplarily, the category determination module 202 may also be used for:
[0102] Acquire multiple images of capillaries with labeled blood flow velocity classes.
[0103] The images of capillaries with multiple labeled blood flow velocity categories are divided into training set, test set and validation set.
[0104] The preset convolutional neural network model is trained through the training set and the test set to obtain the pre-output model.
[0105] The pre-output model is verified by the verification set. If the accuracy of the pre-output model meets the preset conditions, the pre-output model is output to obtain the blood flow rate category recognition model.
[0106] If the accuracy of the pre-output model does not meet the preset conditions, return to the step of re-dividing the training set, test set, and validation set.
[0107] Exemplarily, the preset categories include a blood flow rate that is too fast or a blood flow rate that is too slow.
[0108] Exemplarily, the parameter adjustment module 203 may also be used to:
[0109] When the result of the blood flow rate category is that the blood flow rate is too fast, the frame rate of the detection camera is increased per second, or the image magnification of the detection camera is reduced, or the frame rate of the detection camera is increased per second and the image magnification of the detection camera is reduced.
[0110] When the result of the blood flow rate category is that the blood flow rate is too slow, the frame rate of the detection camera is reduced per second, or the image magnification of the detection camera is increased, or the frame rate of the detection camera is reduced per second and the image magnification of the detection camera is increased.
[0111] Exemplarily, the maximum value of the number of frames per second of the detection camera is 120, and the minimum value of the number of frames per second of the detection camera is 30.
[0112] Exemplarily, the image of the target capillary taken by the detection camera is an SDF image or an IDF image.
[0113] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0114] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0115] The present application also provides a terminal device, see Figure 3 The terminal device 300 may include: at least one processor 310 and a memory 320, wherein the memory 320 is used to store a computer program 321, and the processor 310 is used to call and run the computer program 321 stored in the memory 320 to implement the steps in any of the above-mentioned method embodiments, for example Figure 1Steps 101 to 104 in the illustrated embodiment. Alternatively, when the processor 310 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 2 The functions of each module are shown.
[0116] Exemplarily, the computer program 321 may be divided into one or more modules / units, one or more modules / units are stored in the memory 320, and are executed by the processor 310 to complete the present application. The one or more modules / units may be a series of computer program segments that can complete specific functions, and the program segments are used to describe the execution process of the computer program in the terminal device 300.
[0117] Those skilled in the art will understand that Figure 3 It is only an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0118] The processor 310 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0119] The memory 320 may be an internal storage unit of the terminal device, or an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 320 is used to store the computer program and other programs and data required by the terminal device. The memory 320 may also be used to temporarily store data that has been output or is to be output.
[0120] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0121] The capillary blood flow velocity measurement method provided in the embodiment of the present application can be applied to terminal devices such as computers, wearable devices, vehicle-mounted devices, tablet computers, laptops, netbooks, etc. The embodiment of the present application does not impose any restrictions on the specific type of terminal devices.
[0122] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in each embodiment of the above-mentioned capillary blood flow velocity measurement method can be implemented.
[0123] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in each embodiment of the above-mentioned capillary blood flow velocity measurement method when executing the computer program product.
[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0125] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0126] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein 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. Professional and technical personnel 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.
[0127] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for measuring capillary blood flow velocity, characterized in that: include: An image of a target capillary is captured by a detection camera to obtain a first image; Based on the first image, determining the blood flow velocity category of the target capillary to obtain a blood flow velocity category result; When the blood flow velocity classification result is a preset category, based on the blood flow velocity classification result, adjusting the frames per second of the detection camera and the image magnification of the detection camera, re-shooting the image of the target capillary, and obtaining a second image; Processing the second image by using the STD spatiotemporal graph method to calculate the blood flow velocity in the target capillary; The preset category includes a blood flow rate that is too fast or a blood flow rate that is too slow; when the blood flow rate category result is the preset category, adjusting the number of frames per second of the detection camera and the image magnification of the detection camera based on the blood flow rate category result, including: When the result of the blood flow rate category is that the blood flow rate is too fast, the number of frames per second of the detection camera is increased, or the image magnification of the detection camera is reduced, or the number of frames per second of the detection camera is increased while the image magnification of the detection camera is reduced; When the result of the blood flow rate category is that the blood flow rate is too slow, the frames per second of the detection camera are reduced, or the image magnification of the detection camera is increased, or the frames per second of the detection camera are reduced and the image magnification of the detection camera is increased.
2. The method for measuring capillary blood flow velocity according to claim 1, characterized in that: The step of determining the blood flow velocity category of the target capillary based on the first image to obtain a blood flow velocity category result includes: Based on the first image, the blood flow velocity category of the target capillary is determined by using the STD spatiotemporal graph method to obtain a blood flow velocity category result.
3. The method for measuring capillary blood flow velocity according to claim 1, characterized in that: The step of determining the blood flow velocity category of the target capillary based on the first image to obtain a blood flow velocity category result includes: Based on the first image, the blood flow velocity category of the target capillary is determined by a blood flow velocity category recognition model to obtain a blood flow velocity category result.
4. The method for measuring capillary blood flow velocity according to claim 3, characterized in that: The process of constructing the blood flow rate category recognition model includes: Acquire multiple images of capillaries with labeled blood flow velocity categories; Dividing the images of the plurality of capillaries with labeled blood flow velocity categories into a training set, a test set, and a validation set; Training a preset convolutional neural network model using the training set and the test set to obtain a pre-output model; Verifying the pre-output model by using the verification set, and if the accuracy of the pre-output model meets a preset condition, outputting the pre-output model to obtain the blood flow rate category recognition model; If the accuracy of the pre-output model does not meet the preset conditions, the process returns to the step of re-dividing the training set, the test set and the validation set.
5. The method for measuring capillary blood flow velocity according to claim 1, characterized in that: The maximum value of the number of frames per second of the detection camera is 120, and the minimum value of the number of frames per second of the detection camera is 30.
6. The method for measuring capillary blood flow velocity according to claim 1, characterized in that: The image of the target capillary taken by the detection camera is an SDF image or an IDF image.
7. A capillary blood flow velocity measuring device, characterized in that: include: A data acquisition module, used for capturing an image of a target capillary through a detection camera to obtain a first image; a category determination module, configured to determine the blood flow velocity category of the target capillary based on the first image, and obtain a blood flow velocity category result; a parameter adjustment module, configured to adjust the number of frames per second of the detection camera and the image magnification of the detection camera based on the blood flow velocity classification result when the blood flow velocity classification result is a preset category, and re-take the image of the target capillary to obtain a second image; A result output module, used to process the second image by using the STD spatiotemporal graph method to calculate the blood flow velocity in the target capillary; The preset categories include blood flow rate being too fast or blood flow rate being too slow; the parameter adjustment module is further used for: When the result of the blood flow rate category is that the blood flow rate is too fast, the number of frames per second of the detection camera is increased, or the image magnification of the detection camera is reduced, or the number of frames per second of the detection camera is increased while the image magnification of the detection camera is reduced; When the result of the blood flow rate category is that the blood flow rate is too slow, the frames per second of the detection camera are reduced, or the image magnification of the detection camera is increased, or the frames per second of the detection camera are reduced and the image magnification of the detection camera is increased.
8. A terminal device, comprising: A processor and a memory, wherein the memory stores a computer program that can be run on the processor, wherein when the processor executes the computer program, the capillary blood flow velocity measurement method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the capillary blood flow velocity measurement method according to any one of claims 1 to 6 is implemented.
