Blood flow imaging method, device and equipment and storage medium

In ultrasonic blood flow imaging technology, by using preset triggering operations to enter the color blood flow imaging mode, automatically identify the blood vessel position and adjust the sampling frame, the problems of low blood flow image mapping efficiency and low imaging quality in the prior art are solved, and more efficient and higher quality blood flow imaging is achieved.

CN120203631APending Publication Date: 2025-06-27EDAN INSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311835733.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the existing ultrasonic blood flow imaging technology, the process of drawing blood flow images is low in efficiency and the imaging quality is not high, which depends on the user's high experience of manual operation.

Method used

By acquiring images in grayscale imaging mode, entering color blood flow imaging mode in response to preset triggering operations, automatically identifying the position of blood vessels and adjusting the position and direction of the sampling frame to display the blood flow image in real time.

Benefits of technology

It reduces manual operations, improves the working efficiency of the blood flow image drawing process, and significantly improves the imaging quality of the blood flow image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120203631A_ABST
    Figure CN120203631A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of blood flow imaging, and discloses a blood flow imaging method, device and equipment and a storage medium, and the blood flow imaging method comprises the following steps: in a gray imaging mode, obtaining a gray image; in response to a preset triggering operation, entering a color blood flow imaging mode, and displaying a sampling frame on the grayscale image; in the color blood flow imaging mode, the blood vessel position is recognized, and the position and direction of the sampling frame are adjusted according to the recognition result of the blood vessel position; in the sampling frame, the blood flow image is displayed in real time. According to the automatic blood flow imaging method, the working efficiency of the blood flow image mapping process is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of blood flow imaging, and particularly to a blood flow imaging method, device, equipment and storage medium. Background Art

[0002] At present, as one of the medical imaging technologies, ultrasonic medical imaging technology has been widely used. The working principle of ultrasonic medical imaging technology generally is to use an ultrasonic beam to scan the human body, and obtain an image of internal organs by receiving and processing the reflected signals. Taking blood flow imaging as an example, based on ultrasonic medical imaging technology, the two-dimensional plane distribution state of blood flow can be quickly and intuitively displayed, which may specifically include information such as blood flow direction and blood flow magnitude. Before each blood flow imaging, it is necessary for the user to manually operate the ultrasonic equipment to obtain a blood flow image that meets the requirements; however, the process of manually operating the ultrasonic equipment requires high user experience and is time-consuming and laborious, resulting in low work efficiency in the process of obtaining the blood flow image, and often there is a problem that the imaging quality of the obtained blood flow image is not high. Summary of the Invention

[0003] In view of this, the present invention provides a blood flow imaging method, device, equipment and storage medium to solve the problems in the related technologies such as low work efficiency in the process of obtaining the blood flow image and easy occurrence of low imaging quality of the blood flow image.

[0004] In a first aspect, the present invention provides a blood flow imaging method, which includes:

[0005] Obtain a grayscale image in the grayscale imaging mode;

[0006] In response to a preset trigger operation, enter the color blood flow imaging mode, and display a sampling frame on the grayscale image;

[0007] In the color blood flow imaging mode, identify the blood vessel position, and adjust the position and direction of the sampling frame according to the identification result of the blood vessel position;

[0008] In the sampling frame, display the blood flow image in real time.

[0009] Based on the preset trigger operation, the present invention enters the color blood flow imaging mode, adjusts the position and direction of the sampling frame on the grayscale image in the color blood flow imaging mode, and displays the blood flow image in the sampling frame after the position and direction are adjusted; it can be seen that the whole blood flow imaging process of the blood flow imaging method provided by the present invention reduces manual operation, avoids the dependence on the user's experience of operating the ultrasonic equipment, greatly improves the work efficiency in the process of obtaining the blood flow image, and the automatic blood flow imaging method provided by the present invention can also significantly contribute to the improvement of the imaging quality of the blood flow image.

[0010] In an alternative embodiment, in the color flow imaging mode, identifying the blood vessel position includes:

[0011] In the color flow imaging mode, obtaining a blood flow image;

[0012] Identifying a blood flow region on the blood flow image, where the blood flow region is used to characterize the blood vessel position.

[0013] The present invention can also determine the blood vessel position in the blood flow image by identifying the blood flow region in the blood flow image. It can be seen that the present invention realizes the efficient identification of the blood vessel position in the color flow imaging mode.

[0014] In an alternative embodiment, adjusting the position and direction of the sampling frame according to the identification result of the blood vessel position includes:

[0015] Determining the center point coordinates of the blood flow region and the first extension direction of the blood flow region, where the identification result includes the center point coordinates and the first extension direction of the blood flow region;

[0016] Adjusting the center point coordinates of the sampling frame to the center point coordinates of the blood flow region, and setting the direction of the sampling frame to the second extension direction corresponding to the first extension direction, where the second extension direction is used to characterize the ultrasonic wave emission direction.

[0017] The present invention can automatically set the position and direction of the sampling frame, thereby significantly improving the doctor's operation efficiency and reducing the doctor's operation difficulty.

[0018] In an alternative embodiment, determining the center point coordinates of the blood flow region and the first extension direction of the blood flow region includes:

[0019] Fitting the boundary line of the blood flow region into an ellipse;

[0020] Determining the center point coordinates of the ellipse, and determining the angle between the major axis direction of the ellipse and the horizontal direction;

[0021] Determining the center point coordinates of the ellipse as the center point coordinates of the blood flow region, and setting the first extension direction according to the angle and the blood flow direction information, where the blood flow direction information is determined based on the blood flow image obtained in the color flow imaging mode.

[0022] By simulating the blood flow region as an elliptical region, the present invention can effectively determine the center point coordinates of the ellipse and the direction of the major axis of the ellipse by using the characteristics of the ellipse, so as to more quickly and accurately determine the center point coordinates of the blood flow region and the first extension direction of the blood flow region.

[0023] In an alternative embodiment, determining the center point coordinates of the ellipse includes:

[0024] Determine the average abscissa and average ordinate of all pixel points within the blood flow region;

[0025] Use the average abscissa as the abscissa of the center point of the ellipse, and use the average ordinate as the ordinate of the center point of the ellipse.

[0026] Specifically, the present invention can use the coordinates of all pixel points within the blood flow region as the basis for determining the coordinates of the center point of the ellipse, and this method can help improve the accuracy and precision of ellipse fitting.

[0027] In an alternative embodiment, identifying the blood flow region on the blood flow image includes:

[0028] Perform image segmentation processing on the blood flow image to obtain multiple connected regions; the difference between the pixel values of adjacent pixel points within the connected region is less than a preset value;

[0029] Screen out the blood flow region from the multiple connected regions.

[0030] Based on the image segmentation method, the present invention can screen out the blood flow region faster and more accurately on the basis of determining multiple connected regions.

[0031] In an alternative embodiment, the preset trigger operation includes at least one of a key control operation, a voice control operation, and a gesture control operation; in response to the preset trigger operation, entering the color blood flow imaging mode includes:

[0032] In response to at least one of a key control operation, a voice control operation, and a gesture control operation, enter the color blood flow imaging mode.

[0033] The present invention can also activate the automatic blood flow imaging function based on one or more operation methods among the user's key control operation, voice control operation, and gesture control operation, so as to automatically provide the corresponding blood flow image for the user when the user needs to view the blood flow image.

[0034] In a second aspect, the present invention provides a blood flow imaging device, and the device includes:

[0035] An acquisition module, configured to acquire a grayscale image in the grayscale imaging mode;

[0036] A trigger module, configured to enter the color blood flow imaging mode in response to a preset trigger operation, and configured to display a sampling frame on the grayscale image;

[0037] An adjustment module, configured to identify the blood vessel position in the color blood flow imaging mode, and configured to adjust the position and orientation of the sampling frame according to the recognition result of the blood vessel position;

[0038] A display module, configured to display the blood flow image in real time within the sampling frame.

[0039] In a third aspect, the present invention provides an ultrasonic device, comprising: a memory, a processor and a display. The memory and the processor are communicatively connected to each other, and the display and the processor are communicatively connected to each other. Computer instructions are stored in the memory, and the processor executes the blood flow imaging method according to the first aspect or any corresponding embodiment thereof by executing the computer instructions. The display is used to display the blood flow image obtained based on the blood flow imaging method.

[0040] In a fourth aspect, the present invention provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the blood flow imaging method according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0042] Figure 1 is a schematic flowchart of the blood flow imaging method according to an embodiment of the present invention;

[0043] Figure 2 is a schematic flowchart of another blood flow imaging method according to an embodiment of the present invention;

[0044] Figure 3 is a schematic flowchart of yet another blood flow imaging method according to an embodiment of the present invention;

[0045] Figure 4 is a schematic diagram of the grayscale image obtained according to an embodiment of the present invention;

[0046] Figure 5 is a schematic diagram of the blood flow image obtained according to an embodiment of the present invention;

[0047] Figure 6 is a schematic diagram of the blood flow region extracted from the blood flow image according to an embodiment of the present invention;

[0048] Figure 7 is a schematic diagram of determining the center point coordinates and the first extension direction of the blood flow region on the blood flow region according to an embodiment of the present invention;

[0049] Figure 8 is a schematic diagram of setting a sampling frame on the blood flow image according to an embodiment of the present invention;

[0050] Figure 9 It is a schematic diagram of setting a sampling frame on a grayscale image and displaying a blood flow image according to an embodiment of the present invention;

[0051] Figure 10 It is a structural block diagram of a blood flow imaging device according to an embodiment of the present invention;

[0052] Figure 11 It is a schematic diagram of the hardware structure of an ultrasonic device according to an embodiment of the present invention. Detailed implementation manners

[0053] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0054] In the practical application of blood flow imaging based on ultrasonic medical imaging technology, a user (taking a doctor as an example) will manually adjust relevant parameters according to the currently concerned target (such as a blood flow area). For example, the sampling frame is moved to the target position by means of a mouse or a joystick, and then the probe emission angle is adjusted through a button according to the blood flow imaging result or clinical experience, so as to obtain a relatively complete blood flow image. The above process is generally referred to as the blood flow image plotting process. Every time a doctor plots a graph, the above process and parameters need to be manually adjusted again. Specifically, the position of the sampling frame and the ultrasonic emission angle need to be manually adjusted according to clinical experience. The manual adjustment process increases the workload of the doctor and reduces the work efficiency. Especially for doctors with insufficient experience, if the blood vessels are misidentified, even if the position of the sampling frame is adjusted, a blood flow image is often not obtained or the obtained blood flow image is incomplete. Therefore, the blood flow imaging process of related technologies is relatively cumbersome, time-consuming and laborious, prone to operation errors, and prone to problems of low imaging quality of blood flow images, which will affect the accuracy of the diagnosis result and urgently need to be solved.

[0055] According to an embodiment of the present invention, an embodiment of a blood flow imaging method is provided. The blood flow imaging (Color Doppler imaging) involved in the present invention is an ultrasonic detection technology based on the Doppler effect and can be used to detect and display blood flow information. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from that here.

[0056] In this embodiment, a blood flow imaging method is provided, which can be specifically used in an ultrasound device. Figure 1 It is a flowchart of the blood flow imaging method according to an embodiment of the present invention. As Figure 1 shown, this process includes the following steps:

[0057] Step S101, in the grayscale imaging mode, obtain a grayscale image.

[0058] Among them, the ultrasound image is collected by an ultrasound probe. The ultrasound device connected to the ultrasound probe controls the ultrasound probe to collect the ultrasound image in the grayscale imaging mode. The ultrasound image collected in this embodiment is a grayscale image.

[0059] Specifically, in this embodiment, the ultrasound probe is controlled to emit ultrasonic waves to the target area (i.e., the preset part, such as an artery, vein, heart, etc., the part to be examined) of the object to be measured, and receive the ultrasonic waves returned from the target area to obtain an echo signal, and process the echo signal to obtain an ultrasound image. Among them, the above process of processing the echo signal may include a front-end processing process and a post-processing process. The front-end processing process includes but is not limited to time gain compensation, analog-to-digital conversion, beam synthesis, demodulation, filtering, envelope extraction, logarithmic compression, etc. The post-processing process includes but is not limited to gain control, dynamic range compression, and coordinate transformation, etc.

[0060] As Figure 4 shown, a certain grayscale image (or can be called a B-mode image or a two-dimensional image) in a group of grayscale images collected by the ultrasound probe is shown.

[0061] Step S102, in response to a preset trigger operation, enter the color blood flow imaging mode and display a sampling frame on the grayscale image.

[0062] Specifically, after the ultrasound device enters the color blood flow imaging mode, it collects the blood flow image. In this embodiment, the collected ultrasound image is a blood flow image.

[0063] As Figure 5 shown, a certain blood flow image (or can be called a Doppler blood flow image or a C-mode image) in a group of blood flow images collected by the ultrasound probe is shown. This blood flow image corresponds to the Figure 4 grayscale image. Specifically, while collecting the blood flow image information, the blood flow direction information is obtained. The blood flow direction information can include two types. One is the first direction information in which the blood flow flows towards the ultrasound probe, and the other is the second direction information in which the blood flow flows away from the ultrasound probe.

[0064] In this embodiment, the blood flow image is specifically a blood flow rate image, or the blood flow image is specifically a blood flow power image.

[0065] Step S103: In the color flow imaging mode, identify the blood vessel position and adjust the position and orientation of the sampling frame according to the identification result of the blood vessel position.

[0066] In this embodiment, the adjusted sampling frame can enclose the blood flow area.

[0067] As Figure 8 shown, a schematic diagram of the sampling frame set on the basis of the blood flow area shown in this embodiment is presented. Figure 6

[0068] Among them, the sampling frame involved in this embodiment refers to a small window or rectangular area that can move on the blood flow image, used to select specific pixels from the blood flow image for further processing or analysis.

[0069] Step S104: In the sampling frame, display the blood flow image in real time.

[0070] Specifically, the blood flow image displayed in this embodiment in the sampling frame is a real-time blood flow image.

[0071] As Figure 9 shown, based on the grayscale image in this embodiment and the sampling frame in Figure 4 , a sampling frame set on the grayscale image in Figure 8 and the blood flow image displayed in the sampling frame are presented. Figure 4

[0072] By default, the sampling frame can be set in the center of the entire grayscale image. The process of adjusting the sampling frame on the grayscale image in this embodiment can be a process in which the sampling frame moves from the center of the grayscale image to the position where the blood flow area is located.

[0073] In this embodiment, the blood flow image is specifically a blood flow rate image, or the blood flow image is specifically a blood flow power image.

[0074] Among them, the sampling frame involved in this embodiment refers to a small window or rectangular area that can move on the grayscale image, used to select specific pixels from the grayscale image for further processing or analysis.

[0075] Combined with Figure 9 shown, the real-time blood flow image displayed in this embodiment is within the sampling frame, and at the same time, there is a small part of the grayscale image within the sampling frame. This small part of the grayscale image surrounds the blood flow area on all sides, and the real-time blood flow image is generally in the center of the sampling frame.

[0076] ​​This embodiment can accurately display the function of the blood flow image on the target area corresponding to the blood flow area in the grayscale image, so as to achieve the purpose of providing automatic blood flow imaging function with reduced or even avoided manual operation by doctors and other purposes.

[0077] The embodiment of the present invention enters the color blood flow imaging mode based on a preset trigger operation. In the color blood flow imaging mode, the position and direction of the sampling frame are adjusted on the grayscale image, and the blood flow image is displayed within the sampling frame after the position and direction are adjusted; therefore, during the entire blood flow imaging process of the blood flow imaging method provided in this embodiment, manual operation is reduced, effectively avoiding the dependence on the user's experience in operating the ultrasonic device, greatly improving the work efficiency of the process of printing the blood flow image, and the automatic blood flow imaging method provided by the present invention can also significantly contribute to the improvement of the imaging quality of the blood flow image.

[0078] In this embodiment, a blood flow imaging method is provided, which can be specifically used for ultrasonic devices. Figure 2 It is a flowchart of the blood flow imaging method according to the embodiment of the present invention, as Figure 2 shown, and this process includes the following steps:

[0079] Step S201, in the grayscale imaging mode, obtain a grayscale image. For details, please refer to Figure 1 step S101 of the embodiment shown, which will not be elaborated here.

[0080] Step S202, in response to at least one of a key control operation, a voice control operation, and a gesture control operation, enter the color blood flow imaging mode.

[0081] In some optional embodiments, the preset trigger operation includes at least one of a key control operation, a voice control operation, and a gesture control operation.

[0082] Specifically, the trigger operation is specifically used to represent the control information input or issued by the doctor. By responding to the user's trigger operation, the automatic blood flow imaging function is executed, that is, the subsequent steps are executed. One or a combination of at least two of the key control operation, voice control operation, and gesture control operation in the embodiment of the present invention belongs to a preferred preset trigger operation, and the automatic blood flow imaging function is started through a one-key operation, voice operation, gesture operation, or a combination of at least two operation methods.

[0083] Taking the button control operation as an example, an automatic blood flow imaging button is set on the ultrasonic probe or the operation panel of the ultrasonic device, or a voice recognition device is set on the ultrasonic device, or a gesture recognition device is set on the ultrasonic device. When the doctor scans a blood vessel with the ultrasonic probe, the doctor presses the automatic blood flow imaging button or issues a preset voice command to the ultrasonic device or issues a preset gesture command to the ultrasonic device, and the automatic blood flow imaging function can be activated. It can be seen that the embodiment of the present invention can also activate the automatic blood flow imaging function based on the user's trigger operation, so as to automatically provide the corresponding blood flow image for the user when the user needs to view the blood flow image. For users such as doctors, the work efficiency can be effectively improved and the operation difficulty can be reduced.

[0084] Step S203, in the color blood flow imaging mode, identify the blood vessel position, and adjust the position and direction of the sampling frame according to the recognition result of the blood vessel position. For details, please refer to Figure 1 Step S103 of the embodiment shown, which will not be elaborated here.

[0085] Step S204, in the sampling frame, display the blood flow image in real time. For details, please refer to Figure 1 Step S104 of the embodiment shown, which will not be elaborated here.

[0086] In this embodiment, a blood flow imaging method is provided, which can be specifically used for ultrasonic devices. Figure 3 It is a flowchart of the blood flow imaging method according to the embodiment of the present invention. As Figure 3 shown, the process includes the following steps:

[0087] Step S301, in the gray-scale imaging mode, obtain a gray-scale image. For details, please refer to Figure 1 Step S101 of the embodiment shown, which will not be elaborated here.

[0088] Step S302, in response to a preset trigger operation, enter the color blood flow imaging mode, and display a sampling frame on the gray-scale image. For details, please refer to Figure 1 Step S102 of the embodiment shown, which will not be elaborated here.

[0089] Step S303, in the color blood flow imaging mode, identify the blood vessel position, and adjust the position and direction of the sampling frame according to the recognition result of the blood vessel position.

[0090] Specifically, in the color blood flow imaging mode, identifying the blood vessel position includes:

[0091] Step a1, in the color blood flow imaging mode, obtain a blood flow image;

[0092] Step a2, identify the blood flow area on the blood flow image, where the blood flow area is used to characterize the blood vessel position.

[0093] In some alternative embodiments, step a2 includes:

[0094] Step b1, perform image segmentation processing on the blood flow image to obtain multiple connected regions; the difference between the pixel values of adjacent pixel points within the connected region is less than a preset value.

[0095] Step b2, screen out the blood flow region from the multiple connected regions.

[0096] The process of blood flow region recognition and processing in this embodiment may include, but is not limited to, the process of segmenting, extracting, or recognizing the blood flow image, as long as the blood flow region can be obtained. Among them, the position of the blood flow region represents the blood vessel position.

[0097] As Figure 6 shown, the blood flow region (the white region in the figure) recognized in the blood flow image shown in this embodiment is shown. Figure 5

[0098] In some alternative embodiments, performing region recognition processing on the blood flow image to obtain the blood flow region includes: performing image segmentation processing on the blood flow image to obtain multiple connected regions, and screening out the blood flow region from the multiple connected regions; the difference between the pixel values of adjacent pixel points within the connected region is less than a preset value.

[0099] Among them, during the image segmentation processing, a binary algorithm (such as Otsu's method) can be used to segment the blood flow image: for example, compare the pixel value of each pixel point on the blood flow image with a preset threshold respectively, update the pixel points with pixel values greater than or equal to the preset threshold to bright points (set to 1), and update the pixel points with pixel values less than the preset threshold to dark points (set to 0), so as to filter out the influence of most noises and backgrounds, and multiple connected regions can be formed by adjacent bright points or dark points. Among them, the difference between the pixel values of adjacent bright points or dark points is less than a preset value. During the process of screening out the blood flow region from the multiple connected regions, the connected region with the largest area can be used as the blood flow region. Of course, this embodiment is not limited to this method. Based on the image segmentation method, the present invention can screen out the blood flow region faster and more accurately on the basis of determining multiple connected regions.

[0100] For recognizing the blood flow region from the blood flow image, the present invention can also be implemented by using a clustering algorithm, a region growing algorithm, or an artificial intelligence Unet (U-shaped network) model, and of course, it is not limited thereto.

[0101] ​Taking the region growing algorithm as an example, the region growing algorithm is an image processing technique which is used to group pixels with similarity to form regions in this embodiment. Specifically in implementation, it usually starts from a seed pixel, searches for pixels that meet a certain similarity condition in the neighborhood of the seed pixel, merges them into the same region, and continues this process until no more pixels can be merged, thereby segmenting the blood flow image into multiple connected regions. Taking the clustering algorithm as an example, the clustering algorithm is specifically an unsupervised learning method which divides pixel points into different classes or clusters according to the similarity between pixel points in this embodiment. During the clustering process, pixel points in the same group are similar to each other, while pixel points in different groups are different from each other, thus achieving purposes such as determining the blood flow region. Taking the artificial intelligence Unet model as an example, the Unet model is a deep learning model for image segmentation, especially for medical image segmentation. It has a symmetric encoder and decoder structure. The encoder gradually reduces the image resolution through convolution and pooling operations to extract image features, and the decoder gradually restores the image resolution through upsampling and transposed convolution operations to achieve pixel-level prediction. In this embodiment, the blood flow region can be specifically predicted on the blood flow image through the Unet model.

[0102] Specifically, adjusting the position and orientation of the sampling frame according to the recognition result of the blood vessel position includes:

[0103] Step S3031, determining the center point coordinates of the blood flow region and the first extension direction of the blood flow region, and the recognition result includes the center point coordinates and the first extension direction of the blood flow region.

[0104] In this embodiment, the blood flow region on the blood flow image is analyzed to obtain the center point coordinates of the blood flow region and the first extension direction of the blood flow region.

[0105] As Figure 7 shown, it shows the center point coordinates and the first extension direction schematically based on the blood flow region shown in this embodiment. Figure 6 shown in

[0106] In some optional implementation manners, the above step S3031 includes:

[0107] Step c1, fitting the boundary line of the blood flow region into an ellipse.

[0108] For the blood flow region segmented from the blood flow image, in this embodiment, the blood flow region is fitted into an elliptical region, and the elliptical fitting process can be implemented by an elliptical fitting algorithm. Specifically, first, parameters such as the center coordinates of the ellipse, the lengths of the major axis and the minor axis are initialized, and the initial values of these parameters can be set according to the actual situation; then iterative calculations are performed. In this embodiment, iterative calculations can be used to optimize the fitting result. In each iteration process, the distance from each pixel point on the blood flow region to the ellipse is calculated according to the current parameter values, and the average value of these distances is used as the current error; in this embodiment, it can be set that the calculation process can stop when certain termination conditions are met. For example, when the maximum number of iterations is reached or the error is less than a certain preset threshold; then the result is output, and the optimized elliptical parameters are output, which may include the center coordinates, the length of the major axis, the length of the minor axis, the direction of the major axis, the direction of the minor axis, etc.

[0109] Step c2, determine the coordinates of the center point of the ellipse, and determine the angle between the direction of the major axis of the ellipse and the horizontal direction.

[0110] Combined with Figure 7 As shown, the white area represents the blood flow region, the point in the middle of the white area represents the coordinates of the center point of the ellipse, and the direction of the line passing through the white area is the direction of the major axis of the ellipse. The horizontal direction in this embodiment is, for example, Figure 7 the direction from left to right in

[0111]

[0112] Step c3, determine the coordinates of the center point of the blood flow region as the coordinates of the center point of the ellipse, and set the first extension direction according to the angle and the blood flow orientation information. The blood flow orientation information is the blood flow direction information determined based on the blood flow image obtained in the color blood flow imaging mode. Combined with Figure 7 As shown, the direction indicated by the arrow represents the first extension direction. After determining the direction of the major axis of the ellipse or the angle between the direction of the major axis of the ellipse and the horizontal direction, the first extension direction of the blood flow region can be determined according to the blood flow orientation. The first extension direction is the direction of the straight line where the major axis is located and is consistent with the blood flow orientation.

[0113] The blood flow orientation information in this embodiment specifically includes the first orientation information and the second orientation information. The first orientation information is used to represent the blood flow orientation information in which the blood flow faces the ultrasonic probe, and the second orientation information is used to represent the blood flow orientation information in which the blood flow deviates from the ultrasonic probe.

[0114] In some alternative embodiments, determining the coordinates of the center point of the ellipse in step a2 above includes:

[0115] Step d1, determine the average value of the abscissas and the average value of the ordinates of all pixel points within the blood flow region.

[0116] In this embodiment, each pixel point within the blood flow region is traversed, and the mean value of the abscissas and the mean value of the ordinates of all pixel points within the blood flow region are calculated. It should be understood that the mean value of the abscissas and / or ordinates of all pixel points in this embodiment can be the arithmetic mean or the weighted mean. For the case of the weighted mean, this embodiment can set weights based on the importance degree of different pixel points within the blood flow region or their positions within the blood flow region, etc., so as to more reasonably determine the coordinates of the ellipse center point.

[0117] Step d2: Use the mean value of the abscissas as the abscissa of the ellipse center point and the mean value of the ordinates as the ordinate of the ellipse center point.

[0118] By determining the abscissa and ordinate of the ellipse center point, the determination of the ellipse center point is achieved.

[0119] This embodiment can use the coordinates of all pixel points within the blood flow region as the basis for determining the coordinates of the ellipse center point, making the similarity between the fitted ellipse region and the blood flow region higher. This method can help improve the accuracy and precision of ellipse fitting.

[0120] Step S3032: Adjust the center point coordinates of the sampling frame to the center point coordinates of the blood flow region, and set the direction of the sampling frame to the second extension direction corresponding to the first extension direction, where the second extension direction is used to represent the ultrasonic wave emission direction.

[0121] Among them, the process of setting the direction of the sampling frame is also the process of setting the ultrasonic wave emission direction. The automatic adjustment of the ultrasonic wave direction is manifested as the adjustment of the sampling frame direction on the image.

[0122] Specifically, in order to make the blood flow imaging effect within the sampling frame better, this embodiment requires the ultrasonic wave emission direction to form an acute angle (such as 60°) with the blood flow direction. Figure 9 The inside of the sampling frame shown in is specifically a parallelogram. The upper and lower two lines of the parallelogram are horizontal lines, and the left and right two lines represent the direction of the sampling frame. After determining the first extension direction of the blood flow region in this embodiment, the ultrasonic wave emission direction can be automatically adjusted, which can be manifested as the change in the angles of the left and right two lines of the parallelogram on the sampling frame. For example, assuming that the left and right two lines of the parallelogram are initially in the vertical state, if the first extension direction is rotated 30° clockwise relative to the horizontal direction, then the left and right two lines of the parallelogram are rotated 30° clockwise relative to the vertical direction, such as Figure 8 the first extension direction shown in ; of course, the specific implementation situation is not limited to this, and the purpose is to directly represent the ultrasonic wave emission direction through the direction of the sampling frame.

[0123] In this embodiment, by simulating the blood flow region as an elliptical region, the characteristics of the ellipse can be used to effectively determine the coordinates of the center point of the ellipse and the direction of the major axis of the ellipse, so as to more quickly and accurately determine the coordinates of the center point of the blood flow region and the first extension direction of the blood flow region.

[0124] Step S304: In the sampling frame, display the blood flow image in real time.

[0125] Compared with the related art where doctors need to manually move the sampling frame to the target position and manually adjust the angle of the sampling frame (i.e., the angle at which the probe emits ultrasonic waves), the blood flow imaging method provided in this embodiment can automatically identify information such as the position of the blood flow region and the blood flow direction. The present invention can achieve one-key positioning of the blood flow position and automatically set the position and direction of the sampling frame, greatly reducing the operation complexity of doctors, effectively improving the operation efficiency of doctors, and reducing the operation difficulty.

[0126] In this embodiment, a blood flow imaging device is also provided. This device is used to implement the above-mentioned embodiment and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0127] This embodiment provides a blood flow imaging device, as Figure 10 shown, including:

[0128] An acquisition module 1001, configured to acquire a grayscale image in the grayscale imaging mode.

[0129] A trigger module 1002, configured to enter the color blood flow imaging mode in response to a preset trigger operation, and configured to display a sampling frame on the grayscale image.

[0130] An adjustment module 1003, configured to identify the position of blood vessels in the color blood flow imaging mode, and configured to adjust the position and direction of the sampling frame according to the recognition result of the blood vessel position.

[0131] A display module 1004, configured to display the blood flow image in real time in the sampling frame.

[0132] In some alternative implementation manners, the adjustment module 1003 includes:

[0133] A blood flow image acquisition unit, configured to acquire a blood flow image in the color blood flow imaging mode;

[0134] A blood flow region recognition unit, configured to recognize the blood flow region on the blood flow image, where the blood flow region is used to represent the position of blood vessels.

[0135] In some alternative embodiments, the adjustment module 1003 further includes:

[0136] A coordinate and direction determination unit, configured to determine the center point coordinates of the blood flow region and the first extension direction of the blood flow region, and the recognition result includes the center point coordinates and the first extension direction of the blood flow region.

[0137] A coordinate and direction adjustment unit, configured to adjust the center point coordinates of the sampling frame to the center point coordinates of the blood flow region, and configured to set the direction of the sampling frame to the second extension direction corresponding to the first extension direction, where the second extension direction is used to represent the ultrasonic wave emission direction.

[0138] In some alternative embodiments, the coordinate and direction determination unit includes:

[0139] A fitting subunit, configured to fit the boundary line of the blood flow region into an ellipse.

[0140] A determination subunit, configured to determine the center point coordinates of the ellipse, and configured to determine the angle between the major axis direction of the ellipse and the horizontal direction.

[0141] A setting subunit, configured to determine the center point coordinates of the ellipse as the center point coordinates of the blood flow region, and configured to set the first extension direction according to the angle and the blood flow orientation information, where the blood flow orientation information is the blood flow direction information determined based on the blood flow image obtained in the color blood flow imaging mode.

[0142] In some alternative embodiments, the determination subunit includes:

[0143] A coordinate mean calculation subunit, configured to determine the abscissa mean and the ordinate mean of all pixel points within the blood flow region.

[0144] A center coordinate determination subunit, configured to use the abscissa mean as the abscissa of the ellipse center point, and configured to use the ordinate mean as the ordinate of the ellipse center point.

[0145] In some alternative embodiments, the blood flow region recognition unit includes:

[0146] A connected region recognition subunit, configured to perform image segmentation processing on the blood flow image to obtain a plurality of connected regions; the difference between the pixel values of adjacent pixel points within the connected region is less than a preset value.

[0147] A blood flow region determination subunit, configured to screen out the blood flow region from the plurality of connected regions.

[0148] In some alternative embodiments, the preset trigger operation includes at least one of a key control operation, a voice control operation, and a gesture control operation.

[0149] The trigger module 1002 is specifically configured to enter the color flow imaging mode in response to at least one of a key control operation, a voice control operation, and a gesture control operation.

[0150] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding foregoing embodiments, and will not be elaborated herein.

[0151] The blood flow imaging device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0152] An embodiment of the present invention may further provide an ultrasonic device having the above-mentioned Figure 10 shown blood flow imaging device.

[0153] Please refer to Figure 11 , Figure 11 which is a schematic structural diagram of an ultrasonic device provided by an alternative embodiment of the present invention. As Figure 11 shown, the ultrasonic device is communicatively connected to an ultrasonic probe to receive or acquire images collected by the ultrasonic probe (such as, for example, but not limited to, blood flow images, grayscale images, and blood flow images). The ultrasonic device and the ultrasonic probe together form an automatic blood flow imaging system. The ultrasonic device includes: one or more processors 10, a memory 20, a display 40, and an interface for connecting the various components, including a high-speed interface and a low-speed interface. The various components communicate with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the ultrasonic device, including instructions stored in the memory or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple ultrasonic devices can be connected, and each device provides some necessary operations (such as, for example, as a server array, a set of blade servers, or a multi-processor system). Figure 11 Taking one processor 10 as an example in

[0154] The processor 10 may be a central processing unit, a network processor, or a combination thereof. Among them, the processor 10 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The above-mentioned programmable logic device may be a complex programmable logic device, a field programmable gate array, a generic array logic, or any combination thereof.

[0155] Among them, the memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiments.

[0156] The memory 20 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the ultrasonic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the ultrasonic device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0157] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state drive; the memory 20 may also include a combination of the above types of memories.

[0158] The ultrasonic device further includes a communication interface 30 for the ultrasonic device to communicate with other devices or a communication network.

[0159] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiments is implemented.

[0160] Although embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A blood flow imaging method, characterized in that, Applied to an ultrasonic device, the method includes: In the grayscale imaging mode, obtaining a grayscale image; In response to a preset trigger operation, entering the color flow imaging mode and displaying a sampling frame on the grayscale image; In the color flow imaging mode, identifying the blood vessel position and adjusting the position and direction of the sampling frame according to the identification result of the blood vessel position; In the sampling frame, displaying a blood flow image in real time.

2. The method according to claim 1, wherein The identifying the blood vessel position in the color flow imaging mode includes: In the color flow imaging mode, obtaining a blood flow image; Identifying a blood flow area on the blood flow image, where the blood flow area is used to characterize the blood vessel position.

3. The method according to claim 2, wherein The adjusting the position and direction of the sampling frame according to the identification result of the blood vessel position includes: Determining the center point coordinates of the blood flow area and the first extension direction of the blood flow area, and the identification result includes the center point coordinates of the blood flow area and the first extension direction; Adjusting the center point coordinates of the sampling frame to the center point coordinates of the blood flow area and setting the direction of the sampling frame to the second extension direction corresponding to the first extension direction, where the second extension direction is used to characterize the ultrasonic wave emission direction.

4. The method according to claim 3, wherein The determining the center point coordinates of the blood flow area and the first extension direction of the blood flow area includes: Fitting the boundary line of the blood flow area into an ellipse; Determining the center point coordinates of the ellipse and determining the angle between the major axis direction of the ellipse and the horizontal direction; Determining the center point coordinates of the ellipse as the center point coordinates of the blood flow area and setting the first extension direction according to the angle and the blood flow orientation information, where the blood flow orientation information is the blood flow direction information determined based on the blood flow image obtained in the color flow imaging mode.

5. The method according to claim 4, wherein The determining the center point coordinates of the ellipse includes: Determining the average value of the abscissas and the average value of the ordinates of all pixel points in the blood flow area; Taking the average value of the abscissas as the abscissa of the center point of the ellipse and taking the average value of the ordinates as the ordinate of the center point of the ellipse.

6. The method according to any one of claims 2 to 5, characterized in that The identifying the blood flow area on the blood flow image includes: Performing image segmentation processing on the blood flow image to obtain a plurality of connected regions; the difference between the pixel values of adjacent pixel points within the connected regions is less than a preset value; Selecting the blood flow area from the plurality of connected regions.

7. The method according to any one of claims 1 to 5, characterized in that, The preset trigger operation includes at least one of a key control operation, a voice control operation, and a gesture control operation; the entering the color flow imaging mode in response to the preset trigger operation includes: In response to at least one of the key control operation, the voice control operation, and the gesture control operation, entering the color flow imaging mode.

8. A blood flow imaging device, characterized in that, The device includes: An acquisition module for obtaining a grayscale image in the grayscale imaging mode; A trigger module for entering the color flow imaging mode in response to a preset trigger operation and for displaying a sampling frame on the grayscale image; An adjustment module for identifying the blood vessel position in the color flow imaging mode and for adjusting the position and direction of the sampling frame according to the identification result of the blood vessel position; A display module for real-time displaying of a blood flow image within the sampling frame.

9. An ultrasonic device, characterized in that, Comprising: A memory, a processor, and a display. The memory and the processor are communicatively connected to each other, and the display and the processor are communicatively connected to each other. Computer instructions are stored in the memory. The processor executes the computer instructions to perform the blood flow imaging method according to any one of claims 1 to 7, and the display is used for displaying the blood flow image obtained based on the blood flow imaging method.

10. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to perform the blood flow imaging method according to any one of claims 1 to 7.