Medical image processing method and system for cerebral hemorrhage

Through the multi-scale feature extraction and feature fusion module, combined with the feature enhancement module, the problem of insufficient identification accuracy of pathological parameters in cerebral hemorrhage medical images in the existing technology is solved, and higher diagnostic support is achieved.

CN118570522APending Publication Date: 2024-08-30XIANGYA HOSPITAL CENT SOUTH UNIV

Patent Information

Application Number
CN202410597712.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing computer vision technology has deficiencies in identifying pathological parameters in medical images of cerebral hemorrhage, making it difficult to assist doctors in making accurate diagnoses.

Method used

A feature extraction system including a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module is designed. Through multi-scale feature extraction, aggregation and distribution of feature information, combined with feature fusion and enhancement modules, the identification accuracy of pathological parameters is improved.

Benefits of technology

It significantly improves the recognition accuracy of pathological parameters of cerebral hemorrhage, enhances diagnostic support for cerebral hemorrhage, and improves the model's ability to recognize CT images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570522A
    Figure CN118570522A
Patent Text Reader

Abstract

The embodiment of the invention provides a medical image processing method and system for cerebral hemorrhage, and the method comprises the steps: constructing a feature extraction module for a medical image, and inputting the medical image to the feature extraction module, so as to obtain a fusion feature outputted by the feature extraction module; wherein the feature extraction module comprises a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used for extracting multi-scale features of a medical image, the aggregation distribution module is used for aggregating features of corresponding scales in the multi-scale features and distributing the features to the features of the corresponding scales, and the feature fusion module is used for fusing the output features of the aggregation distribution module to obtain fused features; and finally, predicting pathological parameters of the medical image by using the fusion features. The method can improve the accuracy of pathological parameter prediction of the model, and better assist doctors in accurate diagnosis of cerebral hemorrhage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of medical image classification and processing, and in particular, to a method and system for processing medical images of cerebral hemorrhage. Background Art

[0002] Cerebral hemorrhage, also often called spontaneous cerebral hemorrhage, is a disease in which blood flows out due to rupture of blood vessels in the brain, accounting for 20% to 30% of acute cerebrovascular diseases. The basic causes are mainly hypertension and arteriosclerosis. Lifestyle risk factors such as overweight, alcoholism, and smoking can also increase the risk of cerebral hemorrhage. This disease can be divided into basal ganglia hemorrhage, thalamic hemorrhage, lobar hemorrhage, brainstem hemorrhage, cerebellar hemorrhage, and intraventricular hemorrhage according to the site of bleeding. It is the cerebrovascular disease with the highest mortality rate.

[0003] Computer vision technology is currently often used to analyze various types of data in medical images of cerebral hemorrhage. It can identify some pathological parameters of patients' cerebral hemorrhage to a certain extent, which is of great significance for assisting doctors in accurate diagnosis and subsequent treatment of patients. However, the current technology is still lacking in the accuracy of identifying pathological parameters. Therefore, how to improve the accuracy of computer-aided detection in identifying relevant pathological parameters in medical images of cerebral hemorrhage is a problem that needs to be solved urgently. Summary of the invention

[0004] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0005] The main purpose of the embodiments of the present disclosure is to propose a method and system for processing medical images of cerebral hemorrhage, which can improve the accuracy of pathological parameter recognition and better assist doctors in making an accurate diagnosis of cerebral hemorrhage.

[0006] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present disclosure provides a method for processing medical images of cerebral hemorrhage, the method comprising:

[0007] Select medical images of a patient with cerebral hemorrhage;

[0008] A feature extraction module is constructed for the medical image, and the medical image is input into the feature extraction module to obtain fused features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used to extract multi-scale features of the medical image, the aggregation distribution module is used to aggregate features of corresponding scales in the multi-scale features and distribute them to features of corresponding scales, and the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain fused features;

[0009] The pathological parameters of the medical image are predicted according to the fusion features.

[0010] An embodiment of the present application provides a method for processing medical images for cerebral hemorrhage. The method constructs a feature extraction module for the medical image, and inputs the medical image into the feature extraction module to obtain the fusion features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module, and a feature fusion module; the multi-scale feature extraction module is used to extract the multi-scale features of the medical image, the aggregation distribution module is used to aggregate and distribute the features of the corresponding scales in the multi-scale features to the features of the corresponding scales, the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain the fusion features, and finally use the fusion features to predict the pathological parameters of the medical image. The method can improve the accuracy of the model in predicting pathological parameters and better assist doctors in making accurate diagnoses of cerebral hemorrhage.

[0011] In some implementations of the present application, the multi-scale feature extraction module includes three feature extraction submodules having the same structure, and the feature extraction submodule includes four branch networks, wherein the first branch network includes a 1×1 convolution layer and a corresponding activation function, the second branch network includes a 1×1 convolution layer and a 3×3 convolution layer and a corresponding activation function, the third branch network includes a 1×1 convolution layer and a 5×5 convolution layer and a corresponding activation function, and the fourth branch network includes a 1×1 convolution layer and a 7×7 convolution layer and a corresponding activation function;

[0012] The extracting features of multiple scales of the medical image comprises:

[0013] The medical image is input into the first branch network to the fourth branch network respectively, and features A1, A2, A3 and A4 outputted by the first branch network to the fourth branch network are obtained respectively.

[0014] In some implementations of the present application, the aggregate distribution module includes a first feature processing module and a second feature processing module;

[0015] The aggregating features of a corresponding scale among the features of the multiple scales and distributing the features to features of the corresponding scale includes:

[0016] Inputting the feature A1, the feature A2, the feature A3 and the feature A4 into a first feature processing module, so that the first feature processing module aligns feature information of different scales and fuses the aligned feature information to obtain feature S1;

[0017] The feature S1 is merged with the feature A2 and the feature A3 respectively to obtain the feature B2 corresponding to the feature A2 and the feature B3 corresponding to the feature A3;

[0018] Inputting the feature A1, the feature B2 and the feature B3 into a second feature processing module, so that the second feature processing module aligns feature information of different scales and fuses the aligned feature information to obtain feature S2;

[0019] The feature S2 is merged with the feature A1 and the feature B2 respectively to obtain the feature C1 corresponding to the feature A1 and the feature C2 corresponding to the feature B2;

[0020] The feature C1, the feature C2 and the feature B3 are used as output features of the aggregate distribution module.

[0021] In some embodiments of the present application, the first feature processing module includes a first alignment module and a first aggregation module;

[0022] The aligning of feature information of different scales and fusing the aligned feature information to obtain feature S1 includes:

[0023] Selecting one of the feature A1, the feature A2, the feature A3 and the feature A4 as a first standard feature by the first alignment module;

[0024] Bilinearly interpolating features other than the first standard feature into features of the same size as the first standard feature through the first alignment module;

[0025] The first standard feature and other features of the same size as the first standard feature are fused by the first alignment module to obtain a fused feature P1;

[0026] Convolving the fused feature P1 through the first aggregation module to obtain feature P2;

[0027] Performing structural reparameterization on the feature P2 through the first aggregation module to obtain a feature P3;

[0028] Convolving the feature P3 through the first aggregation module to obtain feature P4;

[0029] The first aggregation module performs a Split operation on the feature P4 to obtain a feature S1.

[0030] In some embodiments of the present application, the second feature processing module includes a second alignment module and a second aggregation module;

[0031] The aligning of feature information of different scales and fusing the aligned feature information to obtain feature S2 includes:

[0032] Selecting one of the feature A1, the feature B2 and the feature B3 as a second standard feature by the second alignment module;

[0033] The second alignment module uses bilinear interpolation to convert features other than the second standard features into features with the same size as the second standard features;

[0034] The second standard feature and other features of the same size as the second standard feature are fused by the second alignment module to obtain a fused feature N1;

[0035] Performing multi-head self-attention processing on the fused feature N1 through the second aggregation module to obtain feature N2;

[0036] The fused feature N1 and the feature N2 are fused by the second aggregation module to obtain a feature N3;

[0037] Inputting the feature N3 into a feedforward neural network through the second aggregation module to obtain a feature N4 output by the feedforward neural network;

[0038] The feature N4 is merged with the feature N3 by the second aggregation module to obtain a feature N5;

[0039] The second aggregation module performs a Split operation on the feature N5 to obtain a feature S2.

[0040] In some implementations of the present application, the outputting of the pathological parameter recognition result of the medical image according to the fusion feature includes:

[0041] Using multiple feature enhancement modules to enhance the fused features to obtain enhanced features;

[0042] predicting pathological parameters of the medical image according to the enhanced features;

[0043] The fusion feature is enhanced by using multiple feature enhancement modules, and the enhanced features include:

[0044] Input the fused feature into the feature enhancement module 1 to obtain the feature F1 output by the feature enhancement module 1;

[0045] The scale of the feature F1 is reduced to 1 / 2 of the feature F1, and the feature F1 is input into the feature enhancement module 2 to obtain the feature F2 output by the feature enhancement module 2;

[0046] The scale of the feature F2 is reduced to 1 / 2 of the feature F2, and the feature F2 is input into the feature enhancement module 3 to obtain the feature F3 output by the feature enhancement module 3;

[0047] The scale of the feature F3 is reduced to 1 / 2 of the feature F3, and the feature F3 is input into the feature enhancement module 4 to obtain the feature F4 output by the feature enhancement module 4;

[0048] The scale of the feature F4 is enlarged to twice that of the feature F4, and after being fused with the feature F3, it is input into the feature enhancement module 5 to obtain the feature F5 output by the feature enhancement module 5;

[0049] The scale of the feature F5 is enlarged to twice that of the feature F5, and after being fused with the feature F2, it is input into the feature enhancement module 6 to obtain the feature F6 output by the feature enhancement module 6;

[0050] The scale of the feature F6 is enlarged to twice that of the feature F6, and after being fused with the feature F1, it is input into the feature enhancement module 7 to obtain the feature F7 output by the feature enhancement module 7; the feature F7 is used as the enhanced feature;

[0051] The processing flow of any one of the feature enhancement modules includes:

[0052]

[0053] Wherein, T represents the fusion feature, f conv represents the convolution operation, f CBAM represents the CBAM convolution attention operation, concat represents the feature fusion operation, Bilinear1 represents the bilinear interpolation downsampling operation, and Bilinear2 represents the bilinear interpolation upsampling operation.

[0054] In some embodiments of the present application, the medical image is a CT image, or a PET image, or a PET-CT image.

[0055] To achieve the above-mentioned purpose, a second aspect of the embodiment of the present disclosure provides a medical image processing system for cerebral hemorrhage, the processing system comprising:

[0056] An image selection module is used to select medical images of patients with cerebral hemorrhage;

[0057] A feature fusion module is used to construct a feature extraction module for the medical image, and input the medical image into the feature extraction module to obtain the fusion features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used to extract the multi-scale features of the medical image, the aggregation distribution module is used to aggregate the features of the corresponding scales in the multi-scale features and distribute them to the features of the corresponding scales, and the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain the fusion features;

[0058] A data prediction unit is used to predict pathological parameters of the medical image according to the fusion features.

[0059] To achieve the above-mentioned purpose, a third aspect of the embodiments of the present disclosure provides an electronic device, comprising at least one memory;

[0060] at least one processor;

[0061] at least one computer program;

[0062] The computer program is stored in the memory, and the processor executes the at least one computer program to implement:

[0063] A method for processing medical images of cerebral hemorrhage as described in any one of the embodiments of the first aspect.

[0064] To achieve the above objective, a fourth aspect of the embodiments of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute:

[0065] A method for processing medical images of cerebral hemorrhage as described in any one of the embodiments of the first aspect.

[0066] It can be understood that the beneficial effects of the second to fourth aspects compared with the related art are the same as the beneficial effects of the first aspect compared with the related art. Please refer to the relevant description in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0068] Figure 1It is a flowchart of a method for processing medical images of cerebral hemorrhage provided by an embodiment of the present application;

[0069] Figure 2 It is a structural diagram of a feature extraction module and an output module provided by an embodiment of the present application;

[0070] Figure 3 is a structural diagram of a first feature processing module provided by an embodiment of the present application;

[0071] Figure 4 is a structural diagram of a second feature processing module provided by an embodiment of the present application;

[0072] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0073] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0074] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0075] Reference Figure 1 , one embodiment of the present application provides a method for processing medical images for cerebral hemorrhage, the method comprising the following steps S110 to S130;

[0076] Step S110: Select a medical image of a patient's cerebral hemorrhage.

[0077] In some embodiments of the present application, medical images include but are not limited to: CT images, PET images, PET-CT images:

[0078] Positron emission tomography (PET) provides detailed molecular information on metabolism and function of the lesion area through the different mechanisms of the patient's metabolism and function from those of normal people, thus reflecting the characteristics of the patient's low metabolic level. PET imaging is a powerful tool to improve the accuracy of disease diagnosis.

[0079] Computerized tomography (CT) uses precisely collimated X-ray beams, gamma rays, ultrasound waves, etc., together with extremely sensitive detectors to perform cross-sectional scans around a certain part of the human body one by one. It has the characteristics of fast scanning time and clear images, and can be used to detect a variety of diseases).

[0080] PET-CT integrates PET and CT. PET provides detailed molecular information such as the function and metabolism of lesions, while CT provides precise anatomical localization of lesions. A single imaging can obtain tomographic images of the whole body from all directions. It is sensitive, accurate, specific and has precise positioning. It can give a clear understanding of the overall condition of the body and achieve the purpose of early detection of lesions and diagnosis of diseases.

[0081] Taking CT images as an example, this embodiment uses current computer vision technology to perform feature processing on CT images of cerebral hemorrhage to analyze and count the pathological parameters in the CT images of cerebral hemorrhage, so as to assist doctors in making accurate diagnosis and subsequent treatment of cerebral hemorrhage. The pathological parameters here can be the amount of hematoma, type of cerebral hemorrhage, area of ​​cerebral hemorrhage, etc. The subsequent embodiments take the amount of hematoma of cerebral hemorrhage as an example. Therefore, this embodiment is not for the diagnosis of cerebral hemorrhage disease, nor for the treatment of cerebral hemorrhage disease, but for the prediction of pathological parameters through existing cerebral hemorrhage images to assist doctors in making accurate diagnosis.

[0082] Step S120, constructing a feature extraction module for the medical image, and inputting the medical image into the feature extraction module to obtain the fused features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used to extract the multi-scale features of the medical image, the aggregation distribution module is used to aggregate the features of the corresponding scales in the multi-scale features and distribute them to the features of the corresponding scales, and the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain the fused features.

[0083] In this embodiment, a feature extraction module is designed, which mainly consists of three parts:

[0084] 1. Multi-scale feature extraction module, which is mainly used to extract features at multiple scales of medical images (such as CT) to facilitate subsequent multi-scale feature learning;

[0085] 2. The aggregation and distribution module mainly aggregates the features of the corresponding scale among the features of multiple scales and distributes them to the features of the corresponding scale to avoid the loss of feature information caused by indirect fusion and improve the ability of the entire model to recognize the pathological parameters of cerebral hemorrhage in CT images.

[0086] 3. The feature fusion module is used to fuse the output features of the aggregation distribution module to fully learn the information of features at different scales and obtain fused features.

[0087] The following is a detailed introduction to the multi-scale feature extraction module:

[0088] Reference Figure 2 , the multi-scale feature extraction module includes three feature extraction submodules with the same structure, and the feature extraction submodule includes four branch networks, wherein the first branch network includes a 1×1 convolution layer and a corresponding activation function, the second branch network includes a 1×1 convolution layer and a 3×3 convolution layer and a corresponding activation function, the third branch network includes a 1×1 convolution layer and a 5×5 convolution layer and a corresponding activation function, and the fourth branch network includes a 1×1 convolution layer and a 7×7 convolution layer and a corresponding activation function;

[0089] The step S120 of extracting features of multiple scales of the medical image includes:

[0090] Step S210: input the medical image into the first branch network to the fourth branch network respectively, and obtain the features A1, A2, A3 and A4 output by the first branch network to the fourth branch network respectively.

[0091] In this embodiment, the multi-scale feature extraction module includes three feature extraction sub-modules with the same structure and connected in parallel, wherein each feature extraction sub-module has a convolution layer and an activation layer. The multi-scale feature extraction module can extract feature information of multiple scales from medical images (such as CT images) to facilitate subsequent data processing.

[0092] The following is a detailed introduction to the aggregation distribution module:

[0093] Reference Figure 2 , the aggregation distribution module includes a first feature processing module and a second feature processing module;

[0094] Aggregating features of a corresponding scale among features of multiple scales and distributing them to features of the corresponding scale in step S120 includes the following steps S310 to S340:

[0095] Step S310: input feature A1, feature A2, feature A3 and feature A4 into the first feature processing module, so that the first feature processing module aligns feature information of different scales and fuses the aligned feature information to obtain feature S1.

[0096] Step S320: Merge feature S1 with feature A2 and feature A3 respectively to obtain feature B2 corresponding to feature A2 and feature B3 corresponding to feature A3.

[0097] Step S330: input feature A1, feature B2 and feature B3 into the second feature processing module, so that the second feature processing module aligns feature information of different scales and fuses the aligned feature information to obtain feature S2.

[0098] Step S340: Fuse feature S2 with feature A1 and feature B2 respectively to obtain feature C1 corresponding to feature A1 and feature C2 corresponding to feature B2. Feature C1, feature C2 and feature C2 are used as output features of the aggregation distribution module.

[0099] The fusion of multi-scale features often uses Feature Pyramid Network (FPN) + Path Aggregation Network (PAN), but the combination of Feature Pyramid Network + Path Aggregation Network can only fuse feature information of adjacent scales. If it is a feature of non-adjacent scales, it needs to be obtained through interval recursion, which will cause a certain degree of feature information loss. For example, the above output A1, A2, A3 and A4, feature A1 needs to obtain the feature information of feature A2, it can directly fuse feature A1 and feature A2, but if feature A1 needs to obtain the feature information of feature A3, it will first fuse feature A2 and feature A3, and then fuse the fusion result of feature A2 and feature A3 with feature A1. This is an indirect acquisition method. Obviously, this method will lead to significant information loss, which will affect the final recognition result of the model.

[0100] Therefore, this embodiment proposes a first feature processing module and a second feature processing module, and aligns features A1, A2, A3, and A4 (i.e., aligns features of different global scales) through the first feature processing module, and fuses the aligned features A1, A2, A3, and A4 to obtain feature S1, which is feature information of multiple scales. Feature S1 is then fused with features A2 and A3 of relatively larger scales, respectively, and feature S1, which is feature information of multiple scales, is directly fused with features of relatively larger scales to obtain feature B2 corresponding to feature A2 and feature B3 corresponding to feature A3.

[0101] The features A1, B2 and B3 are input into the second feature processing module, the features A1, B2 and B3 are aligned (the features of different global scales are aligned again for subsequent fusion), and the feature S2 is fused with the relatively smaller scale features A1 and B2, respectively, to obtain the feature C1 corresponding to the feature A1 and the feature C2 corresponding to the feature B2.

[0102] This implementation method uses a unified module to align and fuse the global information in batches (the first time is to align features A1, A2, A3 and A4, and the second time is to align features A1, B2 and B3) and inject them into feature maps of different levels in batches (the first time is to inject relatively large features A2 and A3, and the second time is to inject relatively small-scale features A1 and B2), so as to avoid the loss of feature information caused by indirect fusion and improve the network's recognition ability of CT images.

[0103] The first feature processing module is described in detail below;

[0104] Reference Figure 3 , in step S310, the first feature processing module includes a first alignment module and a first aggregation module;

[0105] The step S310 aligns feature information of different scales and fuses the aligned feature information to obtain feature S1, including the following steps S410 to S470:

[0106] Align the feature information of different scales and fuse the aligned feature information to obtain feature S1, including:

[0107] Step S410: Select one of the features A1, A2, A3 and A4 as a first standard feature through a first alignment module.

[0108] Step S420: bilinearly interpolate features other than the first standard feature into features of the same size as the first standard feature through a first alignment module.

[0109] Step S430: The first standard feature and other features of the same size as the first standard feature are fused through a first alignment module to obtain a fused feature P1.

[0110] Step S440: Convolve the fused feature P1 through the first aggregation module to obtain feature P2.

[0111] Step S450: structurally reparameterize feature P2 through the first aggregation module to obtain feature P3.

[0112] Step S460: Convolve feature P3 through the first aggregation module to obtain feature P4.

[0113] Step S470: Split the feature P4 through the first aggregation module to obtain feature S1.

[0114] In steps S410 to S430, one of the features is selected as a feature of standard scale, for example, feature A2 is selected as the standard feature, and then feature A1 is upsampled by bilinear interpolation to expand it to the size of feature A2, feature A3 is downsampled by bilinear interpolation to reduce it to the size of feature A2, and feature A4 is downsampled by bilinear interpolation to reduce it to the size of feature A2.

[0115] In step S440 to step S470, the first aggregation module includes convolution, structural reparameterization and Split operations, wherein the addition of structural reparameterization can improve the effect of feature fusion.

[0116] Reference Figure 4 , the second feature processing module includes a second alignment module and a second aggregation module;

[0117] The step S330 of aligning feature information of different scales and fusing the aligned feature information to obtain feature S2 includes the following steps S510 to S580:

[0118] Step S510: Select one of the features A1, B2 and B3 as the second standard feature through the second alignment module.

[0119] Step S520: Using a second alignment module, bilinearly interpolate features other than the second standard features into features of the same size as the second standard features.

[0120] Step S530: The second standard feature and other features of the same size as the second standard feature are fused through a second alignment module to obtain a fused feature N1.

[0121] Step S540: Perform multi-head self-attention processing on the fused feature N1 through the second aggregation module to obtain feature N2.

[0122] Step S550: fusing feature N1 and feature N2 through a second aggregation module to obtain feature N3;

[0123] Step S560: Input feature N3 into the feedforward neural network through the second aggregation module to obtain feature N4 output by the feedforward neural network.

[0124] Step S570: The feature N4 is merged with the feature N3 through a second aggregation module to obtain a feature N5.

[0125] Step S580: Perform a Split operation on feature N5 through a second aggregation module to obtain feature S2.

[0126] In steps S510 to S530, one of the features is selected as a feature of a standard scale, for example, feature A1 is selected as the standard feature, and features B2 and B3 are bilinearly interpolated and sampled to be adjusted to the size of feature A1.

[0127] In step S540 to step S580, the second aggregation module includes multi-head self-attention processing, feedforward neural network and Split operation, wherein the addition of multi-head self-attention processing can better process the complex semantic information between multi-scale features. The addition of residual connection improves the effect of model fusion features.

[0128] Step S130: predicting pathological parameters of the medical image according to the fusion features.

[0129] Outputting the pathological parameters of the medical image according to the fusion features in step S130 includes steps S610 and S620:

[0130] Step S610: Use a feature enhancement module to enhance the fused features to obtain enhanced features.

[0131] Step S620: predicting pathological parameters of the medical image according to the enhanced features.

[0132] Step S610 includes:

[0133] Step S611: input the fused features into the feature enhancement module 1 to obtain the feature F1 output by the feature enhancement module 1.

[0134] Step S612: Reduce the scale of feature F1 to 1 / 2 of feature F1, and input it into feature enhancement module 2 to obtain feature F2 output by feature enhancement module 2.

[0135] Step S613: Reduce the scale of feature F2 to 1 / 2 of feature F2, and input it into feature enhancement module 3 to obtain feature F3 output by feature enhancement module 3.

[0136] Step S614 , reducing the scale of feature F3 to 1 / 2 of feature F3 , and inputting it into feature enhancement module 4 , so as to obtain feature F4 output by feature enhancement module 4 .

[0137] Step S615: enlarge the scale of feature F4 to twice that of feature F4, fuse it with feature F3, and input it into feature enhancement module 5 to obtain feature F5 output by feature enhancement module 5.

[0138] Step S616: enlarge the scale of feature F5 to twice that of feature F5, fuse it with feature F2, and input it into feature enhancement module 6 to obtain feature F6 output by feature enhancement module 6.

[0139] Step S617: enlarge the scale of feature F6 to twice that of feature F6, fuse it with feature F1, and input it into feature enhancement module 7 to obtain feature F7 output by feature enhancement module 7.

[0140] The processing flow of the feature enhancement module includes:

[0141]

[0142] Wherein, T represents the fusion feature, f conv represents the convolution operation, f CBAM represents the CBAM convolution attention operation, concat represents the feature fusion operation, Bilinear1 represents the bilinear interpolation downsampling operation, and Bilinear2 represents the bilinear interpolation upsampling operation.

[0143] The CBAM convolutional attention includes 1 channel attention, which obtains the output feature map of the channel attention and the weighted sum of the data, and then inputs 1 spatial attention, which obtains the output feature map of the spatial attention and the weighted sum of the data to obtain the result of the CBAM convolutional attention.

[0144] In the conventional processing method, the fused features obtained in step S120 will be directly analyzed to obtain the predicted results. However, this embodiment also provides multiple feature enhancement modules. On the one hand, the fused features can be enhanced through the feature enhancement modules, in which the CBAM convolution attention is added to improve the ability of the feature enhancement module to retain more detail feature information. On the other hand, multiple feature enhancement modules form a U-shaped network structure. The left and right sides of the U-shaped network structure are directly connected to each other, which can alleviate the gradient disappearance problem. Moreover, after the feature enhancement of the U-shaped network structure, the ability to recover the detail features can be significantly improved, and more detail feature information can be retained, thereby improving the accuracy of the final result recognition.

[0145] In step S620, a prediction box may be used, which is common knowledge in the field and will not be described in detail here.

[0146] This method constructs a feature extraction module for medical images, and inputs the medical images into the feature extraction module to obtain the fusion features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used to extract the multi-scale features of the medical image, the aggregation distribution module is used to aggregate and distribute the features of the corresponding scales in the multi-scale features to the features of the corresponding scales, the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain the fusion features, and finally use the fusion features to predict the pathological parameters of the medical image. This method can improve the accuracy of the model in predicting pathological parameters and better assist doctors in making accurate diagnosis of cerebral hemorrhage.

[0147] An embodiment of the present application provides a medical image processing system for cerebral hemorrhage, the processing system comprising:

[0148] An image selection module is used to select medical images of patients with cerebral hemorrhage;

[0149] A feature fusion module is used to construct a feature extraction module for medical images, and input the medical images into the feature extraction module to obtain fused features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used to extract multi-scale features of medical images, the aggregation distribution module is used to aggregate features of corresponding scales in the multi-scale features and distribute them to features of corresponding scales, and the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain fused features;

[0150] The data prediction unit is used to predict the pathological parameters of the medical image according to the fusion features.

[0151] It should be noted that this embodiment and the above method embodiment are based on the same inventive concept, so the relevant contents of the above method embodiment are also applicable to this embodiment and will not be described in detail here.

[0152] like Figure 5 The present application also provides an electronic device, which includes:

[0153] at least one memory;

[0154] at least one processor;

[0155] at least one program;

[0156] The programs are stored in the memory, and the processor executes at least one program to implement the medical image processing method for cerebral hemorrhage described in the present disclosure.

[0157] The electronic device may be any intelligent terminal including a mobile phone, a tablet computer, a personal digital assistant (PDA), a vehicle-mounted computer, etc.

[0158] The electronic device according to the embodiment of the present application is described in detail below.

[0159] The processor 1600 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0160] The memory 1700 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1700 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the program code is stored in the memory 1700, and the processor 1600 calls and executes the medical image processing method for cerebral hemorrhage in the embodiment of the present application.

[0161] Input / output interface 1800, used to implement information input and output;

[0162] The communication interface 1900 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0163] Bus 2000 , which transmits information between various components of the device (e.g., processor 1600 , memory 1700 , input / output interface 1800 , and communication interface 1900 );

[0164] The processor 1600 , the memory 1700 , the input / output interface 1800 , and the communication interface 1900 are connected to each other in communication within the device via the bus 2000 .

[0165] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the above-mentioned medical image processing method for cerebral hemorrhage.

[0166] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor 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.

[0167] The embodiments described in this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0168] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0169] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0170] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0171] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0172] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0173] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0174] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0175] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0176] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable an electronic device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store programs.

[0177] The above is a specific description of the preferred implementation of the embodiments of the present application, but the embodiments of the present application are not limited to the above-mentioned implementation methods. Technical personnel familiar with the field can also make various equivalent modifications or substitutions without violating the spirit of the embodiments of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the embodiments of the present application.

Claims

1. A method for processing medical images of cerebral hemorrhage, characterized in that: The processing method comprises: Select medical images of a patient with cerebral hemorrhage; A feature extraction module is constructed for the medical image, and the medical image is input into the feature extraction module to obtain fused features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used to extract multi-scale features of the medical image, the aggregation distribution module is used to aggregate features of corresponding scales in the multi-scale features and distribute them to features of corresponding scales, and the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain fused features; The pathological parameters of the medical image are predicted according to the fusion features.

2. The processing method according to claim 1, characterized in that: The multi-scale feature extraction module includes three feature extraction submodules with the same structure, and the feature extraction submodule includes four branch networks, wherein the first branch network includes a 1×1 convolution layer and a corresponding activation function, the second branch network includes a 1×1 convolution layer and a 3×3 convolution layer and a corresponding activation function, the third branch network includes a 1×1 convolution layer and a 5×5 convolution layer and a corresponding activation function, and the fourth branch network includes a 1×1 convolution layer and a 7×7 convolution layer and a corresponding activation function; The extracting features of multiple scales of the medical image comprises: The medical image is input into the first branch network to the fourth branch network respectively, and features A1, A2, A3 and A4 outputted by the first branch network to the fourth branch network are obtained respectively.

3. The processing method according to claim 2, characterized in that: The aggregation distribution module includes a first feature processing module and a second feature processing module; The aggregating features of a corresponding scale among the features of the multiple scales and distributing the features to features of the corresponding scale includes: Inputting the feature A1, the feature A2, the feature A3 and the feature A4 into a first feature processing module, so that the first feature processing module aligns feature information of different scales and fuses the aligned feature information to obtain feature S1; The feature S1 is merged with the feature A2 and the feature A3 respectively to obtain the feature B2 corresponding to the feature A2 and the feature B3 corresponding to the feature A3; Inputting the feature A1, the feature B2 and the feature B3 into a second feature processing module, so that the second feature processing module aligns feature information of different scales and fuses the aligned feature information to obtain feature S2; The feature S2 is merged with the feature A1 and the feature B2 respectively to obtain the feature C1 corresponding to the feature A1 and the feature C2 corresponding to the feature B2; The feature C1, the feature C2 and the feature B3 are used as output features of the aggregate distribution module.

4. The processing method according to claim 3, characterized in that: The first feature processing module includes a first alignment module and a first aggregation module; The aligning of feature information of different scales and fusing the aligned feature information to obtain feature S1 includes: Selecting one of the feature A1, the feature A2, the feature A3 and the feature A4 as a first standard feature by the first alignment module; Bilinearly interpolating features other than the first standard feature into features of the same size as the first standard feature through the first alignment module; The first standard feature and other features of the same size as the first standard feature are fused by the first alignment module to obtain a fused feature P1; Convolving the fused feature P1 through the first aggregation module to obtain feature P2; Performing structural reparameterization on the feature P2 through the first aggregation module to obtain a feature P3; Convolving the feature P3 through the first aggregation module to obtain feature P4; The first aggregation module performs a Split operation on the feature P4 to obtain a feature S1.

5. The processing method according to claim 3, characterized in that: The second feature processing module includes a second alignment module and a second aggregation module; The aligning of feature information of different scales and fusing the aligned feature information to obtain feature S2 includes: Selecting one of the feature A1, the feature B2 and the feature B3 as a second standard feature by the second alignment module; The second alignment module uses bilinear interpolation to convert features other than the second standard features into features with the same size as the second standard features; The second standard feature and other features of the same size as the second standard feature are fused by the second alignment module to obtain a fused feature N1; Performing multi-head self-attention processing on the fused feature N1 through the second aggregation module to obtain feature N2; The fused feature N1 and the feature N2 are fused by the second aggregation module to obtain a feature N3; Inputting the feature N3 into a feedforward neural network through the second aggregation module to obtain a feature N4 output by the feedforward neural network; The feature N4 is merged with the feature N3 by the second aggregation module to obtain a feature N5; The second aggregation module performs a Split operation on the feature N5 to obtain a feature S2.

6. The processing method according to claim 3, characterized in that: The outputting of the pathological parameter recognition result of the medical image according to the fusion feature includes: Using multiple feature enhancement modules to enhance the fused features to obtain enhanced features; predicting pathological parameters of the medical image according to the enhanced features; The fusion feature is enhanced by using multiple feature enhancement modules, and the enhanced features include: Input the fused feature into the feature enhancement module 1 to obtain the feature F1 output by the feature enhancement module 1; The scale of the feature F1 is reduced to 1 / 2 of the feature F1, and the feature F1 is input into the feature enhancement module 2 to obtain the feature F2 output by the feature enhancement module 2; The scale of the feature F2 is reduced to 1 / 2 of the feature F2, and the feature F2 is input into the feature enhancement module 3 to obtain the feature F3 output by the feature enhancement module 3; The scale of the feature F3 is reduced to 1 / 2 of the feature F3, and the feature F3 is input into the feature enhancement module 4 to obtain the feature F4 output by the feature enhancement module 4; The scale of the feature F4 is enlarged to twice that of the feature F4, and after being fused with the feature F3, it is input into the feature enhancement module 5 to obtain the feature F5 output by the feature enhancement module 5; The scale of the feature F5 is enlarged to twice that of the feature F5, and after being fused with the feature F2, it is input into the feature enhancement module 6 to obtain the feature F6 output by the feature enhancement module 6; The scale of the feature F6 is enlarged to twice that of the feature F6, and after being fused with the feature F1, it is input into the feature enhancement module 7 to obtain the feature F7 output by the feature enhancement module 7; the feature F7 is used as the enhanced feature; The processing flow of any one of the feature enhancement modules includes: Wherein, T represents the fusion feature, f conv represents the convolution operation, f CBAM represents the CBAM convolution attention operation, concat represents the feature fusion operation, Bilinear1 represents the bilinear interpolation downsampling operation, and Bilinear2 represents the bilinear interpolation upsampling operation.

7. The processing method according to claim 1, characterized in that: The medical image is a CT image, a PET image, or a PET-CT image.

8. A medical image processing system for cerebral hemorrhage, characterized in that: The processing system comprises: An image selection module is used to select medical images of patients with cerebral hemorrhage; A feature fusion module is used to construct a feature extraction module for the medical image, and input the medical image into the feature extraction module to obtain the fusion features output by the feature extraction module; wherein the feature extraction module includes a multi-scale feature extraction module, an aggregation distribution module and a feature fusion module; the multi-scale feature extraction module is used to extract the multi-scale features of the medical image, the aggregation distribution module is used to aggregate the features of the corresponding scales in the multi-scale features and distribute them to the features of the corresponding scales, and the feature fusion module is used to fuse the output features of the aggregation distribution module to obtain the fusion features; A data prediction unit is used to predict pathological parameters of the medical image according to the fusion features.

9. An electronic device, characterized in that: include: at least one memory; at least one processor; at least one computer program; The computer program is stored in the memory, and the processor executes the at least one computer program to implement: A method for processing medical images for cerebral hemorrhage as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute: A method for processing medical images for cerebral hemorrhage as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • CT image cerebral hemorrhage automatic detection system based on improved Unet

    CN113256609A

  • Cerebral hemorrhage prognosis prediction method and device, electronic equipment and storage medium

    CN113724184A

  • Improved YOLOv4 network model and small target detection method

    CN114663654A

  • Target detection method based on feature fusion and attention mechanism

    CN115424104A

  • Multi-branch image semantic segmentation method and system based on AM and feature fusion

    CN116681889A

Cited By

  • Cerebral hemorrhage medical image fusion method and system

    CN120471969A

  • A cerebral hemorrhage medical image fusion method and system

    CN120471969B

  • Multi-modal frequency domain enhanced critical prediction method and device

    CN121528507A