Ultrasonic contrast imaging image recognition method, system, electronic device and storage medium
Through technical means such as binary processing and median filtering of ultrasound images, contrast images are automatically identified and filtered, which solves the problem of low recognition efficiency of ultrasound contrast images in the existing technology, achieves efficient image recognition and fusion, and improves Improve the physician's work efficiency and analysis accuracy.
Patent Information
- Application Number
- CN202310537978.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-05-15
AI Technical Summary
The recognition efficiency of existing contrast-enhanced ultrasound images is low, and doctors need to manually select and analyze them, which increases the burden of image reading.
By performing binarization processing, median filtering and corrosion expansion operations on ultrasound images, using the connected domain search method to determine the image type, filtering out non-contrast, single and double contrast images, and performing grayscale processing and template matching, we can achieve Automatic recognition and fusion of images.
It improves the recognition efficiency of contrast-enhanced ultrasound images, reduces the physician's reading burden, realizes automated image screening and fusion, and improves analysis efficiency and accuracy.
Smart Images

Figure CN116630256B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ultrasonic image recognition, and in particular to an ultrasonic contrast image recognition method, system, electronic equipment and storage medium. Background Art
[0002] Ultrasound imaging technology has the advantages of convenience, no radiation, and low cost. It is one of the most commonly used imaging examination methods. With the development of ultrasound technology, multiple technologies including Doppler color ultrasound, ultrasound elastography, and ultrasound angiography have been widely used in the examination of lesions. Among them, ultrasound angiography is a technology that injects ultrasound contrast agents into blood vessels and uses the formed microbubbles to enhance the resolution of ultrasound. Ultrasound angiography is relatively safe and can monitor blood perfusion in real time and dynamically, which provides great help in the examination of cardiovascular diseases and tumor-related diseases.
[0003] Ultrasound image data is mostly stored in the basic unit of the examinee, and is not retrieved according to the specific type of image. Therefore, users need to manually select the type of ultrasound examination that needs to be read, and do further positioning and analysis. This process is inefficient and increases the burden on doctors to read the images. Summary of the invention
[0004] The purpose of the present invention is to provide an ultrasound contrast imaging image recognition method, system, electronic equipment and storage medium to improve the efficiency of ultrasound contrast imaging recognition.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] An ultrasound contrast imaging image recognition method, comprising:
[0007] Acquiring ultrasound images;
[0008] Binarizing the ultrasonic image to obtain a binary image;
[0009] Performing median filtering and erosion dilation operations on the binary image to obtain an ultrasound contrast connected domain;
[0010] The image type is determined according to the ultrasound contrast connected domain using a connected domain search method; the image types include non-contrast images, single-frame contrast images and double-frame contrast images.
[0011] Optionally, binarizing the ultrasound image to obtain a binarized image specifically includes:
[0012] The ultrasound image is binarized using the HSV color space to obtain a binarized image.
[0013] Optionally, performing median filtering and erosion dilation operations on the binary image to obtain an ultrasound contrast connected domain specifically includes:
[0014] Performing median filtering on the binary image to obtain a denoised image;
[0015] The denoised image is subjected to multiple erosion operations and multiple dilation operations to obtain an ultrasound contrast connected domain.
[0016] Optionally, determining the image type by using a connected domain search method according to the ultrasound contrast imaging connected domain specifically includes:
[0017] Acquire the foreground connected domain with the largest area in the ultrasound contrast imaging connected domain;
[0018] Calculate the circumscribed rectangle of the foreground connected domain with the largest area;
[0019] The image type is determined according to the area and center point position of the circumscribed rectangle.
[0020] Optionally, after determining the image type by using a connected domain search method according to the ultrasound contrast imaging connected domain, the method further includes:
[0021] intercepting the circumscribed rectangular area in the ultrasonic image to obtain a contrast imaging area;
[0022] grayscale the ultrasound image and the contrast region, and set the intensity value of the contrast region of the ultrasound image to zero;
[0023] Using the grayscale contrast region as a template, calculating a normalized similarity coefficient in the ultrasound image using a template matching method;
[0024] The contrast region is superimposed on the grayscale ultrasound image according to the normalized similarity coefficient to obtain a fused image.
[0025] The present invention also provides an ultrasound contrast imaging image recognition system, comprising:
[0026] An acquisition module, used for acquiring an ultrasound image;
[0027] A binarization module, used for performing binarization processing on the ultrasound image to obtain a binarized image;
[0028] A median filtering and erosion dilation operation module is used to perform median filtering and erosion dilation operations on the binary image to obtain an ultrasound contrast connected domain;
[0029] The image type determination module is used to determine the image type according to the ultrasound contrast connected domain using a connected domain search method; the image types include non-contrast images, single-frame contrast images and double-frame contrast images.
[0030] Optionally, the binarization module specifically includes:
[0031] The binarization unit is used to perform binarization processing on the ultrasonic image using the HSV color space to obtain a binarized image.
[0032] Optionally, the median filtering and corrosion dilation operation module specifically includes:
[0033] A median filtering unit, used for performing median filtering on the binarized image to obtain a denoised image;
[0034] The erosion operation and dilation operation unit is used to perform multiple erosion operations and multiple dilation operations on the denoised image to obtain an ultrasound contrast connected domain.
[0035] The present invention also provides an electronic device, comprising:
[0036] one or more processors;
[0037] a storage device having one or more programs stored thereon;
[0038] When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the above-mentioned method.
[0039] The present invention also provides a storage medium on which a computer program is stored, wherein the computer program implements the above method when executed by a processor.
[0040] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0041] The present invention obtains an ultrasonic image; performs binarization processing on the ultrasonic image to obtain a binarized image; performs median filtering and corrosion expansion operations on the binarized image to obtain an ultrasonic contrast connected domain; and determines the image type according to the ultrasonic contrast connected domain using a connected domain search method; the image types include non-contrast images, single-frame contrast images, and double-frame contrast images. The contrast image is screened out from an image data set containing various types of ultrasonic images, thereby improving the recognition efficiency of the ultrasonic contrast image. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 These are examples of various types of ultrasound images;
[0044] Figure 2 is the ultrasound contrast image after binarization;
[0045] Figure 3 This is the image after median filtering and corrosion dilation operations;
[0046] Figure 4 Illustration of non-contrast image judgment Figure 1 ;
[0047] Figure 5 Illustration of non-contrast image judgment Figure 2 ;
[0048] Figure 6 It is a schematic diagram for judging a single angiography image;
[0049] Figure 7 It is a schematic diagram for judging double contrast images;
[0050] Figure 8 Schematic diagram of positioning, extracting and graying the contrast image;
[0051] Fig. 9 It is a grayscale contrast image and a schematic diagram of the contrast area coverage;
[0052] Fig.10 This is a schematic diagram of the grayscale ultrasound area of the contrast image;
[0053] Fig.11 It is a schematic diagram of an ultrasound contrast imaging image recognition method;
[0054] Fig.12 This is a flow chart of the ultrasound contrast imaging image recognition method provided by the present invention. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] The purpose of the present invention is to provide an ultrasound contrast imaging image recognition method, system, electronic equipment and storage medium to improve the efficiency of ultrasound contrast imaging recognition.
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0058] Ultrasound images include various forms of examinations, and the image types of two-dimensional ultrasound mainly include grayscale ultrasound images, Doppler color ultrasound images, elastic ultrasound imaging, and ultrasound contrast images. The ultimate goal of the present invention is to filter out ultrasound contrast images from image data sets containing various other types of two-dimensional ultrasound images, locate the position of contrast imaging information in the image, and further integrate it with ordinary grayscale ultrasound images to increase the efficiency and convenience of ultrasound physicians in reading films.
[0059] like Fig.11 and Fig.12 As shown, the present invention provides an ultrasound contrast imaging image recognition method, comprising:
[0060] Step 101: Acquire an ultrasound image. The types of ultrasound images are mainly as follows: Figure 1 The grayscale ultrasound image shown in (a) is Figure 1 The Doppler color ultrasound image shown in (b) Figure 1 Elastic ultrasound imaging shown in (c), and Figure 1 Ultrasound contrast imaging image shown in (d).
[0061] Step 102: binarizing the ultrasound image to obtain a binarized image.
[0062] Step 102 specifically includes: performing binarization processing on the ultrasound image using the HSV color space to obtain a binary image.
[0063] Specifically, in order to select ultrasound contrast images from a variety of ultrasound images, the images are first projected into the HSV color space, i.e.
[0064] V=max(B,G,R)
[0065]
[0066]
[0067] Among them, B, G, R represent the intensity of all pixels in the blue, green, and red channels of the original image, and H, S, and V are the values of the hue, saturation, and lightness channels of the converted image.
[0068] Then the image is binarized in the hsv color space, that is, any point in the image
[0069] Where h(i,j), s(i,j), v(i,j) are the values of the point in the h, s, and v channels respectively. Here t hlow The lower threshold of the h channel is 10, t hhigh The threshold value of h channel is 40, t slowThe lower threshold of the s channel is 40, t shigh The threshold value for the s channel is 255, t vlow The lower threshold of the v channel is 20, t vhigh The upper threshold of the v channel is 255, and the result is as follows Figure 2 shown.
[0070] Step 103: performing median filtering and erosion dilation operations on the binary image to obtain an ultrasound contrast connected domain.
[0071] Step 103 specifically includes: performing median filtering on the binary image to obtain a denoised image; performing multiple erosion operations and multiple dilation operations on the denoised image to obtain an ultrasound contrast connected domain.
[0072] Specifically, after obtaining the binary image, the median filter and erosion and dilation operation are used to obtain the ultrasound contrast connected area. First, the image is filtered using a 3x3 median filter, that is:
[0073] I(i,j) new =med{I(xk,yl) old ,(k,l∈K)}
[0074] Where I(i,j) new is the intensity value of each pixel in the processed image, I(xk,yl) old is the corresponding point I(x,y) in the old image old The intensity values of the surrounding k and l pixels, k and l are within the range of the kernel function K. Here, the kernel function uses a 3×3 matrix with all values 1, namely:
[0075]
[0076] Median filtering can remove point noise signals and obtain Figure 5 The denoised image:
[0077] For the binary image after median filtering, use 2 image erosion operations to remove small noise points in other areas, and then use 2 dilation operations to restore the size of the contrast area. Then use 3 dilation operations to increase the fusion degree of small connected domains in the contrast area, and then use 3 erosion operations to restore the original connected domain size. 2 The sets X and Y in Indicates using image Y as the convolution template to corrode image X. Here Y uses a 3×3 square convolution kernel, namely:
[0078]
[0079] Use the convolution kernel to scan the image, and for each point in the image, perform a single scan on the 3×3 area of the point and its surrounding 8 points. If there is a point with a value of 0 in the 3×3 area, the value of the point in the eroded image is set to 0.
[0080] Then use three expansion operations to restore the size of the working area. The expansion operation is for the two-dimensional space plane Z 2 The sets X and Y in It means that image Y is used as the convolution template to expand image X. Here, Y uses a 3×3 square convolution kernel, that is:
[0081]
[0082] Use the convolution kernel to scan the image. For each point in the image, a single scan is performed on the 3×3 area of the point and the 8 points around it. If there is a point with a value of 1 in the 3×3 area, the value of the point in the expanded image is set to 1. The result is as follows: Figure 3 shown.
[0083] Step 104: Determine the image type according to the ultrasound contrast-enhanced connected domain using a connected domain search method; the image types include non-contrast images, single-frame contrast images, and double-frame contrast images.
[0084] Step 104 specifically includes: obtaining the largest foreground connected domain in the ultrasound contrast imaging connected domain; calculating the bounding rectangle of the largest foreground connected domain; and determining the image type according to the area and center point position of the bounding rectangle.
[0085] Specifically, after the above preprocessing operation, the potential contrast area is located by the connected domain search method, and according to the size and position of the connected domain, it is determined whether the image is a contrast image, and whether the image is a single contrast image or a double image. In the present invention, the 8-domain connected domain is located in the binary image after noise reduction, and the foreground connected domain with the largest area is obtained. The bounding rectangle of the largest foreground connected domain is calculated, and the area S of the bounding rectangle is obtained. rect and the center point position (x rect ,y rect ), and according to the original ultrasound image width w image and the image height h image Calculate the area S image , determine whether the current image is a contrast image, and whether it is a double-frame contrast image or a single-frame contrast image according to the following conditions:
[0086] S rect <t CEUS S image →Non-contrast images
[0087] S rect ≥tCEUS S image AND t l_min w image ≤x rect ≤t l_max w image
[0088] →Single contrast image
[0089] S rect ≥t CEUS S image AND(x rect ≤t l_min w image OxY rect ≥t l_max w image →Dual contrast images
[0090] Here t CEUS The threshold coefficient for the contrast area is 0.25, t l_min The lower limit of the contrast width threshold coefficient is 0.4, t l_max The upper limit of the contrast width threshold coefficient is 0.6. Figures 4 to 7 As shown, Figure 4 Medium S rect =410<0.25*750*620, which is a non-contrast image. Figure 5 Medium S rect =6142<0.25*750*620, which is a non-contrast image. Figure 6 In, S rect =439067>0.25*750*620, belongs to ultrasound contrast imaging, 0.4*750 <x rect =366<0.6*750, belongs to a single ultrasound contrast image, Figure 7 Medium S rect =288300>0.25*950*620, belongs to ultrasound contrast imaging, x rect =232<0.4*950, which belongs to double-amplitude ultrasound contrast image.
[0091] After step 104, the method further includes: intercepting the circumscribed rectangular area in the ultrasound image to obtain a contrast area; graying the ultrasound image and the contrast area, and setting the intensity value of the contrast area of the ultrasound image to zero; using the grayed contrast area as a template, calculating a normalized similarity coefficient in the ultrasound image using a template matching method; and superimposing the contrast area on the grayed ultrasound image according to the normalized similarity coefficient to obtain a fused image.
[0092] Specifically, for the double-frame image, the present invention further locates the contrast imaging display area, locates and matches the corresponding grayscale ultrasound area, and performs fusion to assist the doctor in further analyzing the contrast ultrasound image. First, according to the aforementioned maximum foreground connected domain, the position of the connected domain circumscribed rectangle Rect(x o ,y o ,w o ,h o ), where Rect is the enclosing rectangle, x o ,y o , w o ,h o The upper left corner horizontal coordinate, upper left corner vertical coordinate, width and height of the rectangle are respectively. The circumscribed rectangular area is intercepted from the original image, and then the image is converted into a grayscale image, that is, for any pixel in the image: I G =t B I B +t G I G +t R I R . Among them I B is the intensity value of the pixel in the blue channel, I G is the intensity value of the pixel in the green channel, I R is the intensity value of the pixel in the red channel, {t B ,t G ,t R} is a set of blue, green and red channel color conversion coefficients, which are set as {t R =0.2989,t G =0.5870,t B =0.1140}, I G is the final intensity value of the pixel in the grayscale image, the effect is as follows Figure 8 As shown. Among them, Figure 8 (a) in the figure is the contrast area identified in the original image, specifically the rectangular frame area. Figure 8 (b) in the figure is the image of the cut-off contrast area. Figure 8 (c) in the figure is a grayscale image of the cut-out contrast area.
[0093] The original contrast image is grayed out and the intensity value of the contrast image position is set to 0, that is,
[0094]
[0095] like Fig. 9 Then, the grayscaled contrast image is used as a template, and the template matching algorithm is used in the entire domain of the original contrast image, that is, the template and the original image are overlapped at the upper left corner, and the normalized similarity coefficient R is calculated. sim, then move one pixel to the right, calculate the similarity coefficient again until the right boundary, then move one pixel down and start moving to the left, where:
[0096]
[0097] Among them, T(x0,y0) is the pixel intensity value at position (x0,y0) on template T, and I(x+x0,y+y0) is the pixel intensity value at the position corresponding to position (x0,y0) on the original image I after moving x and y pixels. Let x and y traverse each pixel in the image to obtain the corresponding R sim Value, in the image R sim The largest pixel position is the best matching position. The pixel coordinates (x, y) at this time are the upper left coordinates of the grayscale image position corresponding to the contrast area. Finally, the original contrast area is superimposed on the corresponding grayscale ultrasound image to form a fused image. The effect is as follows: Fig.10 As shown. Among them, Fig.10 (a) in the figure is the grayscale ultrasound area matched in the original image, specifically the rectangular frame area. Fig.10 (b) in the figure is a fusion image of the contrast image and the grayscale ultrasound image.
[0098] The present invention also provides an ultrasound contrast imaging image recognition system, comprising:
[0099] The acquisition module is used to acquire ultrasound images.
[0100] The binarization module is used to perform binarization processing on the ultrasound image to obtain a binarized image.
[0101] The median filtering and erosion dilation operation module is used to perform median filtering and erosion dilation operations on the binary image to obtain an ultrasound contrast connected domain.
[0102] The image type determination module is used to determine the image type according to the ultrasound contrast connected domain using a connected domain search method; the image types include non-contrast images, single-frame contrast images and double-frame contrast images.
[0103] As an optional implementation, the binarization module specifically includes:
[0104] The binarization unit is used to perform binarization processing on the ultrasonic image using the HSV color space to obtain a binarized image.
[0105] As an optional implementation, the median filtering and corrosion expansion operation module specifically includes:
[0106] The median filtering unit is used to perform median filtering on the binarized image to obtain a denoised image.
[0107] The erosion operation and dilation operation unit is used to perform multiple erosion operations and multiple dilation operations on the denoised image to obtain an ultrasound contrast connected domain.
[0108] The present invention also provides an electronic device, comprising:
[0109] One or more processors.
[0110] A storage device having one or more programs stored thereon.
[0111] When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the above-mentioned method.
[0112] The present invention also provides a storage medium on which a computer program is stored, wherein the computer program implements the above method when executed by a processor.
[0113] The present invention can screen out single-frame and double-frame ultrasound contrast images from ordinary ultrasound, Doppler color ultrasound images, ultrasound elastic imaging and other images, and locate and fuse the contrast part in the double-frame ultrasound contrast image, thereby improving the retrieval and reading efficiency of ultrasound-related workers. Through a variety of image processing technical methods, automated ultrasound contrast image recognition is realized. On an ordinary office computer, more than 20 ultrasound images can be screened within 1 second. The present invention can be used to sort large-scale ultrasound image databases, alleviate the burden of manual screening for ultrasound readers, and greatly improve the work efficiency of ultrasound physicians. The present invention can automatically realize the positioning, extraction and fusion of double-frame ultrasound contrast images, providing a convenient ultrasound contrast image reading method for physicians. The fusion image observation method increases the viewing angle of the physician on the contrast image, while improving the image analysis efficiency, it also potentially improves the accuracy of the analysis.
[0114] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0115] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for recognizing ultrasound contrast images, It is characterized in that include: Acquiring ultrasound images; Binarizing the ultrasonic image to obtain a binary image; Performing median filtering and erosion dilation operations on the binary image to obtain an ultrasound contrast connected domain; Determine the image type according to the ultrasound contrast-enhanced connected domain using a connected domain search method; the image type includes non-contrast images, single-frame contrast images, and double-frame contrast images, specifically including: Acquire the largest foreground connected domain in the ultrasound contrast imaging connected domain; calculate the bounding rectangle of the largest foreground connected domain; determine the image type according to the area and center point position of the bounding rectangle; Calculate the bounding rectangle of the largest foreground connected region and get the area of the bounding rectangle And the center point position , and according to the width of the original ultrasound image , Image Height Calculate area , determine whether the current image is a contrast image, and whether it is a double-frame contrast image or a single-frame contrast image according to the following conditions: ; ; ; in, is the contrast area threshold coefficient, which is 0.
25. is the lower limit of the contrast width threshold coefficient, which is 0.
4. is the upper limit of the contrast width threshold coefficient, which is 0.6; After determining that the image type is a double-frame contrast image by using a connected domain search method according to the ultrasound contrast connected domain, the method further includes: intercepting the circumscribed rectangular area in the double-frame contrast images to obtain a contrast area; grayscale the double-frame contrast images and the contrast region, and set the intensity value of the contrast region of the double-frame contrast images to zero; Using the grayscaled contrast region as a template, a normalized similarity coefficient is calculated in the double contrast images by using a template matching method; According to the normalized similarity coefficient, the contrast region is superimposed on the grayscale double contrast image to obtain a fused image, specifically: Determine the position of the circumscribed rectangle of the connected domain according to the maximum foreground connected domain ,in is the circumscribed rectangle, They are the upper left corner horizontal coordinate, upper left corner vertical coordinate, width, and height of the rectangle respectively; Using the template matching algorithm in the entire domain of the double-frame angiography image, the template is overlapped with the double-frame angiography image at the upper left corner, and the normalized similarity coefficient is calculated. , then move one pixel to the right, calculate the similarity coefficient again until the right boundary, then move one pixel down and start moving to the left, where: ; in, is the pixel intensity value at position (x0, y0) on template T, The pixel intensity value of the position after moving x, y pixels corresponding to the position (x0, y0) on the double contrast image I, so that x, y traverse each pixel in the image, and obtain the corresponding Value, in the image The largest pixel position is the best matching position, and the pixel coordinate (x, y) at this time is the upper left coordinate of the position of the grayscale double-frame contrast image corresponding to the contrast area; The contrast area is superimposed on the corresponding grayscale double-frame contrast image to form a fused image.
2. The ultrasound contrast imaging method according to claim 1, It is characterized in that Binarizing the ultrasound image to obtain a binary image specifically includes: The ultrasound image is binarized using the HSV color space to obtain a binarized image.
3. The ultrasound contrast imaging method according to claim 1, It is characterized in that The binary image is subjected to median filtering and corrosion dilation operations to obtain an ultrasound contrast connected domain, specifically comprising: Performing median filtering on the binary image to obtain a denoised image; The denoised image is subjected to multiple erosion operations and multiple dilation operations to obtain an ultrasound contrast connected domain.
4. An ultrasound contrast imaging image recognition system, It is characterized in that include: An acquisition module, used for acquiring an ultrasound image; A binarization module, used for performing binarization processing on the ultrasound image to obtain a binarized image; A median filtering and erosion dilation operation module is used to perform median filtering and erosion dilation operations on the binary image to obtain an ultrasound contrast connected domain; An image type determination module is used to determine the image type according to the ultrasound contrast connected domain using a connected domain search method; the image types include non-contrast images, single-frame contrast images, and double-frame contrast images, specifically including: Acquire the largest foreground connected domain in the ultrasound contrast imaging connected domain; calculate the bounding rectangle of the largest foreground connected domain; determine the image type according to the area and center point position of the bounding rectangle; Calculate the bounding rectangle of the largest foreground connected region and get the area of the bounding rectangle And the center point position , and according to the width of the original ultrasound image , Image Height Calculate area , determine whether the current image is a contrast image, and whether it is a double-frame contrast image or a single-frame contrast image according to the following conditions: ; ; ; in, is the contrast area threshold coefficient, which is 0.
25. is the lower limit of the contrast width threshold coefficient, which is 0.
4. is the upper limit of the contrast width threshold coefficient, which is 0.6; After determining that the image type is a double-frame contrast image by using a connected domain search method according to the ultrasound contrast connected domain, the method further includes: intercepting the circumscribed rectangular area in the double-frame contrast images to obtain a contrast area; grayscale the double-frame contrast images and the contrast region, and set the intensity value of the contrast region of the double-frame contrast images to zero; Using the grayscaled contrast region as a template, a normalized similarity coefficient is calculated in the double contrast images by using a template matching method; According to the normalized similarity coefficient, the contrast region is superimposed on the grayscale double contrast image to obtain a fused image, specifically: Determine the position of the circumscribed rectangle of the connected domain according to the maximum foreground connected domain ,in is the circumscribed rectangle, They are the upper left corner horizontal coordinate, upper left corner vertical coordinate, width, and height of the rectangle respectively; Using the template matching algorithm in the entire domain of the double-frame angiography image, the template is overlapped with the double-frame angiography image at the upper left corner, and the normalized similarity coefficient is calculated. , then move one pixel to the right, calculate the similarity coefficient again until the right boundary, then move one pixel down and start moving to the left, where: ; in, is the pixel intensity value at position (x0, y0) on template T, The pixel intensity value of the position after moving x, y pixels corresponding to the position (x0, y0) on the double contrast image I, so that x, y traverse each pixel in the image, and obtain the corresponding Value, in the image The largest pixel position is the best matching position, and the pixel coordinate (x, y) at this time is the upper left coordinate of the position of the grayscale double-frame contrast image corresponding to the contrast area; The contrast area is superimposed on the corresponding grayscale double-frame contrast image to form a fused image.
5. The ultrasound contrast imaging image recognition system according to claim 4, It is characterized in that The binarization module specifically includes: The binarization unit is used to perform binarization processing on the ultrasonic image using the HSV color space to obtain a binarized image.
6. The ultrasound contrast imaging image recognition system according to claim 4, It is characterized in that The median filtering and corrosion expansion operation module specifically includes: A median filtering unit, used for performing median filtering on the binarized image to obtain a denoised image; The erosion operation and dilation operation unit is used to perform multiple erosion operations and multiple dilation operations on the denoised image to obtain an ultrasound contrast connected domain.
7. An electronic device, It is characterized in that include: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 3.
8. A storage medium, It is characterized in that A computer program is stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
