A method, device, equipment and storage medium for segmenting carotid artery ultrasound images
By calculating the similarity between the image features of the frame to be segmented and the previous frame and fusing them, the problem of low ultrasound image segmentation accuracy in the existing technology is solved, and higher segmentation accuracy and calculation efficiency are achieved.
Patent Information
- Application Number
- CN202310233722.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-03-10
AI Technical Summary
Existing ultrasound image segmentation algorithms ignore the content consistency between images in adjacent time series, resulting in low segmentation accuracy.
By calculating the similarity between the image features of the frame to be segmented and the previous frame, the fusion of continuous multi-frame image features is achieved, the encoder and decoder structures are used to extract and fuse the image features, and the final segmentation result is output.
The accuracy of carotid artery ultrasound image segmentation is improved, the continuity information of adjacent frame images is fully utilized, and the amount of calculation is reduced.
Smart Images

Figure CN116543147B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a method, device, equipment and storage medium for segmenting carotid artery ultrasound images. Background Art
[0002] Ultrasound imaging is a method of diagnosing the human body using ultrasound. Ultrasound has good resolution for human soft tissues, and can be imaged in real time, non-invasively and painlessly, so it plays an irreplaceable role in the field of medical diagnosis. Carotid artery ultrasound is an important part of ultrasound-specific examinations, which helps doctors analyze carotid artery vessels and identify plaques, intima-media thickening and other pathological features that are prone to cause cardiovascular and cerebrovascular diseases.
[0003] Ultrasound image segmentation is one of the most important basic tasks in the field of medical image analysis. It is of great significance for analyzing the content of each area in the image and guiding robot scanning. Some existing automatic segmentation algorithms use a single-frame two-dimensional image segmentation model, ignoring the consistency of content between images in adjacent time series, resulting in low segmentation accuracy. Summary of the invention
[0004] The purpose of this application is to propose a method, device, equipment and storage medium for segmenting carotid artery ultrasound images. The input is a number of continuous frame images, and the fusion of continuous multiple frame image features is achieved by calculating the similarity between the features of the frame to be segmented and the previous frame image.
[0005] The first aspect of the present application provides a method for segmenting a carotid artery ultrasound image, comprising:
[0006] Acquire sequential ultrasonic images, divide T consecutive ultrasonic images into a group, and amplify the ultrasonic images in the group in a preset manner; T is a positive integer greater than 1;
[0007] The amplified ultrasound image is input into the encoder structure, and image features are extracted for each frame of ultrasound image;
[0008] According to the similarity of image features between the ultrasound image to be segmented and its previous image, feature weighting is performed on the previous image, and the feature is fused with the image features of the image to be segmented, and the fused image features are output;
[0009] The final segmentation result is obtained according to the fused image features.
[0010] The second aspect of the present application provides a carotid artery ultrasound image segmentation device, comprising:
[0011] An acquisition module, used for acquiring a sequence of ultrasonic images, dividing T consecutive frames of ultrasonic images into a group, and amplifying the ultrasonic images in the group in a preset manner; T is a positive integer greater than 1;
[0012] An extraction module, used for inputting the amplified ultrasound image into the encoder structure and extracting image features for each frame of the ultrasound image;
[0013] An output module is used to perform feature weighting on the previous image according to the similarity of image features between the ultrasound image to be segmented and the previous image, fuse the features with the image features of the image to be segmented, and output the fused image features;
[0014] The segmentation module is used to obtain the final segmentation result according to the fused image features.
[0015] A third aspect of the present application provides an electronic device, including: a memory and one or more processors;
[0016] The memory is used to store one or more programs;
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the carotid artery ultrasound image segmentation method provided in any embodiment.
[0018] A fourth aspect of the present application provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used by a computer processor to implement a carotid artery ultrasound image segmentation method as provided in any embodiment.
[0019] Beneficial effects of the present invention:
[0020] The present application proposes a method, apparatus, device and storage medium for segmenting carotid artery ultrasound images, which obtain a plurality of continuous frames of images, and achieve fusion of the features of the continuous multiple frames of images by calculating the similarity between the image features of the ultrasound image to be segmented and the previous image, thereby improving the accuracy of carotid artery ultrasound image segmentation. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1A is a flow chart of a method for segmenting a carotid artery ultrasound image in an embodiment of the present application;
[0022] Figure 1B is a flow chart of a method for segmenting a carotid artery ultrasound image in an embodiment of the present application;
[0023] Figure 2 is another flow chart of the method for segmenting a carotid artery ultrasound image in an embodiment of the present application;
[0024] Figure 3 is another flow chart of the method for segmenting a carotid artery ultrasound image in an embodiment of the present application;
[0025] Figure 4 for Figure 1APrediction results of the middle carotid artery ultrasound image segmentation method;
[0026] Figure 5 for Figure 1A Another prediction result of the middle carotid artery ultrasound image segmentation method;
[0027] Figure 6 Schematic diagram of the structure of the carotid artery ultrasound image segmentation device in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0030] like Figure 1A and 1B As shown, the present application provides a method for segmenting a carotid artery ultrasound image, comprising:
[0031] S110, obtaining a sequence of ultrasonic images, dividing the continuous T-frame ultrasonic images into a group, and amplifying the ultrasonic images in the group in a preset manner; T is a positive integer greater than 1. In this embodiment, the ultrasonic image is acquired by collecting the ultrasonic probe on the neck of the human body. According to data amplification in this application, a group of images can be converted into multiple groups of images by random flipping, brightness contrast adjustment, artificial addition of Gaussian noise, etc., so that the amount of data can be expanded. This data processing method is widely used in application scenarios with limited data scale.
[0032] S120, input the amplified ultrasound image into the encoder structure, and extract image features for each frame of ultrasound image. In this embodiment, the encoder is used to encode the input data, thereby mapping the input data to a latent space with a lower dimension, and the decoder is used to map the encoded data in the latent space back to a high-dimensional space. For this task, the input data is several frames of images, and the encoder can be a deep neural network composed of a series of convolution kernels. By performing multiple stages of convolution on the image, redundant information can be filtered out from the image, and useful abstract features such as texture and structure can be extracted. This process is the feature extraction process of the image.
[0033] S130, according to the image feature similarity between the ultrasound image to be segmented and its previous image, feature weighting is performed on the previous image, and the image features are fused with the image features of the image to be segmented, and the fused image features are output. In this embodiment, the similarity between the image features can be calculated by multiplying two image features (matrices), and the matrix obtained after the multiplication is the feature similarity matrix, and then the process of multiplying the feature similarity matrix with the image features is weighting, and the fusion is to splice the weighted image features with the image features to be segmented in dimension to obtain an image feature matrix with a larger dimension.
[0034] S140: Obtain a final segmentation result according to the fused image features.
[0035] This embodiment proposes a method for segmenting a carotid artery ultrasound image, obtains a plurality of continuous frames of images, and achieves fusion of the features of the continuous multiple frames of images by calculating the similarity between the image features of the ultrasound image to be segmented and the previous image, thereby improving the accuracy of carotid artery ultrasound image segmentation.
[0036] like Figure 2 As shown, the acquisition of sequential ultrasound images, dividing the continuous T-frame ultrasound images into a group, and amplifying the ultrasound images in the group in a preset manner, includes:
[0037] S210, performing random brightness and contrast transformation on each frame of the continuous T-frame ultrasound image; or,
[0038] Considering that the gain change of ultrasound equipment during ultrasound imaging may cause different image brightness, contrast and noise intensity, each frame in the continuous T-frame ultrasound image is randomly transformed in brightness and contrast. The transformation formula is:
[0039] y=αx
[0040] y=x+β·mean(x)
[0041] Where x is the ultrasound image, α and β represent the contrast variation range and brightness variation range respectively. In the experiment, α is set to 0.9-1.1, β is set to -0.1-0.1, and mean() means to find the mean of all pixel values in the image;
[0042] S220 , introducing random Gaussian noise into each frame of the continuous T-frame ultrasound image, and updating the continuous T-frame ultrasound image.
[0043] Random Gaussian noise is introduced into each frame of the training image, and the transformation formula is:
[0044] x=x+Gauss(μ,σ 2 )
[0045] Where x is the ultrasound image, Gauss(μ,σ 2 ) is Gaussian noise, μ represents the noise mean, which is set to 0 in the experiment, and σ 2 Represents the noise variance, which is set to 10 to 30 in the experiment.
[0046] like Figure 3 As shown, the amplified ultrasound image is input into the encoder structure, and image features are extracted for each frame of ultrasound image respectively, including:
[0047] S310, extract multiple multi-scale features from the ultrasound image using the EfficientNetV2 detection model. The encoder is composed of EfficientNetv2 and Feature Pyramid Network (FPN), and defines the input continuous T frame images as [x1, x2, ..., x T ], where x1,x2,...,x T It can be understood as image features of different resolutions. For each input image x i ∈R H×W×3 , and use EfficientNetv2 to extract multiple (for example, four) multi-scale features, where multi-scale features are abstract image features at different resolutions:
[0048] [f i,1 ,f i,2 ,f i,3 ,f i,4 ]
[0049] S320: Utilize a feature pyramid model to fuse the plurality of multi-scale features in pairs, and mark the output features obtained after the fusion as the image features.
[0050] f i,j-1 =Conv(Concat(f i,j-1 ,Upsample(f i,j ))),i=1,2,3,4,j=2,3,4
[0051] Among them, Conv represents a single convolutional layer, Concat represents feature concatenation, and Upsample represents image upsampling.
[0052] The feature f after FPN processing i,1 (denoted as F i ) as image x i The encoder output features are then combined to form the output features of each image in the image sequence, expressed as [F L-k+1 ,...,F L-1 ,F L ].
[0053] Since the position of blood vessels in adjacent frames of ultrasound images only changes in a small range, in order to make full use of the continuity of image information in adjacent frames and reduce the amount of calculation, only the mutual attention between the image features in the frame to be segmented and the image features in the neighborhood range of the previous frame is calculated.
[0054] The process of segmentation based on the fused features is the function of the decoder. Specifically, the fused features are some low-dimensional abstract information containing information such as image texture structure. The decoding process of the decoder is to gradually restore these low-dimensional information to high dimensions through convolution and some upsampling operations, and finally become the segmentation result. The final segmentation result is a matrix with a value range of 0 to 1. After binarization with a threshold of 0.5, it can be saved as a binary image in the memory.
[0055] According to the similarity of image features between the ultrasound image to be segmented and its previous image, feature weighting is performed on the previous image, and the image features are fused with the image features of the image to be segmented, and the fused image features are outputted, including:
[0056] The image feature of the ultrasound image to be segmented is Q = F T ∈R H×W×d , the image feature of the previous image of the i-th frame is K i =F i ∈R H×W×d , then for any feature point Q in Q m,n ∈R 1×1×d , m=0,1,2,...,H-1,n=0,1,2,...,W-1The feature similarity with the previous image of the i-th frame is:
[0057]
[0058] in is the projection matrix, Indicates that the i-th frame is centered at (m,n) in the previous image and 2r i The length is 2s i is a rectangular area of width, where
[0059] r i =r0+scale r ×(Li),s i =s0+scale s ×(Li),i=L-k+1,...,L-1
[0060] The feature similarity between the feature points in the ultrasound image to be segmented and the i-th frame previous image is synthesized to obtain the feature similarity between the image feature of the ultrasound image to be segmented and the i-th frame previous image;
[0061] Among them, the output of the inter-frame attention module is
[0062]
[0063] According to the feature similarity between the image features of the ultrasound image to be segmented and the feature similarity between the i-th frame previous image, the image features of the i-th frame previous image and the ultrasound image to be segmented are fused to obtain fused image features.
[0064] The method of obtaining the final segmentation result according to the fused image features includes calculating the loss value type parameter of the segmentation region output layer using the following formula:
[0065]
[0066] where y i is the label value, y′ i is the predicted value, Ind(·) is the indicator function, max i,k (x i ) represents x i The largest k values in .
[0067] After fusion with the image to be segmented, it also includes the step of feature splicing, and its formula is:
[0068] F = concat(Q,M)
[0069] Among them, concat() represents the concatenation operation.
[0070] The output of the inter-frame attention module and the features of the Tth frame are fused and normalized to enhance the expressiveness of the features.
[0071] The splicing operation also includes processing the spliced features to obtain the final segmentation result.
[0072] Input into the segmentation head to obtain the segmentation output layer (logits), and then use the binary cross entropy loss Balanced BCE loss loss function and the loss function that measures the set similarity (Dice loss) to calculate the loss value of the segmentation area output layer logits and update the model parameters.
[0073] Dice loss is a loss function that measures the similarity of a set. Its formula is:
[0074]
[0075] Where |X| and |Y| represent the segmented GT and prediction results, respectively.
[0076] like Figure 4 and5 As shown, these two examples are the results of segmenting ultrasound images using the method described in the embodiments of the present application. The images in the left column are inputs, where three frames are input into the network as a group of images. The segmentation result output by the network is the segmentation result corresponding to the T-th frame input image, which is the image at the bottom of the right column. The different colored areas in the image represent the predicted segmentation results of different categories (red represents longitudinal arterial blood vessels, green represents transverse arterial blood vessels, blue represents venous blood vessels, and gray represents the inner and middle membrane), and the image at the top of the right column is manually labeled (GT). By comparing the predicted results and manual annotations in these two images, it can be seen that the segmentation accuracy of the method described in the embodiments of the present application is relatively high.
[0077] like Figure 6 As shown, the embodiment of the present application provides a carotid artery ultrasound image segmentation device, comprising:
[0078] The acquisition module 601 is used to acquire a sequence of ultrasonic images, divide T consecutive frames of ultrasonic images into a group, and amplify the ultrasonic images in the group in a preset manner; T is a positive integer greater than 1;
[0079] An extraction module 602 is used to input the amplified ultrasound image into the encoder structure and extract image features for each frame of the ultrasound image;
[0080] The output module 603 is used to perform feature weighting on the previous image according to the similarity of image features between the ultrasound image to be segmented and the previous image, fuse the features with the image features of the image to be segmented, and output the fused image features;
[0081] The segmentation module 604 is used to obtain a final segmentation result according to the fused image features.
[0082] The acquisition module 601 is used to randomly transform the brightness and contrast of each frame in the continuous T-frame ultrasound image; or,
[0083] A random Gaussian noise is introduced into each frame of the continuous T-frame ultrasound images, and the continuous T-frame ultrasound images are updated.
[0084] The extraction module 602 is used to extract multiple multi-scale features from the ultrasound image using the EfficientNetV2 detection model;
[0085] A plurality of the multi-scale features are fused in pairs using a feature pyramid model, and output features obtained after fusion are marked as the image features.
[0086] The output module 603 is used for:
[0087] The image feature of the ultrasound image to be segmented is Q = F T ∈R H×W×d , the image feature of the previous image of the i-th frame is K i =F i ∈R H×W×d , then for any feature point Q in Q m,n ∈R 1×1×d , m=0,1,2,...,H-1,n=0,1,2,...,W-1The feature similarity with the previous image of the i-th frame is:
[0088]
[0089] in is the projection matrix, Indicates that the i-th frame is centered at (m,n) in the previous image and 2r i The length is 2s i is a rectangular area of width, where
[0090] r i =r0+scale r ×(Li),s i =s0+scale s ×(Li),i=L-k+1,...,L-1
[0091] The feature similarity between the feature points in the ultrasound image to be segmented and the i-th frame previous image is synthesized to obtain the feature similarity between the image feature of the ultrasound image to be segmented and the i-th frame previous image;
[0092] According to the feature similarity between the image features of the ultrasound image to be segmented and the feature similarity between the i-th frame previous image, the image features of the i-th frame previous image and the ultrasound image to be segmented are fused to obtain fused image features.
[0093] The segmentation module is used to calculate the loss value type parameters of the output layer of the segmentation area using the following formula:
[0094]
[0095] where y i is the label value, y' i is the predicted value, Ind(·) is the indicator function, Represents x i The largest k values in .
[0096] The carotid artery ultrasonic image segmentation device provided in the embodiment of the present application can execute the carotid artery ultrasonic image segmentation method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
[0097] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the electronic device includes a processor 710, a memory 720, an input device 730, and an output device 740; the number of the processor 710 in the electronic device can be one or more. Figure 4 A processor 710 is taken as an example; the processor 710, the memory 720, the input device 730 and the output device 740 in the electronic device can be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0098] The memory 720, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the method for segmenting the carotid artery ultrasound image in the embodiment of the present application (for example, the continuous T-frame ultrasound image representation acquisition module 601, the amplified ultrasound image representation extraction module 602, the fused image feature representation output module 603, and the final segmentation result representation segmentation module 604 in the carotid artery ultrasound image segmentation device). The processor 710 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 720, that is, realizes the above-mentioned method for segmenting the carotid artery ultrasound image.
[0099] The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 720 may further include a memory remotely arranged relative to the processor 710, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0100] The input device 730 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 740 may include a display device such as a display screen.
[0101] The embodiment of the present application further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to perform a method for segmenting a carotid artery ultrasound image when executed by a computer processor, including:
[0102] Acquire sequential ultrasonic images, divide T consecutive ultrasonic images into a group, and amplify the ultrasonic images in the group in a preset manner; T is a positive integer greater than 1;
[0103] The amplified ultrasound image is input into the encoder structure, and image features are extracted for each frame of ultrasound image;
[0104] According to the similarity of image features between the ultrasound image to be segmented and its previous image, feature weighting is performed on the previous image, and the feature is fused with the image features of the image to be segmented, and the fused image features are output;
[0105] The final segmentation result is obtained according to the fused image features.
[0106] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present application are not limited to the method operations described above, and can also execute related operations in the carotid artery ultrasound image segmentation method provided in any embodiment of the present invention.
[0107] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0108] It is worth noting that in the embodiment of the above-mentioned carotid artery ultrasonic image segmentation method and device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0109] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for segmenting a carotid artery ultrasound image, characterized in that: include: Acquire sequential ultrasound images, divide the continuous T-frame ultrasound images into a group, and amplify the ultrasound images in the group in a preset manner; T is a positive integer greater than 1; The amplified ultrasound image is input into the encoder structure, and image features are extracted for each frame of ultrasound image; According to the similarity of image features between the ultrasound image to be segmented and its previous image, feature weighting is performed on the previous image, and the feature is fused with the image features of the image to be segmented, and the fused image features are output; Obtaining a final segmentation result according to the fused image features; The step of inputting the amplified ultrasound image into the encoder structure and extracting image features from each frame of the ultrasound image comprises: The EfficientNetV2 detection model is used to extract multiple multi-scale features from ultrasound images; The feature pyramid model is used to fuse the plurality of multi-scale features in pairs, and the output features obtained after the fusion are marked as the image features; the output features of each image in the image sequence are combined, and expressed as [F L-k+1 ,...,F L-1 ,F L ]; According to the similarity of image features between the ultrasound image to be segmented and its previous image, the previous image is feature weighted and fused with the image features of the image to be segmented, and the fused image features are output, including: the image feature of the ultrasound image to be segmented is Q=F T ∈R H×W×d , the image feature of the previous image of the i-th frame is K i =F i ∈R H×W×d , then for any feature point Q in Q m,n ∈R 1×1×d , m=0,1,2,...,H-1,n=0,1,2,...,W-1The feature similarity with the previous image of the i-th frame is: in is the projection matrix, Indicates that the i-th frame is centered at (m,n) in the previous image and 2r i The length is 2s i is a rectangular area with width r i =r0+scale r ×(Li),s i =s0+scale s ×(Li),i=L-k+1,...,L-1 The feature similarity between the feature points in the ultrasound image to be segmented and the i-th frame previous image is synthesized to obtain the feature similarity between the image feature of the ultrasound image to be segmented and the i-th frame previous image; According to the feature similarity between the image features of the ultrasound image to be segmented and the feature similarity between the i-th frame previous image, the image features of the i-th frame previous image and the ultrasound image to be segmented are fused to obtain fused image features.
2. The method according to claim 1, characterized in that The ultrasound images in the group are amplified in a preset manner, including: Perform random brightness and contrast transformation on each frame of the continuous T-frame ultrasound image; or, A random Gaussian noise is introduced into each frame of the continuous T-frame ultrasound images, and the continuous T-frame ultrasound images are updated.
3. A carotid artery ultrasound image segmentation device, characterized in that: include: An acquisition module, used for acquiring a sequence of ultrasonic images, dividing T consecutive frames of ultrasonic images into a group, and amplifying the ultrasonic images in the group in a preset manner; T is a positive integer greater than 1; An extraction module, used for inputting the amplified ultrasound image into the encoder structure and extracting image features for each frame of the ultrasound image; An output module is used to perform feature weighting on the previous image according to the similarity of image features between the ultrasound image to be segmented and the previous image, fuse the features with the image features of the image to be segmented, and output the fused image features; A segmentation module is used to obtain a final segmentation result according to the fused image features; wherein, The extraction module is used to extract multiple multi-scale features from ultrasound images using the EfficientNetV2 detection model; The feature pyramid model is used to fuse the plurality of multi-scale features in pairs, and the output features obtained after the fusion are marked as the image features; the output features of each image in the image sequence are combined, and expressed as [F L-k+1 ,...,F L-1 ,F L ]; Output modules are used to: The image feature of the ultrasound image to be segmented is Q = F T ∈R H×W×d , the image feature of the previous image of the i-th frame is K i =F i ∈R H ×W×d , then for any feature point Q in Q m,n ∈R 1×1×d , m=0,1,2,...,H-1,n=0,1,2,...,W-1The feature similarity with the previous image of the i-th frame is: in is the projection matrix, Indicates that the i-th frame is centered at (m,n) in the previous image and 2r i The length is 2s i is a rectangular area with width r i =r0+scale r ×(Li),s i =s0+scale s ×(Li),i=L-k+1,...,L-1 The feature similarity between the feature points in the ultrasound image to be segmented and the i-th frame previous image is synthesized to obtain the feature similarity between the image feature of the ultrasound image to be segmented and the i-th frame previous image; According to the feature similarity between the image features of the ultrasound image to be segmented and the feature similarity between the i-th frame previous image, the image features of the i-th frame previous image and the ultrasound image to be segmented are fused to obtain fused image features.
4. An electronic device, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 2.
5. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are implemented by a computer processor as the method according to any one of claims 1-2.
