Breast tumor lesion detection method and system based on feature difference dynamic fusion
Through the feature difference dynamic fusion module, dual-view feature difference information is used in the detection of breast tumor lesion areas to solve the problem of insufficient information utilization, achieve stronger robustness and reliability, and enhance useful information while suppressing noise.
Patent Information
- Application Number
- CN202410807398.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-21
AI Technical Summary
In the existing technology, breast tumor detection based on image processing has the problem of insufficient utilization of information between different views, and the difference information between the two views cannot be effectively utilized.
A breast tumor lesion area detection method based on dynamic fusion of feature differences is adopted. By acquiring multiple breast ultrasound tumor images for preprocessing and absorbance transformation, a breast tumor lesion area detection model is constructed. The grayscale image and absorption image feature extraction module is used to The feature difference dynamic fusion module and fusion prediction module realize differential information mining and information exchange of dual-view features.
The feature difference dynamic fusion module maps different views to the same feature space, mines the difference information between the two views, enhances attention to the feature information of the lesion area, suppresses noise, improves the network's learning and fusion ability of the complementary information of the two views, and improves detection robustness and reliability.
Smart Images

Figure CN118379285B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical image processing, and in particular to a method and system for detecting breast tumor lesion areas based on feature difference dynamic fusion. Background Art
[0002] Breast cancer is one of the most common cancers worldwide and is a widespread health problem that poses a major threat to the health of women worldwide. Early prevention, early screening and timely treatment are the key to reducing the incidence and impact of breast cancer.
[0003] Ultrasound examination has the characteristics of no radiation, non-invasiveness and safety. It is particularly suitable for young women, pregnant women and patients with high breast density, and is widely used in the diagnosis and screening of breast cancer. Manual diagnosis of breast tumors has the disadvantages of subjectivity and experience dependence, easy missed diagnosis and misdiagnosis, low diagnostic efficiency, inability to fully utilize imaging information, and difficulty in processing large amounts of data. Therefore, the introduction of computer-aided diagnosis (CAD) technology can make up for the shortcomings of manual diagnosis and improve the accuracy, efficiency and reliability of breast cancer screening and diagnosis.
[0004] Breast tumor detection based on a single view has the disadvantages of insufficient information, inability to provide sufficient depth information, and difficulty in distinguishing benign and malignant tumors. Therefore, the comprehensive use of multiple views and multiple imaging modalities, as well as the combination of advanced technologies such as deep learning, may be an important way to improve the accuracy and reliability of breast tumor detection. The Chinese invention application "Automatic detection method and system for breast tumor lesions based on dual views of absorbance" with publication number CN 116485791 A uses DFT units to dynamically learn the binary relationship between grayscale images and absorbance images, fuses and interacts the two, enhances correlation and complementarity, and compensates for the lack of information in breast ultrasound tumor grayscale images. However, the feature map it outputs only has the relationship between the extracted features, and lacks attention to and utilization of the difference information between the dual views. Summary of the invention
[0005] The purpose of the present invention is to solve the problem of insufficient utilization of information between different views in the prior art for breast tumor detection based on image processing.
[0006] The technical solution adopted by the present invention to solve the technical problem is: to provide a method for detecting breast tumor lesions based on feature difference dynamic fusion, comprising the following steps:
[0007] Acquire multiple breast ultrasound tumor images and perform preprocessing respectively to obtain multiple grayscale images as grayscale image data sets; perform absorbance transformation on the multiple grayscale images respectively to obtain multiple absorbance images as absorbance image data sets;
[0008] Construct a breast tumor lesion detection model based on feature difference dynamic fusion;
[0009] Using the grayscale image dataset and the absorbance image dataset to train the breast tumor lesion detection model;
[0010] Utilizing the trained breast tumor lesion detection model to detect breast tumor lesions;
[0011] The breast tumor lesion detection model includes a first image feature extraction module, a second image feature extraction module, a feature difference dynamic fusion module and a fusion prediction module; the first image feature extraction module receives a grayscale image and extracts grayscale image features, and the second image feature extraction module receives an absorbance image and extracts absorbance image features; the feature difference dynamic fusion module is connected to the first image feature extraction module and the second image feature extraction module respectively, receives grayscale image features and absorbance image features and performs differential dynamic fusion, and feeds back differential features to the first image feature extraction module and the second image feature extraction module; the fusion prediction module is connected to the first image feature extraction module, the second image feature extraction module and the feature difference dynamic fusion module respectively, receives grayscale image features, absorbance image features and differential features, and outputs prediction results.
[0012] Preferably, the preprocessing includes removing surrounding annotation information and enhancing contrast of the breast ultrasound tumor image, and the contrast enhancement is expressed as:
[0013] y * =y×ct+bt;
[0014] Among them, y is the value of the pixel point of the breast ultrasound tumor image, y* is the value of the pixel point of the breast ultrasound tumor image after enhancement, ct and bt represent the contrast value and brightness value respectively.
[0015] Preferably, performing absorbance transformation on the plurality of grayscale images to obtain the plurality of absorbance images comprises the following steps:
[0016] Convert the grayscale value of each pixel in the grayscale image to an absorbance value, expressed as:
[0017]
[0018] Among them, AV uv Indicates absorbance value, I uv Represents the gray value of the pixel (u, v) in the gray image, I a Represents the average gray value of the area around the pixel (u, v) in the gray image;
[0019] The absorbance value map is converted into a depth information image through linear transformation to obtain an absorbance image.
[0020] Preferably, the first image feature extraction module and the second image feature extraction module each include a plurality of feature extraction layers connected in sequence, and each feature extraction layer includes a CBL structure and a CSP2 structure connected in sequence.
[0021] Preferably, the first image feature extraction module and the second image feature extraction module each include five feature extraction layers connected in sequence;
[0022] The process of grayscale feature extraction by the first image feature extraction module includes the following steps:
[0023] The received grayscale image passes through the first feature extraction layer and outputs the grayscale feature G1;
[0024] After the grayscale feature G1 is added to the grayscale differential feature G1', the grayscale feature G2 is output through the second feature extraction layer;
[0025] After the grayscale feature G2 is added to the grayscale differential feature G2', the grayscale feature G3 is output through the third feature extraction layer;
[0026] After the grayscale feature G3 is added to the grayscale differential feature G3', the grayscale feature G4 is output through the fourth feature extraction layer;
[0027] After the grayscale feature G4 is added to the grayscale differential feature G4', the grayscale feature G5 is output through the fifth feature extraction layer;
[0028] The process of extracting absorbance features by the second image feature extraction module includes the following steps:
[0029] The received absorbance image passes through the first feature extraction layer, and outputs absorbance feature A1;
[0030] After the absorbance feature A1 is added to the absorbance difference feature A1', the absorbance feature A2 is output through the second feature extraction layer;
[0031] After the absorbance feature A2 is added to the absorbance difference feature A2', the absorbance feature A3 is output through the third feature extraction layer;
[0032] After the absorbance feature A3 is added to the absorbance difference feature A3', the absorbance feature A4 is output through the fourth feature extraction layer;
[0033] After the absorbance feature A4 is added to the absorbance difference feature A4', the absorbance feature A5 is output through the fifth feature extraction layer;
[0034] Among them, the absorbance difference characteristic A i ' and grayscale differential feature G i ' is the characteristic difference dynamic module based on the absorbance characteristic A iAnd the grayscale feature Gi is calculated and fed back, i = {1, 2, 3, 4}.
[0035] Preferably, the characteristic differential dynamic module is based on the absorbance characteristic A i and grayscale feature G i Calculate the absorbance difference characteristic A i ' and grayscale differential feature G i ' process, including the following steps:
[0036] Receive the grayscale feature G output by the first image feature extraction module and the second image feature extraction module i and absorbance characteristic A i , subtract and get the difference feature F Di ;
[0037] F Di Perform deformable convolution V2 operation to get F' Di , expressed as:
[0038]
[0039] p n =p0+Δp n ;
[0040] w n =w0+Δw n ;
[0041] Among them, p0 represents a fixed sampling point, p n represents the sampling point learned from the deformable convolution V2 operation, w0 is the weight corresponding to p0, and w n For the corresponding p n The weight of n Indicates the offset, Δw n represents the offset weight, which enables the network to dynamically adjust the shape and weight of the convolution kernel according to the input dual view; W(p n ) indicates that the convolution kernel is in p n The weight at; N represents the size of the convolution kernel;
[0042] F' Di With G i Multiply element by element to get the grayscale complementary feature F DGi , F' Di With A i Element-wise multiplication to the absorbance complementary characteristic F DAi ;
[0043] Using F DAi and F DGi Calculate the absorbance difference characteristic A i ' and grayscale differential feature G i', expressed as:
[0044]
[0045] Where f(·) represents the deformable convolution V2 operation, represents element-by-element addition, Stands for element-wise multiplication.
[0046] Preferably, the fusion prediction module is connected to the first image feature extraction module, the second image feature extraction module and the feature difference dynamic fusion module respectively, receives the grayscale image features, the absorbance image features and the difference features, and outputs the prediction results; the process of obtaining the prediction results by the fusion prediction module includes the following steps:
[0047] G5, A5, A5' and G5' are spliced and fused to obtain F1, and F1 extracts image feature information through the CBL structure to output the first prediction image F1';
[0048] G4, A4, A4' and G4' are spliced and fused to obtain F2. F2 is concat-connected with the upsampled features of feature F1, and then the image feature information is extracted through the CBL structure to output the second prediction image F2';
[0049] G3, A3 A3' and G3' are spliced and fused to obtain F3. F3 is concat-connected with the upsampled features of feature F2, and then the image feature information is extracted through the CBL structure to output the third prediction image F3';
[0050] By combining the first prediction map F1', the second prediction map F2' and the third prediction map F3', the percentage of the images with detection frames is calculated, indicating the probability that the content is a breast tumor lesion area.
[0051] The present invention also provides a breast tumor lesion detection system based on feature difference dynamic fusion, comprising:
[0052] The data set acquisition module is used to acquire multiple breast ultrasound tumor images and pre-process them respectively to obtain multiple grayscale images as grayscale image data sets; and perform absorbance transformation on the multiple grayscale images respectively to obtain multiple absorbance images as absorbance image data sets;
[0053] Model building module, used to build a breast tumor lesion detection model based on feature difference dynamic fusion;
[0054] A model training module, used for training the breast tumor lesion detection model using a grayscale image dataset and an absorbance image dataset;
[0055] A model application module, used for realizing breast tumor lesion area detection by using the trained breast tumor lesion area detection model;
[0056] The breast tumor lesion detection model includes a first image feature extraction module, a second image feature extraction module, a feature difference dynamic fusion module and a fusion prediction module; the first image feature extraction module receives a grayscale image and extracts grayscale image features, and the second image feature extraction module receives an absorbance image and extracts absorbance image features; the feature difference dynamic fusion module is connected to the first image feature extraction module and the second image feature extraction module respectively, receives grayscale image features and absorbance image features and performs differential dynamic fusion, and feeds back differential features to the first image feature extraction module and the second image feature extraction module; the fusion prediction module is connected to the first image feature extraction module, the second image feature extraction module and the feature difference dynamic fusion module respectively, receives grayscale image features, absorbance image features and differential features, and outputs prediction results.
[0057] The present invention has the following beneficial effects:
[0058] (1) Through the feature difference dynamic fusion module, different views are mapped to the same feature space, the difference information between the two views is mined, and the focus on the feature information of the lesion area is strengthened while suppressing noise;
[0059] (2) The feature information fused by the feature difference dynamic fusion module is added back to the original feature map to achieve information exchange between the two views, enhance the dependency between the views, fully explore the difference information between the two views, and improve the network's learning and fusion ability of the complementary information of the two views. Compared with single-view lesion area detection, it has stronger robustness and reliability, strengthens useful information and suppresses noise;
[0060] (3) A feature difference dynamic fusion module is embedded between the corresponding dual-view feature layers to fully mine the difference information between views and improve the feature fusion quality by strengthening the difference feature representation. The difference information is then fed back to the dual-view feature extraction backbone to enhance the network's ability to learn and fuse the complementary information of the dual views.
[0061] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments, but the present invention is not limited to the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A method step diagram of an embodiment of the present invention;
[0063] Figure 2 It is a schematic diagram of a flow chart of an embodiment of the present invention;
[0064] Figure 3This is a schematic diagram of the internal structure of a feature difference dynamic fusion module according to an embodiment of the present invention;
[0065] Figure 4 4 is a system structure diagram of an embodiment of the present invention. DETAILED DESCRIPTION
[0066] See also Figure 1 FIG. 1 is a diagram showing steps of a method according to an embodiment of the present invention, comprising the following steps:
[0067] S101, acquiring a plurality of breast ultrasound tumor images and preprocessing them respectively to obtain a plurality of grayscale images as a grayscale image data set; performing absorbance transformation on the plurality of grayscale images respectively to obtain a plurality of absorbance images as an absorbance image data set;
[0068] S102, constructing a breast tumor lesion detection model based on feature difference dynamic fusion;
[0069] S103, training the breast tumor lesion detection model using the grayscale image dataset and the absorbance image dataset;
[0070] S104, realizing breast tumor lesion area detection by using the trained breast tumor lesion area detection model;
[0071] The breast tumor lesion detection model includes a first image feature extraction module, a second image feature extraction module, a feature differential deformable convolutional (DD) module and a fusion prediction module; the first image feature extraction module receives a grayscale image and extracts grayscale image features, and the second image feature extraction module receives an absorbance image and extracts absorbance image features; the feature differential dynamic fusion module is connected to the first image feature extraction module and the second image feature extraction module, receives grayscale image features and absorbance image features, performs differential dynamic fusion, and feeds back differential features to the first image feature extraction module and the second image feature extraction module; the fusion prediction module is connected to the first image feature extraction module, the second image feature extraction module and the feature differential dynamic fusion module, receives grayscale image features, absorbance image features and differential features, and outputs prediction results.
[0072] See also Figure 2As shown, it is a flow chart of an embodiment of the present invention. The first image feature extraction module and the second image feature extraction module each include five feature extraction layers connected in sequence, and each feature extraction layer includes a CBL structure and a CSP2 structure connected in sequence. The CBL structure is a standard convolution structure, including a common convolution layer Conv, a batch normalization layer BN and a LeakyRelu activation function layer; the CSP (Cross Stage Partial) structure is used to build a backbone network, which can effectively reduce network parameters and calculation amount, and improve the efficiency of feature extraction. The core idea of the CSP structure is to divide the input feature map into two parts, one part is processed by the CBL structure, the RESunit structure, and the CBL structure, and the other part is directly processed by the next layer through a CBL structure. Then the two parts of the feature map are spliced together as the input of the next layer. The low-level detail features and the high-level abstract features can be combined to improve the efficiency of feature extraction. The CSP2 structure performs two RESunit structure operations; the RESunit structure is divided into two parts, one part is processed by two CBL structures, and the other part is directly processed by the next layer, and then the two parts of the feature map are spliced together.
[0073] The process of grayscale feature extraction by the first image feature extraction module includes the following steps:
[0074] The received grayscale image passes through the first feature extraction layer and outputs the grayscale feature G1;
[0075] After the grayscale feature G1 is added to the grayscale differential feature G1', the grayscale feature G2 is output through the second feature extraction layer;
[0076] After the grayscale feature G2 is added to the grayscale differential feature G2', the grayscale feature G3 is output through the third feature extraction layer;
[0077] After the grayscale feature G3 is added to the grayscale differential feature G3', the grayscale feature G4 is output through the fourth feature extraction layer;
[0078] After the grayscale feature G4 is added to the grayscale differential feature G4', the grayscale feature G5 is output through the fifth feature extraction layer;
[0079] The process of extracting absorbance features by the second image feature extraction module includes the following steps:
[0080] The received absorbance image passes through the first feature extraction layer, and outputs absorbance feature A1;
[0081] After the absorbance feature A1 is added to the absorbance difference feature A1', the absorbance feature A2 is output through the second feature extraction layer;
[0082] After the absorbance feature A2 is added to the absorbance difference feature A2', the absorbance feature A3 is output through the third feature extraction layer;
[0083] After the absorbance feature A3 is added to the absorbance difference feature A3', the absorbance feature A4 is output through the fourth feature extraction layer;
[0084] After the absorbance feature A4 is added to the absorbance difference feature A4', the absorbance feature A5 is output through the fifth feature extraction layer;
[0085] Among them, the absorbance difference characteristic A i ' and grayscale differential feature G i ' is the characteristic difference dynamic module based on the absorbance characteristic A i And the grayscale feature Gi is calculated and fed back, i = {1, 2, 3, 4}.
[0086] For details, see Figure 3 FIG. 1 is a schematic diagram of the internal structure of a characteristic differential dynamic module of an embodiment of the present invention. The characteristic differential dynamic module calculates the absorbance differential characteristic A i ' and grayscale differential feature G i ' process, including the following steps:
[0087] Receive the grayscale feature G output by the first image feature extraction module and the second image feature extraction module i and absorbance characteristic A i , subtract and get the difference feature F Di ;
[0088] F Di Perform Deformable Convolutional Networks Version 2 (DCNv2) to get F' Di , expressed as:
[0089]
[0090] p n =p0+Δp n ;
[0091] w n =w0+Δw n ;
[0092] Among them, p0 represents a fixed sampling point, p n represents the sampling point learned from the deformable convolution V2 operation, w0 is the weight corresponding to p0, and w n For the corresponding p n The weight of n Indicates the offset, Δw nrepresents the offset weight, which enables the network to dynamically adjust the shape and weight of the convolution kernel according to the input dual view; W(p n ) indicates that the convolution kernel is in p n The weight at; N represents the size of the convolution kernel;
[0093] F' Di With G i Multiply element by element to get the grayscale complementary feature F DGi , F' Di With A i Element-wise multiplication to the absorbance complementary characteristic F DAi ;
[0094] Using F DAi and F DGi Calculate the absorbance difference characteristic A i ' and grayscale differential feature G i ', expressed as:
[0095]
[0096] Among them, f(·) represents the deformable convolution V2 operation, ⊕ represents element-by-element addition, Stands for element-wise multiplication.
[0097] Get the difference feature F Di The principle is: grayscale image feature G i and absorbance image feature A i The common feature (G i +A i ) / 2 and the unique features of the image, where (G i -A i ) / 2 and (A i -G i ) / 2 represent the unique features of the grayscale image and the unique features of the absorbance image, as shown below:
[0098]
[0099] Then through the grayscale image feature G i and absorbance image feature A i The difference feature F can be obtained by subtracting Di Incorporating complementary features into the features of each view can achieve the role of information exchange between the two views and enhance the dependency between views, so that each backbone network does not learn its own features separately during the learning process, but learns the information in the two views at the same time, enriching the learning content.
[0100] Specifically, the process of obtaining the prediction graph by fusing the prediction module includes the following steps:
[0101] G5, A5, A5' and G5' are spliced and fused to obtain F1, and F1 extracts image feature information through the CBL structure to output the first prediction image F1';
[0102] G4, A4, A4' and G4' are spliced and fused to obtain F2. F2 is concat-connected with the upsampled features of feature F1, and then the image feature information is extracted through the CBL structure to output the second prediction image F2';
[0103] G3, A3, A3' and G3' are spliced and fused to obtain F3. F3 is concat-connected with the upsampled features of feature F2, and then the image feature information is extracted through the CBL structure to output the third prediction image F3';
[0104] By combining the prediction graph F1', the second prediction graph F2' and the third prediction graph F3', the percentage of the images with the detection frame is obtained by calculation, which indicates the probability that the content is a breast tumor lesion area.
[0105] See also Figure 4 FIG. 1 is a system structure diagram of an embodiment of the present invention, including:
[0106] The data set acquisition module 401 acquires a plurality of breast ultrasound tumor images and performs preprocessing on them respectively to obtain a plurality of grayscale images as grayscale image data sets; performs absorbance transformation on the plurality of grayscale images respectively to obtain a plurality of absorbance images as absorbance image data sets;
[0107] A model building module 402 is used to build a breast tumor lesion detection model based on feature difference dynamic fusion;
[0108] A model training module 403 is used to train the breast tumor lesion detection model using the grayscale image dataset and the absorbance image dataset;
[0109] The model application module 404 is used to implement breast tumor lesion area detection by using the trained breast tumor lesion area detection model.
[0110] It can be seen that the present invention achieves information exchange between the two views, enhances the dependency between the views, fully mines the difference information between the two views, and improves the network's learning and fusion ability of the complementary information of the two views by integrating the features of the complementary view into the features of the ultrasonic absorbance image and the grayscale image. Compared with single-view lesion area detection, the present invention has stronger robustness and reliability, and suppresses noise while enhancing useful information.
[0111] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting breast tumor lesions based on feature differential dynamic fusion, characterized in that: The following steps are involved: Acquire multiple breast ultrasound tumor images and preprocess them respectively to obtain multiple grayscale images as grayscale image data sets; Performing absorbance transformation on a plurality of grayscale images respectively to obtain a plurality of absorbance images as absorbance image data sets; Construct a breast tumor lesion detection model based on feature difference dynamic fusion; Using the grayscale image dataset and the absorbance image dataset to train the breast tumor lesion detection model; Utilizing the trained breast tumor lesion detection model to detect breast tumor lesions; The breast tumor lesion detection model includes a first image feature extraction module, a second image feature extraction module, a feature difference dynamic fusion module and a fusion prediction module; the first image feature extraction module receives a grayscale image and extracts grayscale image features, and the second image feature extraction module receives an absorbance image and extracts absorbance image features; The feature difference dynamic fusion module is connected to the first image feature extraction module and the second image feature extraction module respectively, receives the grayscale image features and the absorbance image features and performs differential dynamic fusion, and feeds back the differential features to the first image feature extraction module and the second image feature extraction module; the fusion prediction module is connected to the first image feature extraction module, the second image feature extraction module and the feature difference dynamic fusion module respectively, receives the grayscale image features, the absorbance image features and the differential features, and outputs the prediction results; The first image feature extraction module and the second image feature extraction module each include a plurality of feature extraction layers connected in sequence, each feature extraction layer includes a CBL structure and a CSP2 structure connected in sequence; The feature differential dynamic module is based on the absorbance feature A i and grayscale feature G i Calculate the absorbance difference characteristic A i ' and grayscale differential feature G i ', including the following steps: Receive the grayscale feature G output by the first image feature extraction module and the second image feature extraction module i and absorbance characteristic A i , subtract to get the difference feature F Di ; F Di Perform deformable convolution V2 operation to get F' Di , expressed as: p n =p0+Δp n ; In n =w0+Δw n ; Among them, p0 represents a fixed sampling point, p n represents the sampling point learned from the deformable convolution V2 operation, w0 is the weight corresponding to p0, and w n For the corresponding p n The weight of n Indicates the offset, Δw n represents the offset weight, which enables the network to dynamically adjust the shape and weight of the convolution kernel according to the input dual view; W(p n ) indicates that the convolution kernel is in p n The weight at; N represents the size of the convolution kernel; F' Di With G i Multiply element by element to get the grayscale complementary feature F DGi , F' Di With A i Element-wise multiplication to the absorbance complementary characteristic F DAi ; Using F DAi and F DGi Calculate the absorbance difference characteristic A i ' and grayscale differential feature G i ', expressed as: Where f(·) represents the deformable convolution V2 operation, represents element-by-element addition, Stands for element-wise multiplication.
2. The method for detecting breast tumor lesions based on feature difference dynamic fusion according to claim 1, characterized in that: The preprocessing includes removing the surrounding annotation information and enhancing the contrast of the breast ultrasound tumor image. The contrast enhancement is expressed as: <h2 style=";text-align:left;direction:ltr">y<h2 style=";text-align:left;direction:ltr"> * <h2 style=";text-align:left;direction:ltr"> (y×ct+bt) Among them, y is the value of the pixel point of the breast ultrasound tumor image, y* is the value of the pixel point of the breast ultrasound tumor image after enhancement, ct and bt represent the contrast value and brightness value respectively.
3. The method for detecting breast tumor lesions based on feature difference dynamic fusion according to claim 1, characterized in that: The step of performing absorbance transformation on the plurality of grayscale images to obtain the plurality of absorbance images comprises the following steps: Convert the grayscale value of each pixel in the grayscale image to an absorbance value, expressed as: Among them, AV uv Indicates absorbance value, I uv Represents the gray value of the pixel (u, v) in the gray image, I a Represents the average gray value of the area around the pixel (u, v) in the gray image; The absorbance value map is converted into a depth information image through linear transformation to obtain an absorbance image.
4. The method for detecting breast tumor lesions based on feature differential dynamic fusion according to claim 1, characterized in that: The first image feature extraction module and the second image feature extraction module each include five feature extraction layers connected in sequence; The process of grayscale feature extraction by the first image feature extraction module includes the following steps: The received grayscale image passes through the first feature extraction layer and outputs the grayscale feature G1; After the grayscale feature G1 is added to the grayscale differential feature G1', the grayscale feature G2 is output through the second feature extraction layer; After the grayscale feature G2 is added to the grayscale differential feature G2', the grayscale feature G3 is output through the third feature extraction layer; After the grayscale feature G3 is added to the grayscale differential feature G3', the grayscale feature G4 is output through the fourth feature extraction layer; After the grayscale feature G4 is added to the grayscale differential feature G4', the grayscale feature G5 is output through the fifth feature extraction layer; The process of extracting absorbance features by the second image feature extraction module includes the following steps: The received absorbance image passes through the first feature extraction layer, and outputs absorbance feature A1; After the absorbance feature A1 is added to the absorbance difference feature A1', the absorbance feature A2 is output through the second feature extraction layer; After the absorbance feature A2 is added to the absorbance difference feature A2', the absorbance feature A3 is output through the third feature extraction layer; After the absorbance feature A3 is added to the absorbance difference feature A3', the absorbance feature A4 is output through the fourth feature extraction layer; After the absorbance feature A4 is added to the absorbance difference feature A4', the absorbance feature A5 is output through the fifth feature extraction layer; Among them, the absorbance difference characteristic A i ' and grayscale differential feature G i ' is the characteristic difference dynamic module based on the absorbance characteristic A i And the grayscale feature Gi is calculated and fed back, i = {1, 2, 3, 4}.
5. The method for detecting breast tumor lesions based on feature difference dynamic fusion according to claim 1, characterized in that: The fusion prediction module is connected to the first image feature extraction module, the second image feature extraction module and the feature difference dynamic fusion module respectively, receives the grayscale image features, the absorbance image features and the difference features, and outputs the prediction results; The process of obtaining the prediction result by integrating the prediction module includes the following steps: G5, A5, A5' and G5' are spliced and fused to obtain F1, and F1 extracts image feature information through the CBL structure to output the first prediction image F1'; G4, A4, A4' and G4' are spliced and fused to obtain F2. F2 is concat-connected with the upsampled features of feature F1, and then the image feature information is extracted through the CBL structure to output the second prediction image F2'; G3, A3 A3' and G3' are spliced and fused to obtain F3. F3 is concat-connected with the upsampled features of feature F2, and then the image feature information is extracted through the CBL structure to output the third prediction image F3'; By combining the first prediction map F1', the second prediction map F2' and the third prediction map F3', the percentage of the images with detection frames is obtained by calculation, which indicates the probability that the content is a breast tumor lesion area.
6. A breast tumor lesion detection system based on feature differential dynamic fusion, characterized in that: include: A data set acquisition module is used to acquire multiple breast ultrasound tumor images and pre-process them respectively to obtain multiple grayscale images as grayscale image data sets; and performing absorbance transformation on the multiple grayscale images respectively to obtain multiple absorbance images as absorbance image data sets; Model building module, used to build a breast tumor lesion detection model based on feature difference dynamic fusion; A model training module, used for training the breast tumor lesion detection model using a grayscale image dataset and an absorbance image dataset; A model application module, used to realize breast tumor lesion area detection by using the trained breast tumor lesion area detection model; The breast tumor lesion detection model includes a first image feature extraction module, a second image feature extraction module, a feature difference dynamic fusion module and a fusion prediction module; the first image feature extraction module receives a grayscale image and extracts grayscale image features, and the second image feature extraction module receives an absorbance image and extracts absorbance image features; The feature difference dynamic fusion module is connected to the first image feature extraction module and the second image feature extraction module respectively, receives the grayscale image features and the absorbance image features and performs differential dynamic fusion, and feeds back the differential features to the first image feature extraction module and the second image feature extraction module; the fusion prediction module is connected to the first image feature extraction module, the second image feature extraction module and the feature difference dynamic fusion module respectively, receives the grayscale image features, the absorbance image features and the differential features, and outputs the prediction results; The first image feature extraction module and the second image feature extraction module each include a plurality of feature extraction layers connected in sequence, each feature extraction layer includes a CBL structure and a CSP2 structure connected in sequence; The feature differential dynamic module is based on the absorbance feature A i and grayscale feature G i Calculate the absorbance difference characteristic A i ' and grayscale differential feature G i ', including the following steps: Receive the grayscale feature G output by the first image feature extraction module and the second image feature extraction module i and absorbance characteristic A i , subtract to get the difference feature F Di ; F Di Perform deformable convolution V2 operation to get F' Di , expressed as: p n =p0+Δp n ; In n =w0+Δw n ; Among them, p0 represents a fixed sampling point, p n represents the sampling point learned from the deformable convolution V2 operation, w0 is the weight corresponding to p0, and w n For the corresponding p n The weight of n Indicates the offset, Δw n represents the offset weight, which enables the network to dynamically adjust the shape and weight of the convolution kernel according to the input dual view; W(p n ) indicates that the convolution kernel is in p n The weight at; N represents the size of the convolution kernel; F' Di With G i Multiply element by element to get the grayscale complementary feature F DGi , F' Di With A i Element-wise multiplication to the absorbance complementary characteristic F DAi ; Using F DAi and F DGi Calculate the absorbance difference characteristic A i ' and grayscale differential feature G i ', expressed as: Where f(·) represents the deformable convolution V2 operation, represents element-by-element addition, Stands for element-wise multiplication.
