Blood flow image processing method, system and computer program product

By acquiring and updating blood flow boundary pixel information in blood flow images, combined with tissue grayscale and blood flow velocity, the problem of abnormal blood flow boundary display is solved and better ultrasound color blood flow imaging effects are achieved.

CN118735896APending Publication Date: 2024-10-01WUHAN UNITED IMAGING HEALTHCARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410903631.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing ultrasound color Doppler blood flow imaging technology, the blood flow boundary shows abnormalities, such as black holes, missing, jagged and overflow, resulting in a decrease in the quality of blood flow imaging.

Method used

By obtaining the pixel information in the blood flow image, the blood flow boundary pixels are determined, and the boundary pixel information is updated based on the pixel information in the target area. The blood flow boundary information is corrected and aliasing is eliminated by combining tissue grayscale and blood flow velocity. Smooth edges.

Benefits of technology

It improves the edge smoothness of blood flow images, eliminates jagged edges of blood flow, and improves the quality of ultrasound color blood flow imaging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735896A_ABST
    Figure CN118735896A_ABST
Patent Text Reader

Abstract

The invention provides a blood flow image processing method and system and a computer program product. The processing method comprises the following steps: acquiring pixel information corresponding to pixel points in a blood flow image; determining boundary pixel points located at a blood flow boundary in the blood flow image according to the pixel information; obtaining a first pixel point set in a first preset range with the target boundary pixel point as the center; dividing the first pixel point set into a plurality of areas to determine a target area corresponding to the target boundary pixel points; and updating the boundary pixel information of the target boundary pixel point according to the pixel information of the boundary pixel point in the target area. According to the ultrasonic color blood flow imaging method and device, the good gradient feeling is kept when the blood flow speed and energy are transited in the blood flow edge direction, then sawteeth on the blood flow edge are eliminated, the blood flow edge is smooth, and finally the better ultrasonic color blood flow imaging effect is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of medical ultrasonic imaging, and in particular to a method, system and computer program product for processing blood flow images. Background Art

[0002] Color Doppler Flow Imaging (CDFI) is a basic ultrasound imaging mode. The user determines a region of interest, also called ROI, on a two-dimensional tissue image, and then can display the spatial distribution of blood flow velocity in real time. It has important clinical value in the diagnosis of cardiovascular diseases. The fullness, continuity, and smoothness of blood flow are important evaluation indicators of CDFI. Ideally, there will be no obvious missing blood flow inside, nor will it overflow to the outside of the blood vessel wall, that is, the blood flow boundary should be highly overlapped with the blood vessel wall. However, in the actual imaging process, black holes and missing blood flow are often found inside, jagged blood flow boundaries, or blood flow overflow, which ultimately reduces the quality of blood flow imaging. Summary of the invention

[0003] The technical problem to be solved by the present disclosure is to overcome the defect of abnormal blood flow boundary display in the prior art and to provide a blood flow image processing method, system and computer program product.

[0004] The present invention solves the above technical problems through the following technical solutions:

[0005] The present disclosure provides a method for processing a blood flow image, the processing method comprising:

[0006] Obtaining pixel information corresponding to pixel points in the blood flow image;

[0007] Determine a boundary pixel point located at a blood flow boundary in the blood flow image according to the pixel information;

[0008] Acquire a first pixel point set within a first preset range centered on the target boundary pixel point;

[0009] Dividing the first pixel point set into a plurality of regions to determine the target region corresponding to the target boundary pixel point;

[0010] The boundary pixel information of the target boundary pixel point is updated according to the pixel information of the boundary pixel point in the target area.

[0011] Optionally, determining a boundary pixel point located at a blood flow boundary in the blood flow image according to the pixel information includes:

[0012] Determine a second pixel point set within a second preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the second pixel point set; in response to the presence of a pixel point in the second pixel point set whose absolute value of the blood flow velocity is less than or equal to a velocity threshold, determine the target pixel point to be the boundary pixel point located at the boundary of normal blood flow; or, determine a third pixel point set within a third preset range centered on the target pixel point, and obtain the blood flow energy of each pixel point in the third pixel point set; in response to the presence of a pixel point in the third pixel point set whose blood flow energy is less than or equal to an energy threshold, determine the target pixel point to be the boundary pixel point located at the boundary of normal blood flow;

[0013] and / or,

[0014] Determine a fourth pixel point set within a fourth preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the fourth pixel point set; in response to the absolute value of the difference in blood flow velocity between the target pixel point and a reference pixel point in the fourth pixel point set being greater than or equal to a difference threshold, determine that the target pixel point is the boundary pixel point located at the aliased blood flow boundary.

[0015] Optionally, dividing the first pixel point set into a plurality of regions to determine the target region corresponding to the target boundary pixel point includes:

[0016] Dividing the first pixel point set into a plurality of regions;

[0017] The number of the boundary pixel points in each of the regions is determined, and the region whose number meets a preset condition is used as the target region.

[0018] Optionally, the determining the number of the boundary pixels in each of the regions and taking the region whose number meets a preset condition as the target region includes:

[0019] In response to the existence of only the number of the areas meeting the preset condition, taking the number of the areas meeting the preset condition as the target areas;

[0020] and / or,

[0021] In response to the existence of more than two areas that meet the preset conditions, any one of the areas that meet the preset conditions is randomly selected as the target area, or the first preset range is expanded and the target area is determined according to the expanded first preset range.

[0022] Optionally, updating the boundary pixel information of the target boundary pixel point according to the pixel information of the boundary pixel point in the target area includes:

[0023] According to the pixel information of the boundary pixel points in the target area, and based on the weights of the boundary pixel points in the target area, a weighted average calculation is performed to obtain the boundary pixel information for updating;

[0024] The distance between the boundary pixel point and the target boundary pixel point is negatively correlated with the weight.

[0025] Optionally, the processing method further includes:

[0026] Determine the overflow coefficient based on the boundary pixel information and in combination with the tissue grayscale; the overflow coefficient is used to characterize the possibility that the target boundary pixel point belongs to the overflow blood flow, and the smaller the coefficient, the lower the possibility;

[0027] In response to the spillover coefficient being greater than or equal to a coefficient threshold, setting the blood flow velocity in the boundary pixel information to zero;

[0028] and / or,

[0029] In response to the overflow coefficient being less than the coefficient threshold, a correction coefficient is determined according to the tissue grayscale, and the blood flow velocity in the boundary pixel information is corrected based on the correction coefficient.

[0030] Optionally, determining a correction coefficient according to tissue grayscale, and correcting the blood flow velocity in the boundary pixel information based on the correction coefficient, includes:

[0031] Calculating the gear function values ​​corresponding to a plurality of modified gear coefficients respectively through the preset gear function in sequence;

[0032] The modified gear coefficient corresponding to the minimum value of the gear function value is used as the correction coefficient;

[0033] The blood flow velocity in the boundary pixel information is corrected according to the correction coefficient and based on the tissue grayscale.

[0034] Optionally, the preset gear function is as follows:

[0035] k = |(G / 255)-A|;

[0036] Wherein, k is the gear function value, G is the tissue grayscale, A is the correction gear coefficient, and 0≤A≤1;

[0037] and / or,

[0038] The correction of the blood flow velocity in the boundary pixel information according to the correction coefficient and based on the tissue grayscale is achieved by the following formula:

[0039] V final=G*a+V new *(1-a);

[0040] Wherein, a is the correction coefficient, G is the tissue grayscale, V final is the blood flow velocity in the corrected boundary pixel information, V new is the blood flow velocity in the boundary pixel information before correction.

[0041] The present disclosure also provides a blood flow image processing system, characterized in that the processing system comprises:

[0042] A first acquisition module, used to acquire pixel information corresponding to a pixel point in a blood flow image;

[0043] A determination module, used to determine a boundary pixel point located at a blood flow boundary in the blood flow image according to the pixel information;

[0044] A second acquisition module is used to acquire a first pixel point set within a first preset range centered on a target boundary pixel point;

[0045] A region division module, used for dividing the first pixel point set into a plurality of regions to determine a target region corresponding to the target boundary pixel point;

[0046] An updating module is used to update the boundary pixel information of the target boundary pixel point according to the pixel information of the boundary pixel point in the target area.

[0047] Optionally, the determining module is specifically used to:

[0048] Determine a second pixel point set within a second preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the second pixel point set; in response to the presence of a pixel point in the second pixel point set whose absolute value of the blood flow velocity is less than or equal to a velocity threshold, determine the target pixel point to be the boundary pixel point located at the boundary of normal blood flow; or, determine a third pixel point set within a third preset range centered on the target pixel point, and obtain the blood flow energy of each pixel point in the third pixel point set; in response to the presence of a pixel point in the third pixel point set whose blood flow energy is less than or equal to an energy threshold, determine the target pixel point to be the boundary pixel point located at the boundary of normal blood flow;

[0049] and / or,

[0050] Determine a fourth pixel point set within a fourth preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the fourth pixel point set; in response to the absolute value of the difference in blood flow velocity between the target pixel point and a reference pixel point in the fourth pixel point set being greater than or equal to a difference threshold, determine that the target pixel point is the boundary pixel point located at the aliased blood flow boundary.

[0051] Optionally, the area division module is specifically used to:

[0052] Dividing the first pixel point set into a plurality of regions;

[0053] The number of the boundary pixel points in each of the regions is determined, and the region whose number meets a preset condition is used as the target region.

[0054] Optionally, the area division module is further specifically used for:

[0055] In response to the existence of only the number of the areas meeting the preset condition, taking the number of the areas meeting the preset condition as the target areas;

[0056] and / or,

[0057] In response to the existence of more than two areas that meet the preset conditions, any one of the areas that meet the preset conditions is randomly selected as the target area, or the first preset range is expanded and the target area is determined according to the expanded first preset range.

[0058] Optionally, the update module is specifically used to:

[0059] According to the pixel information of the boundary pixel points in the target area, and based on the weights of the boundary pixel points in the target area, a weighted average calculation is performed to obtain the boundary pixel information for updating;

[0060] The distance between the boundary pixel point and the target boundary pixel point is negatively correlated with the weight.

[0061] Optionally, the update module is further specifically used for:

[0062] Determine the overflow coefficient based on the boundary pixel information and in combination with the tissue grayscale; the overflow coefficient is used to characterize the possibility that the target boundary pixel point belongs to the overflow blood flow, and the smaller the coefficient, the lower the possibility;

[0063] In response to the spillover coefficient being greater than or equal to a coefficient threshold, setting the blood flow velocity in the boundary pixel information to zero;

[0064] and / or,

[0065] In response to the overflow coefficient being less than a coefficient threshold, a correction coefficient is determined according to the tissue grayscale, and the blood flow velocity in the boundary pixel information is corrected based on the correction coefficient.

[0066] Optionally, the update module is further specifically used for:

[0067] Calculating the gear function values ​​corresponding to a plurality of modified gear coefficients respectively through the preset gear function in sequence;

[0068] The modified gear coefficient corresponding to the minimum value of the gear function value is used as the correction coefficient;

[0069] The blood flow velocity in the boundary pixel information is corrected according to the correction coefficient and based on the tissue grayscale.

[0070] Optionally, the preset gear function is as follows:

[0071] k = |(G / 255)-A|;

[0072] Wherein, k is the gear function value, G is the tissue grayscale, A is the correction gear coefficient, and 0≤A≤1;

[0073] and / or,

[0074] The correction of the blood flow velocity in the boundary pixel information according to the correction coefficient and based on the tissue grayscale is achieved by the following formula:

[0075] V final =G*a+V new *(1-a);

[0076] Wherein, a is the correction coefficient, G is the tissue grayscale, V final is the blood flow velocity in the corrected boundary pixel information, V new is the blood flow velocity in the boundary pixel information before correction.

[0077] The present disclosure also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein the processor implements any of the aforementioned methods for processing blood flow images when executing the computer program.

[0078] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the blood flow image processing method described in any one of the above items is implemented.

[0079] The present disclosure also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the blood flow image processing method described in any one of the above items is implemented.

[0080] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0081] The positive progress effect of the present disclosure is that: by obtaining the pixel information corresponding to the pixel point in the blood flow image, the boundary pixel point located at the blood flow boundary in the blood flow image is determined, and after the target area corresponding to the target boundary pixel point is determined, the boundary pixel information of the target boundary pixel point is updated according to the pixel information of the boundary pixel point in the target area, so that the blood flow image maintains a good gradient sense when transitioning in the direction of the blood flow edge, thereby eliminating the jagged edges of the blood flow, making the blood flow edge smooth, and finally achieving a better ultrasonic color blood flow imaging effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 A flowchart of a method for processing a blood flow image provided by an exemplary embodiment of the present disclosure;

[0083] Figure 2 A flow chart of step 102 provided for an exemplary embodiment of the present disclosure;

[0084] Figure 3 A schematic diagram of a second preset range provided for an exemplary embodiment of the present disclosure;

[0085] Figure 4 Another schematic diagram of a second preset range provided for an exemplary embodiment of the present disclosure;

[0086] Figure 5 Another schematic diagram of a second preset range provided for an exemplary embodiment of the present disclosure;

[0087] Figure 6 Another schematic diagram of a second preset range provided for an exemplary embodiment of the present disclosure;

[0088] Figure 7 Another flow chart of step 102 provided for an exemplary embodiment of the present disclosure;

[0089] Figure 8 Another flow chart of step 102 provided for an exemplary embodiment of the present disclosure;

[0090] Fig. 9 A flow chart of step 104 provided for an exemplary embodiment of the present disclosure;

[0091] Fig.10 A schematic diagram of area division provided for an exemplary embodiment of the present disclosure;

[0092] Fig.11 Another schematic diagram of area division provided for an exemplary embodiment of the present disclosure;

[0093] Fig.12 A flowchart of another method for processing a blood flow image provided by an exemplary embodiment of the present disclosure;

[0094] Fig.13 A flow chart of step 108 provided for an exemplary embodiment of the present disclosure;

[0095] Fig.14 A module schematic diagram of a blood flow image processing system provided by an exemplary embodiment of the present disclosure;

[0096] Fig.15 The present invention provides a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0097] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0098] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0099] In the embodiments of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information (such as ultrasound images of the human body) involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0100] Example 1

[0101] Figure 1 This is a flow chart of a method for processing a blood flow image provided by an exemplary embodiment of the present disclosure. As can be seen from the figure, the processing method includes:

[0102] Step 101: Obtain pixel information corresponding to pixel points in a blood flow image.

[0103] In this step, pixel information of the pixel point is extracted from the blood flow image. Optionally, the pixel information includes at least one of the following: pixel position (e.g., row and column in the image matrix), color (in RGB space), grayscale value, blood flow velocity, blood flow energy, etc. Normally, the value range of blood flow velocity is -128 to 127, and the value range of blood flow energy is 0 to 255. It should be understood that the above value range depends on the setting of the encoding mode and the encoding range, and can be adjusted according to actual needs.

[0104] These data provide the necessary details for subsequent image analysis. Among them, blood flow images refer to images showing the blood flow in the human body. Usually, blood flow imaging is performed on the basis of two-dimensional tissue imaging, and finally the blood flow image is superimposed on the two-dimensional tissue image for display. In medical diagnosis and treatment, ultrasound imaging is a common method for obtaining blood flow images. Specifically, it is achieved by emitting sound waves through the probe of the ultrasound device and receiving its echoes. These echoes are converted into electrical signals. By analyzing these electrical signals, the device can generate color images showing the direction and relative speed of blood flow. For example, the representative color Doppler ultrasound imaging technology can display the direction and speed of blood flow, and represent blood flow information by different colors. That is, the hemodynamic information collected by the ultrasound device is converted into visual pixel information, which is then used to generate images that can intuitively display the blood flow situation. Such images can be used to observe the blood flow status of blood vessels, heart and other organs. Blood flow images can reveal normal and abnormal hemodynamic information, which plays a key role in discovering and evaluating various diseases (such as vascular stenosis, blockage, aneurysm or other circulatory system problems).

[0105] Step 102: Determine boundary pixel points located at the blood flow boundary in the blood flow image according to the pixel information.

[0106] In this step, the pixel points located at the blood flow boundary are identified using the pixel information obtained in step 101. The underlying logic of this step is achieved by finding pixel points with large changes in the values ​​of the parameters in the pixel information, because these changes usually indicate the boundary between the blood flow and the surrounding tissue. This step is crucial for accurately depicting the contour of the blood flow.

[0107] Optionally, the step 102 of determining the boundary pixel points located at the blood flow boundary in the blood flow image according to the pixel information can be divided into two parts: one part is about how to determine the boundary pixel points located at the normal blood flow boundary; the other part is about how to determine the boundary pixel points located at the aliased blood flow boundary. These two parts each include two main steps, which will be described in detail below:

[0108] Optionally, Figure 2A flowchart of step 102 is provided for an exemplary embodiment of the present disclosure. As can be seen from the figure, how to determine the boundary pixel points located at the boundary of normal blood flow specifically includes:

[0109] Step 1021: determine a second pixel point set within a second preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the second pixel point set.

[0110] In this step, the target pixel is any pixel in the blood flow image. Each pixel can be processed as a target pixel by traversing. Here, a pixel is used as an example for explanation. A second preset range is determined with the target pixel as the center, and all pixels in this range constitute a second pixel set. The blood flow velocity information of each pixel in this set is obtained. Among them, the blood flow velocity is an indicator reflecting the speed of blood flow.

[0111] Step 1022: In response to the presence of a pixel point in the second pixel point set whose absolute value of the blood flow velocity is less than or equal to the velocity threshold, determine that the target pixel point is a boundary pixel point located at the boundary of normal blood flow.

[0112] In this step, if the absolute value of the blood flow velocity of any pixel in the second pixel set is less than or equal to the preset velocity threshold, the target pixel is determined to be a boundary pixel located at the boundary of normal blood flow. It should be understood that there are many factors that reduce the blood flow velocity, such as the blood flow encountering some kind of obstruction that causes the blood flow velocity to decrease, such as the blood vessel wall, thereby forming a blood flow boundary.

[0113] For step 1021 to step 1022, a specific example 1 is given here: Assume that for a target pixel point P. With P as the center, define the area where four pixels adjacent to P are located as the second preset range (optionally, the second preset range may also include the pixel point P itself). For details, see Figure 3 A schematic diagram of the second preset range is provided by an exemplary embodiment disclosed. It can be seen from the figure that the black pixel is the target pixel P, and the shaded part is the second preset range. Within this range, the blood flow velocity information of all pixels is collected. For example, the speed of one pixel is 12, the speed of another pixel is -35, and so on. If in this set, there is a pixel whose absolute value of blood flow velocity is less than or equal to a preset speed threshold (for example, the speed threshold is 15), optionally the speed threshold value range can be 1 to 25, which can be adjusted according to actual needs. Then it is determined that the target pixel P is not a boundary pixel located at the boundary of normal blood flow. This represents a significant change in flow velocity, indicating the existence of a blood flow boundary. Here, it should be noted that the selection of the second preset range can be adjusted according to actual needs, including but not limited to, for example Figures 4 to 6The black pixel is the target pixel point P, and the shadow part is the second preset range. Figure 4 With the target pixel point P as the center, the pixels at the upper left, lower left, upper right and lower right are defined as the second preset range. Figure 5 The target pixel point P is taken as the center, and the surrounding pixels adjacent to the target pixel point P are defined as the second preset range. Figure 6 With the target pixel P as the center, Figure 5 Based on the above, four pixels above, below, left and right are extended to form the second preset range. It should be understood that the above Figures 4 to 6 This is just an example, and the selection method of the second preset range can be adjusted according to actual needs. Different selection methods correspond to different accuracy requirements and calculation costs.

[0114] or, Figure 7 Another flowchart of step 102 is provided for an exemplary embodiment of the present disclosure. As can be seen from the figure, how to determine the boundary pixel points located at the boundary of normal blood flow specifically includes:

[0115] Step 1023: determine a third pixel point set within a third preset range centered on the target pixel point, and obtain the blood flow energy of each pixel point in the third pixel point set.

[0116] In this step, a third preset range is determined with the target pixel as the center, and all the pixels within this range constitute a third pixel set. The blood flow energy information of each pixel in this set is obtained. Among them, blood flow energy refers to the energy possessed by blood when it flows, which includes two forms of potential energy and kinetic energy. Potential energy is mainly determined by the position of blood in blood vessels, while kinetic energy is related to the speed of blood and is an indicator reflecting the speed of blood flow. It should be understood that the third preset range in this step can be the same as the second preset range mentioned above.

[0117] Step 1024: In response to the presence of a pixel point in the third pixel point set whose blood flow energy is less than or equal to the energy threshold, determine that the target pixel point is a boundary pixel point located at the boundary of normal blood flow.

[0118] In this step, if the blood flow energy of a pixel is found to be lower than or equal to the set energy threshold, the target pixel is identified as a boundary pixel located at the boundary of normal blood flow. This indicates that the point is the boundary between the blood flow area and the non-blood flow area, which is crucial for subsequent image processing and analysis.

[0119] For steps 1023 to 1024, a specific example 2 is given here: similar to example 1, the area where four pixels adjacent to P are located above, below, left and right is defined as the third preset range. For details, please refer to the schematic diagram of the second preset range of example 1. It can be seen from the figure that the black pixel is the target pixel P, and the shaded part is the third preset range (optionally, the third preset range can also include the target pixel P itself). The blood flow energy of each pixel in the third pixel set is obtained. It should be understood that the blood flow energy is a known condition. Optionally, the blood flow energy can be calculated in advance by analyzing the blood flow velocity and blood flow. For example, the blood flow energy of one pixel is 5, and the blood flow energy of another pixel is 28, etc. If there is a pixel in the set whose blood flow energy is less than or equal to a preset energy threshold (for example, the energy threshold is 10), it is determined that the target pixel P is not a boundary pixel located at the boundary of normal blood flow. Optionally, the energy threshold value range can be 1 to 25, which can be adjusted according to actual needs. Low energy may mean that blood flow is obstructed in this area. Here, it should be noted that the selection of the third preset range can refer to the selection method of the second preset range in Example 1, and will not be repeated here.

[0120] and / or,

[0121] Optionally, Figure 8 Another flow chart of step 102 is provided for an exemplary embodiment of the present disclosure. As can be seen from the figure, how to determine the boundary pixel points located at the boundary of the aliased blood flow specifically includes:

[0122] Step 1025: determine a fourth pixel point set within a fourth preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the fourth pixel point set.

[0123] In this step, a fourth preset range is determined with the target pixel point as the center, and the blood flow velocity information of all the pixel points within the range is obtained to form a fourth pixel point set.

[0124] Step 1026: In response to the absolute value of the difference in blood flow velocity between the target pixel and a reference pixel in the fourth pixel set being greater than or equal to a difference threshold, the target pixel is determined to be a boundary pixel located at a boundary of aliased blood flow.

[0125] In this step, the blood flow velocity difference between the target pixel and a reference pixel in the fourth pixel set is compared. If the absolute value of the difference is greater than or equal to a preset difference threshold, the target pixel is determined to be located at the aliased blood flow boundary.

[0126] For steps 1025 to 1026, a specific example 3 is given here: Similar to Example 1 or Example 2, the area where four pixels adjacent to P above, below, left and right are located is defined as the fourth preset range with pixel point P as the center, and the pixels within the fourth preset range are reference pixels. Specifically, please refer to the schematic diagram of the second preset range in Example 1. It can be seen from the figure that the black pixel is the target pixel point P, the shaded part is the fourth preset range (optionally, the fourth preset range can also include the pixel point P itself), and the pixel point is the reference pixel point. Measure the blood flow velocity of each pixel point. Calculate the absolute value of the difference in blood flow velocity between the target pixel point P and a reference pixel point in the fourth pixel point set. If the absolute value of this difference is greater than or equal to a preset difference threshold (for example, the difference threshold value is 127), the target pixel point P is determined to be a boundary pixel point located at the boundary of the aliased blood flow. The difference threshold can be adjusted according to actual needs. This shows that the sharp change in flow velocity may be caused by the complexity of the blood flow pattern. Here, it should be noted that the selection of the fourth preset range can refer to the selection method of the second preset range in Example 1, which will not be repeated here.

[0127] Through the judgment logic of the above steps 1021 to 1026, the boundary pixel points in the blood flow image can be accurately identified, whether at the normal blood flow boundary or at the complex aliased blood flow boundary. This information is very important for subsequent image analysis and understanding of blood flow dynamics.

[0128] Step 103: Acquire a first pixel point set within a first preset range centered on the target boundary pixel point.

[0129] In this step, based on the boundary pixel points determined in step 102, a target boundary pixel point is determined, and then the target boundary pixel point is processed (here only one target boundary pixel point is taken as an example, and the others are not repeated in the same way). All pixel points within a first preset range centered on the target boundary pixel point are obtained to form a first pixel point set. This range is a key parameter that determines how many neighboring pixel points the algorithm will consider for subsequent analysis.

[0130] Step 104: Divide the first pixel point set into a plurality of regions to determine the target region corresponding to the target boundary pixel point.

[0131] In this step, after having the first pixel set, the pixels of the first pixel set are divided into several regions, with the purpose of determining the target region corresponding to the target boundary pixel points. This step aims to organize the pixel set into meaningful parts for further processing.

[0132] Optionally, Fig. 9A flowchart of step 104 is provided for an exemplary embodiment of the present disclosure. As can be seen from the figure, step 104, dividing the first pixel point set into a plurality of regions to determine the target region corresponding to the target boundary pixel point, includes:

[0133] Step 1041: Divide the first pixel point set into a plurality of regions.

[0134] In this step, the first pixel point set obtained needs to be divided into several regions according to specific standards or features. This division can be based on the blood flow velocity, blood flow energy or other blood flow-related indicators of the pixel points. In this way, pixels with similar blood flow characteristics can be classified into the same region, thereby facilitating subsequent analysis. Fig.10 A schematic diagram of region division provided by an exemplary embodiment of the present disclosure. As can be seen from the figure, the first pixel point set is centered on the target boundary pixel point, and all pixels that are no more than one pixel away from the target boundary pixel point are taken as the first pixel point set. Fig.10 The figure shows the division patterns of regions in 8 directions (upper left, upper, upper right, left, right, lower left, lower, and lower right) from M1 to M8, and the maximum number of pixels in each region is 6 (optionally, each region may also include target boundary pixels, and the maximum number of pixels is 7). For example, M1 shows the division of the region in the upper left direction, where the black pixels are the target boundary pixels and the shaded part is the region divided in the upper left direction. The same is true for M2 to M8, which will not be described here.

[0135] Step 1042: Determine the number of boundary pixels in each region, and take the region where the number meets the preset conditions as the target region.

[0136] Optionally, the step 1042 of determining the number of boundary pixels in each region and taking the region whose number meets a preset condition as the target region specifically includes at least one of the following situations:

[0137] Case 1: In response to the existence of a unique region whose number meets the preset condition, the region whose number meets the preset condition is taken as the target region. For example, based on the region division modes M1 to M8, the number of boundary pixel points located in each region is determined respectively. Optionally, the preset condition here is set to take the region with the largest number of boundary pixel points as the target region. It should be understood that the boundary pixel points here have been determined in step 102.

[0138] Case 2: In response to the presence of more than two areas that meet the preset conditions, any area that meets the preset conditions is randomly selected as the target area, or the first preset range is expanded and the target area is determined based on the expanded first preset range. Fig.10The region division modes M1 to M8 shown in the figure respectively determine the number of boundary pixel points located in their respective regions. Optionally, the preset condition here is set to take the region with the largest number of boundary pixel points as the target region. However, if there are more than two regions with the largest number of boundary pixel points, one of the regions with the largest number of boundary pixel points can be randomly selected as the target region. Alternatively, the range of the first preset range of step 103 is expanded, and step 104 is re-executed until the only region that meets the preset conditions is confirmed as the target region. For example, the original first pixel point set is centered on the target boundary pixel point, and all pixels that are no more than one pixel away from the target boundary pixel point are taken as the first pixel point set. After the range of the first preset range is expanded, the first pixel point set is centered on the target boundary pixel point, and all pixels that are no more than two pixels away from the target boundary pixel point are taken as the first pixel point set. Fig.10 The figure shows the division pattern of the regions in 8 directions (upper left, upper, upper right, left, right, lower left, lower, and lower right) from M1 to M8. The maximum number of pixels in each region is 6, which is expanded as follows: Fig.11 In the illustrated mode, the maximum number of pixels in each region is 9, and the subsequent steps are similar, which will not be described in detail here. It should be understood that the boundary pixel points here have been determined in step 102.

[0139] Step 105: Update the boundary pixel information of the target boundary pixel points according to the pixel information of the boundary pixel points in the target area.

[0140] Optionally, the updating of the boundary pixel information of the target boundary pixel points according to the pixel information of the boundary pixel points in the target area in step 105 specifically includes: performing weighted average calculation based on the pixel information of the boundary pixel points in the target area and the weights of the boundary pixel points in the target area to obtain the boundary pixel information for updating. Among them, the distance between the boundary pixel point and the target boundary pixel point is negatively correlated with the weight. Optionally, the weight setting can be: the weight of the target boundary pixel point is 0.5, the weight of the boundary pixel point adjacent to the target boundary pixel point is 0.3, and the weight of the boundary pixel point separated from the target boundary pixel point by one pixel is 0.2.

[0141] In this step, the information of the target boundary pixel is updated according to the pixel information of other boundary pixels in the target area, which means that the attributes of the target boundary pixel can be adjusted based on the attributes of the neighboring pixels, so that the blood flow boundary is represented more accurately.

[0142] Optionally, Fig.12 This is a flow chart of another blood flow image processing method provided by an exemplary embodiment of the present disclosure. As can be seen from the figure, the processing method also includes:

[0143] Step 106: Determine the spillover coefficient based on the boundary pixel information and combined with the tissue grayscale. The spillover coefficient is used to characterize the possibility that the target boundary pixel point belongs to the spillover blood flow. The smaller the coefficient, the lower the possibility, and vice versa, the larger the coefficient, the higher the possibility.

[0144] In this step, the reason why the spillover coefficient needs to be determined is that in medical imaging, especially when analyzing blood flow images, spillover (i.e., the mixing of blood flow signals with surrounding tissue signals) is a common problem. In order to quantify this situation, the present disclosure introduces the concept of spillover coefficient. The spillover coefficient is based on the information of the target boundary pixels and is determined in combination with the grayscale value of the tissue. The grayscale value reflects the brightness of the tissue in the image. The higher the brightness, the greater the density of the tissue. The spillover coefficient can be calculated by analyzing the blood flow velocity, blood flow energy and grayscale value of the surrounding tissue at the target boundary pixel point. If the spillover coefficient of a pixel point is large, it means that it is more likely to belong to overflow blood flow, that is, the blood flow signal at the pixel point may be inaccurate because it is affected by the surrounding tissue signals. Optionally, the spillover coefficient is calculated by the following formula:

[0145] R=G / (r+|V new |+P new );

[0146] Where R is the spillover coefficient, G is the tissue grayscale, r is the correction parameter, the value of r can be obtained based on experience, and the range of r can be optionally defined as 0 to 127, V new is the blood flow velocity of the target boundary pixel after update, P new is the updated blood flow energy of the target boundary pixel.

[0147] Step 107: In response to the overflow coefficient being greater than or equal to the coefficient threshold, the blood flow velocity in the boundary pixel information is set to zero.

[0148] In this step, when the spillover coefficient of a pixel is greater than or equal to a preset coefficient threshold (for example, the coefficient threshold is 0.5), this indicates that the pixel is greatly affected by the spillover, and the blood flow velocity measurement value may be unreliable. Therefore, in order to reduce the error, it is reasonable to set the blood flow velocity of this pixel to zero. This practice helps to improve the analysis accuracy of blood flow images, especially in further image processing and quantitative analysis.

[0149] and / or,

[0150] Step 108: In response to the overflow coefficient being less than the coefficient threshold, a correction coefficient is determined according to the tissue grayscale, and the blood flow velocity in the boundary pixel information is corrected based on the correction coefficient.

[0151] In this step, for those pixels whose spillover coefficient is less than the coefficient threshold (e.g., the coefficient threshold is 0.5), although they are less likely to be affected by spillover, their measured blood flow velocity may still be affected to a certain extent. In this case, a correction coefficient can be determined according to the gray value of the surrounding tissue. Then, the correction coefficient is used to adjust the blood flow velocity of these pixels to make it closer to the true value.

[0152] In summary, step 107 to step 108 together constitute a detection and correction process for the overflow phenomenon in the blood flow image. By accurately defining and calculating the overflow coefficient, it is possible to identify those pixels that may be affected by the overflow, and to process their blood flow velocities accordingly. This not only improves the accuracy of blood flow image analysis, but also provides doctors with a more reliable basis for diagnosis.

[0153] Optionally, Fig.13 A flowchart of step 108 is provided for an exemplary embodiment of the present disclosure. As can be seen from the figure, step 108, determining a correction coefficient according to the tissue grayscale, and correcting the blood flow velocity in the boundary pixel information based on the correction coefficient, includes:

[0154] Step 1081, calculate the gear function values ​​corresponding to a number of modified gear coefficients respectively through the preset gear function in sequence.

[0155] In this step, the gear function values ​​corresponding to several correction gear coefficients are calculated in turn through the preset gear function. In medical imaging analysis, especially when processing blood flow images, in order to correct the blood flow velocity more accurately, the present disclosure introduces a preset gear function. The function of this function is to calculate the corresponding gear function value according to different input values ​​(such as tissue grayscale). For each correction gear coefficient, the algorithm will substitute it into the preset gear function and calculate a corresponding gear function value. These correction gear coefficients are a series of values ​​pre-set according to the relationship between blood flow velocity and tissue grayscale, and they represent possible correction amounts.

[0156] Optionally, the preset gear function is as follows:

[0157] k = |(G / 255)-A|;

[0158] Wherein, k is the gear function value, G is the tissue grayscale, A is the correction gear coefficient, and 0≤A≤1. The correction gear coefficient can be set according to actual needs. For example, when the gear coefficient is set to 6 gears, the gear coefficients include: 0, 0.2, 0.4, 0.6, 0.8, 1. It should be understood that the intervals between the correction gear coefficients do not necessarily meet absolute equality, and the number of gears can also be adjusted according to actual needs. Therefore, assuming that the tissue grayscale is 150, when the gear coefficients are: 0, 0.2, 0.4, 0.6, 0.8, 1, the gear function values ​​​​are calculated respectively as follows:

[0159] k A=0 =|(150 / 255)-0|=0.588;

[0160] k A=0.2 =|(150 / 255)-0.2|=0.388;

[0161] k A=0.4 =|(150 / 255)-0.4|=0.188;

[0162] k A=0.6 =|(150 / 255)-0.6|=0.012;

[0163] k A=0.8 =|(150 / 255)-0.8|=0.212;

[0164] k A=1 =|(150 / 255)-1|=0.412;

[0165] From the above calculation, it can be seen that when A is 0.6, the gear function value is the smallest.

[0166] Step 1082: Use the corrected gear coefficient corresponding to the minimum value in the gear function value as the correction coefficient.

[0167] In this step, after obtaining a series of gear function values, the algorithm will compare these values ​​and select the minimum value. The correction gear coefficient corresponding to the minimum value is considered to be the most appropriate correction coefficient because it can minimize the error of blood flow velocity. The selected correction coefficient will be used in the subsequent blood flow velocity correction process. For example, in step 1081, when A is 0.6, the gear function value is the smallest, and 0.6 is used as the correction coefficient. This process embodies an optimization strategy, that is, to find the optimal correction coefficient by minimizing the gear function value, so as to achieve the most accurate correction of blood flow velocity.

[0168] Step 1083: Correct the blood flow velocity in the boundary pixel information according to the correction coefficient and based on the tissue grayscale.

[0169] In this step, once the correction coefficient is determined, it can be applied to the blood flow velocity correction of the target boundary pixel point. This process takes into account the influence of tissue grayscale, and the corrected blood flow velocity can be obtained by combining the correction coefficient with the original blood flow velocity of the target boundary pixel point. This correction makes the measurement of blood flow velocity closer to the actual situation, thereby improving the accuracy and reliability of blood flow image analysis.

[0170] Optionally, the blood flow velocity in the boundary pixel information is corrected according to the correction coefficient and based on the tissue grayscale, which is achieved by the following formula:

[0171] V final =G*a+V new *(1-a);

[0172] Among them, a is the correction coefficient, G is the tissue grayscale, V final is the blood flow velocity in the corrected boundary pixel information, V new is the blood flow velocity in the boundary pixel information before correction, that is, the blood flow velocity of the target boundary pixel point after update in step 105 .

[0173] In summary, steps 1081 to 1083 together constitute a sophisticated blood flow velocity correction process, which is intended to improve the accuracy of blood flow image analysis. The gear function value corresponding to the correction gear coefficient is calculated by a preset gear function, and then the correction gear coefficient corresponding to the minimum gear function value is selected as the final correction coefficient, and finally the correction coefficient is applied based on the tissue grayscale to correct the blood flow velocity.

[0174] In this embodiment, the boundary pixel points located at the blood flow boundary in the blood flow image are determined by acquiring the pixel information corresponding to the pixel points in the blood flow image, and after determining the target area corresponding to the target boundary pixel points, the boundary pixel information of the target boundary pixel points is updated according to the pixel information of the boundary pixel points in the target area, so that the blood flow image can maintain a good gradient sense when transitioning in the direction of the blood flow edge, thereby eliminating the jagged edges of the blood flow, making the blood flow edge smooth, and finally achieving a better ultrasonic color blood flow imaging effect.

[0175] Example 2

[0176] Corresponding to the aforementioned embodiment of the method for processing a blood flow image, the present disclosure also provides an embodiment of a system for processing a blood flow image.

[0177] Fig.14 This is a module schematic diagram of a blood flow image processing system provided by an exemplary embodiment of the present disclosure. As can be seen from the figure, the system includes:

[0178] A first acquisition module 21 is used to acquire pixel information corresponding to a pixel point in a blood flow image;

[0179] A determination module 22, used to determine a boundary pixel point located at a blood flow boundary in the blood flow image according to the pixel information;

[0180] A second acquisition module 23 is used to acquire a first pixel point set within a first preset range centered on a target boundary pixel point;

[0181] A region division module 24, used to divide the first pixel point set into a plurality of regions to determine a target region corresponding to a target boundary pixel point;

[0182] The updating module 25 is used to update the boundary pixel information of the target boundary pixel points according to the pixel information of the boundary pixel points in the target area.

[0183] Optionally, the determination module 22 is specifically configured to:

[0184] Determine a second pixel point set within a second preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the second pixel point set; in response to the presence of a pixel point in the second pixel point set whose absolute value of the blood flow velocity is less than or equal to the velocity threshold, determine the target pixel point to be a boundary pixel point located at the boundary of normal blood flow; or, determine a third pixel point set within a third preset range centered on the target pixel point, and obtain the blood flow energy of each pixel point in the third pixel point set; in response to the presence of a pixel point in the third pixel point set whose blood flow energy is less than or equal to the energy threshold, determine the target pixel point to be a boundary pixel point located at the boundary of normal blood flow;

[0185] and / or,

[0186] Determine a fourth pixel point set within a fourth preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the fourth pixel point set; in response to the absolute value of the difference in blood flow velocity between the target pixel point and a reference pixel point in the fourth pixel point set being greater than or equal to a difference threshold, determine that the target pixel point is a boundary pixel point located at the boundary of the aliased blood flow.

[0187] Optionally, the area division module 24 is specifically used for:

[0188] Dividing the first pixel point set into a plurality of regions;

[0189] The number of boundary pixels in each area is determined, and the area where the number meets the preset conditions is taken as the target area.

[0190] Optionally, the area division module 24 is further specifically configured to:

[0191] In response to the existence of a unique number of regions that meet the preset condition, taking the region whose number meets the preset condition as the target region;

[0192] and / or,

[0193] In response to the presence of more than two areas meeting the preset condition, any area meeting the preset condition is randomly selected as the target area, or the first preset range is expanded and the target area is determined according to the expanded first preset range.

[0194] Optionally, the updating module 25 is specifically used for:

[0195] According to the pixel information of the boundary pixel points in the target area, weighted average calculation is performed based on the weights of the boundary pixel points in the target area to obtain the boundary pixel information for updating;

[0196] The distance between the boundary pixel and the target boundary pixel is negatively correlated with the weight.

[0197] Optionally, the updating module 25 is further specifically configured to:

[0198] The spillover coefficient is determined based on the boundary pixel information and combined with the tissue grayscale; the spillover coefficient is used to characterize the possibility that the target boundary pixel point belongs to the spillover blood flow, and the smaller the coefficient, the lower the possibility;

[0199] In response to the spillover coefficient being greater than or equal to the coefficient threshold, setting the blood flow velocity in the boundary pixel information to zero;

[0200] and / or,

[0201] In response to the overflow coefficient being less than the coefficient threshold, a correction coefficient is determined according to the tissue grayscale, and the blood flow velocity in the boundary pixel information is corrected based on the correction coefficient.

[0202] Optionally, the updating module 25 is further specifically configured to:

[0203] Calculating the gear function values ​​corresponding to a plurality of modified gear coefficients respectively through the preset gear function in sequence;

[0204] The correction gear coefficient corresponding to the minimum value of the gear function value is used as the correction coefficient;

[0205] The blood flow velocity in the boundary pixel information is corrected according to the correction coefficient and based on the tissue grayscale.

[0206] Optionally, the preset gear function is as follows:

[0207] k = |(G / 255)-A|;

[0208] Wherein, k is the gear function value, G is the tissue grayscale, A is the correction gear coefficient, and 0≤A≤1;

[0209] and / or,

[0210] According to the correction coefficient and based on the tissue grayscale, the blood flow velocity in the boundary pixel information is corrected by the following formula:

[0211] V final =G*a+V new *(1-a);

[0212] Among them, a is the correction coefficient, G is the tissue grayscale, V final is the blood flow velocity in the corrected boundary pixel information, V new is the blood flow velocity in the boundary pixel information before correction, that is, the blood flow velocity of the target boundary pixel point after being updated by the updating module 25 .

[0213] In this embodiment, the boundary pixel points located at the blood flow boundary in the blood flow image are determined by acquiring the pixel information corresponding to the pixel points in the blood flow image, and after determining the target area corresponding to the target boundary pixel points, the boundary pixel information of the target boundary pixel points is updated according to the pixel information of the boundary pixel points in the target area, so that the blood flow image can maintain a good gradient sense when transitioning in the direction of the blood flow edge, thereby eliminating the jagged edges of the blood flow, making the blood flow edge smooth, and finally achieving a better ultrasonic color blood flow imaging effect.

[0214] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.

[0215] Example 3

[0216] Fig.15 This is a structural schematic diagram of an electronic device shown in an example embodiment of the present disclosure, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, the blood flow image processing method described in any of the above embodiments is implemented. Fig.15 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0217] like Fig.15As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).

[0218] The bus 93 includes a data bus, an address bus, and a control bus.

[0219] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .

[0220] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.

[0221] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the blood flow image processing method provided in any of the above embodiments.

[0222] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the electronic device 90 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 96. As shown, the network adapter 96 communicates with other modules of the electronic device 90 via a bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0223] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0224] Example 4

[0225] The embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for processing a blood flow image provided by any of the above embodiments is implemented.

[0226] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0227] Example 5

[0228] The embodiment of the present disclosure further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the blood flow image processing method described in any one of the above is implemented.

[0229] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0230] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims

1. A method for processing a blood flow image, characterized in that: The processing method comprises: Obtaining pixel information corresponding to pixel points in the blood flow image; Determine a boundary pixel point located at a blood flow boundary in the blood flow image according to the pixel information; Acquire a first pixel point set within a first preset range centered on the target boundary pixel point; Dividing the first pixel point set into a plurality of regions to determine the target region corresponding to the target boundary pixel point; The boundary pixel information of the target boundary pixel point is updated according to the pixel information of the boundary pixel point in the target area.

2. The method for processing blood flow images according to claim 1, characterized in that: The step of determining the boundary pixel points located at the blood flow boundary in the blood flow image according to the pixel information includes: Determine a second pixel point set within a second preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the second pixel point set; in response to the presence of a pixel point in the second pixel point set whose absolute value of the blood flow velocity is less than or equal to a velocity threshold, determine the target pixel point to be the boundary pixel point located at the boundary of normal blood flow; or, determine a third pixel point set within a third preset range centered on the target pixel point, and obtain the blood flow energy of each pixel point in the third pixel point set; in response to the presence of a pixel point in the third pixel point set whose blood flow energy is less than or equal to an energy threshold, determine the target pixel point to be the boundary pixel point located at the boundary of normal blood flow; and / or, Determine a fourth pixel point set within a fourth preset range centered on the target pixel point, and obtain the blood flow velocity of each pixel point in the fourth pixel point set; in response to the absolute value of the difference in blood flow velocity between the target pixel point and a reference pixel point in the fourth pixel point set being greater than or equal to a difference threshold, determine that the target pixel point is the boundary pixel point located at the aliased blood flow boundary.

3. The method for processing blood flow images according to claim 1, characterized in that: The dividing the first pixel point set into a plurality of regions to determine the target region corresponding to the target boundary pixel point includes: Dividing the first pixel point set into a plurality of regions; The number of the boundary pixel points in each of the regions is determined, and the region whose number meets a preset condition is used as the target region.

4. The method for processing blood flow images according to claim 3, characterized in that: The determining the number of the boundary pixels in each of the regions and taking the region whose number meets a preset condition as the target region includes: In response to the existence of only the number of the areas meeting the preset condition, taking the number of the areas meeting the preset condition as the target areas; and / or, In response to the existence of more than two areas that meet the preset conditions, any one of the areas that meet the preset conditions is randomly selected as the target area, or the first preset range is expanded and the target area is determined according to the expanded first preset range.

5. The method for processing blood flow images according to claim 1, characterized in that: The updating of the boundary pixel information of the target boundary pixel point according to the pixel information of the boundary pixel point in the target area comprises: According to the pixel information of the boundary pixel points in the target area, and based on the weights of the boundary pixel points in the target area, a weighted average calculation is performed to obtain the boundary pixel information for updating; The distance between the boundary pixel point and the target boundary pixel point is negatively correlated with the weight.

6. The method for processing blood flow images according to claim 1, characterized in that: The processing method also includes: Determine the overflow coefficient based on the boundary pixel information and in combination with the tissue grayscale; the overflow coefficient is used to characterize the possibility that the target boundary pixel point belongs to the overflow blood flow, and the smaller the coefficient, the lower the possibility; In response to the spillover coefficient being greater than or equal to a coefficient threshold, setting the blood flow velocity in the boundary pixel information to zero; and / or, In response to the overflow coefficient being less than the coefficient threshold, a correction coefficient is determined according to the tissue grayscale, and the blood flow velocity in the boundary pixel information is corrected based on the correction coefficient.

7. The method for processing blood flow images according to claim 6, characterized in that: The step of determining the correction coefficient according to the tissue grayscale and correcting the blood flow velocity in the boundary pixel information based on the correction coefficient includes: Calculating the gear function values ​​corresponding to a plurality of modified gear coefficients respectively through the preset gear function in sequence; The modified gear coefficient corresponding to the minimum value of the gear function value is used as the correction coefficient; The blood flow velocity in the boundary pixel information is corrected according to the correction coefficient and based on the tissue grayscale.

8. The method for processing blood flow images according to claim 7, characterized in that: The preset gear function is as follows: k = |(G / 255)-A|; Wherein, k is the gear function value, G is the tissue grayscale, A is the correction gear coefficient, and 0≤A≤1; and / or, The correction of the blood flow velocity in the boundary pixel information according to the correction coefficient and based on the tissue grayscale is achieved by the following formula: V final =G*a+V new *(1-a); Wherein, a is the correction coefficient, G is the tissue grayscale, V final is the blood flow velocity in the corrected boundary pixel information, V new is the blood flow velocity in the boundary pixel information before correction.

9. A blood flow image processing system, characterized in that: The processing system comprises: A first acquisition module, used to acquire pixel information corresponding to a pixel point in a blood flow image; A determination module, used to determine a boundary pixel point located at a blood flow boundary in the blood flow image according to the pixel information; A second acquisition module is used to acquire a first pixel point set within a first preset range centered on a target boundary pixel point; A region division module, used for dividing the first pixel point set into a plurality of regions to determine a target region corresponding to the target boundary pixel point; An updating module is used to update the boundary pixel information of the target boundary pixel point according to the pixel information of the boundary pixel point in the target area.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for processing a blood flow image according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Ultrasonic color blood flow imaging boundary processing method and system

    CN105708495A