Chest pathology image classification method and system based on observation mode and feature fusion

By using multi-task networks and dual-branch networks combined with eye tracking data sets in chest image classification to extract attention heat maps and perform data enhancement, the problem of ignoring external knowledge and complex feature relationships in the existing technology is solved, and the image quality is improved. Classification accuracy and interpretability.

CN118411575BActive Publication Date: 2024-08-23EAST CHINA JIAOTONG UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410886320.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-08-23
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Existing chest image classification methods ignore external knowledge and are difficult to capture complex pathological features and lesion area relationships, resulting in insufficient classification accuracy and interpretability.

Method used

Multi-task networks and dual-branch networks based on deep learning are used, combined with eye tracking data sets for pre-training, attention heat maps are extracted, data enhancement and feature fusion are performed, and the sensitivity and interpretability of the model to the lesion area are improved.

Benefits of technology

It improves the accuracy of chest image classification and the interpretability of the model, enhances the ability to process complex information, and improves the discriminability in complex scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118411575B
    Figure CN118411575B
Patent Text Reader

Abstract

The present invention proposes a chest pathology image classification method and system based on observation mode and feature fusion. The method obtains a chest image, preprocesses the chest image, inputs the preprocessed chest image into a pretrained multi-task network, and obtains an attention heat map; based on a deep learning network, a dual-branch network for extracting global and local features is constructed; data enhancement operations are performed on the chest image, and the location area of ​​the lesion in the enhanced chest image is determined according to the attention heat map, and the lesion area is extracted as the input of the local branch, and the enhanced chest image is used as the input of the global branch to obtain global image features and local image features, and fuse them; the classification results are obtained using the fused image features. The present invention processes global and local features separately, thereby fully tapping the complementary information between them, so that the model can better understand and process complex information in the image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer image processing, and in particular to a chest pathology image classification method and system based on observation mode and feature fusion. Background Art

[0002] Chest X-ray examination has become an important means of screening and diagnosing lung diseases. However, with the gradual increase in the number of chest images, manual screening is too time-consuming and laborious. In recent years, with the rapid development of artificial intelligence, many computer-aided diagnosis (CAD) systems have been proposed to alleviate this problem. Computer-aided diagnosis systems can assist radiologists in completing clinical diagnosis work and enable patients to see doctors in time, so as to achieve early diagnosis and early treatment.

[0003] Currently, most chest image classification methods input chest image data into a neural network for disease prediction, achieving good classification performance and promoting the development of CAD-based intelligent diagnosis. However, existing work has the following drawbacks: (1) Most models only use the information of the image itself and ignore the role of external knowledge, which leads to an upper limit on the model effect; (2) Most models use a single neural network model, which makes it difficult to capture various complex pathological features, especially the relationship between the image and the lesion area, which affects the accuracy and generalization ability of classification; (3) Most models lack interpretability, and doctors and patients cannot understand the decision-making process of the model, and thus lack trust in the diagnosis results. Summary of the invention

[0004] In view of the above situation, the main purpose of the present invention is to propose a chest pathology image classification method and system based on observation mode and feature fusion to solve the above technical problems.

[0005] The present invention proposes a chest pathology image classification method based on observation mode and feature fusion, the method comprising the following steps:

[0006] Step 1: Based on the deep learning network, a multi-task network is constructed, and the multi-task network is pre-trained using the given eye tracking chest image dataset;

[0007] Step 2: Obtain a chest image, preprocess the chest image, input the preprocessed chest image into the pre-trained multi-task network, and obtain an attention heat map;

[0008] Step 3: Based on the deep learning network, a dual-branch network is constructed to extract global and local features;

[0009] Step 4: Perform data enhancement on the chest image, determine the location of the lesion in the enhanced chest image according to the attention heat map, extract the lesion area as the input of the local branch, and use the enhanced chest image as the input of the global branch to obtain global image features and local image features;

[0010] Step 5: Fuse global image features and local image features to obtain more comprehensive information;

[0011] Step 6: After inputting the fused image features into the pooling layer and the fully connected layer, the classification results are obtained.

[0012] The present invention further proposes a chest pathology image classification system based on observation mode and feature fusion, wherein the system applies the chest pathology image classification method based on observation mode and feature fusion as described above, and the system comprises:

[0013] Multi-task network building blocks for:

[0014] Based on the deep learning network, a multi-task network is constructed and pre-trained using the given eye tracking chest image dataset;

[0015] Attention heatmap extraction module, used for:

[0016] Obtain a chest image, preprocess the chest image, input the preprocessed chest image into a pre-trained multi-task network, and obtain an attention heat map;

[0017] Dual-branch network building blocks for:

[0018] Based on the deep learning network, a dual-branch network is constructed to extract global and local features;

[0019] Feature extraction module for:

[0020] Perform data enhancement on the chest image, determine the location of the lesion in the enhanced chest image according to the attention heat map, extract the lesion area as the input of the local branch, and use the enhanced chest image as the input of the global branch to obtain global image features and local image features;

[0021] Feature fusion module, used for:

[0022] Fusion of global image features and local image features to obtain more comprehensive information;

[0023] Classification module for:

[0024] After the fused image features are input into the pooling layer and the fully connected layer, the classification result is obtained.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] (1) The present invention designs a dual-branch network to process global and local features respectively, thereby fully exploring the complementary information between them, so that the model can better understand and process the complex information in the image;

[0027] (2) Design a pre-trained network to fully explore the clinical visual observation patterns of professional doctors, seamlessly embed them into local branches, accurately locate areas where lesions may exist, guide local branches to learn key features, improve the interpretability of the model and its sensitivity to lesion areas, and improve the classification accuracy of chest images, which can better assist doctors in clinical diagnosis;

[0028] (3) Design a plug-and-play triple convolutional attention module to extract the correlation between channels, height and width at the same time, extract multi-scale information, suppress the noise information in the features, and use the residual connection idea for feature refinement;

[0029] (4) Design a convolutional attention fusion module to fuse global and local features, obtain more comprehensive information, enhance the expressiveness and discriminability of features, and improve the performance of the model in various complex scenarios.

[0030] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description or learned through embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A flowchart of a chest pathology image classification method based on observation mode and feature fusion proposed by the present invention;

[0032] Figure 2 This is the overall architecture diagram of the chest pathology image classification method based on observation mode and feature fusion proposed by the present invention;

[0033] Figure 3 Schematic diagram of the multi-task network structure in the present invention;

[0034] Figure 4 This is a schematic diagram of the structure of the chest pathology image classification system based on observation mode and feature fusion proposed in the present invention. DETAILED DESCRIPTION

[0035] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0036] These and other aspects of the embodiments of the present invention will be apparent with reference to the following description and accompanying drawings. In these descriptions and accompanying drawings, some specific implementations of the embodiments of the present invention are specifically disclosed to represent some ways of implementing the principles of the embodiments of the present invention, but it should be understood that the scope of the embodiments of the present invention is not limited thereto.

[0037] See also Figure 1 and Figure 2 This embodiment provides a chest pathology image classification method based on observation mode and feature fusion, and the method includes the following steps:

[0038] Step 1: Based on the deep learning network, a multi-task network is constructed, and the multi-task network is pre-trained using the given eye tracking chest image dataset;

[0039] In step 1, the method for pre-training the multi-task network using a given eye tracking chest image dataset specifically includes the following steps:

[0040] The given eye-tracking chest imaging dataset includes several chest imaging images, corresponding disease type annotations, and gaze position data left by doctors wearing eye trackers when observing the images;

[0041] Generate a corresponding attention heat map for the images in the eye tracking chest imaging dataset in combination with the gaze position data according to the code provided by the dataset collector;

[0042] like Figure 3 As shown in the figure, the multi-task network uses the ResNet-101 network to scale and normalize the chest image, and input it into the ResNet-101 network to extract image features. The image features are passed through the global average pooling layer, the fully connected layer and the Sigmoid activation function to obtain the classification prediction value, and the loss is calculated with the disease type annotation as the classification task loss;

[0043] The classification task loss is expressed as:

[0044] ;

[0045] in, represents the binary cross entropy loss function for classification tasks, represents the total number of chest disease categories, Indicates different chest diseases, Belongs to the collection , Indicates the type of disease. represents the input eye-tracking chest image, Display pictures Belongs to category The probability of

[0046] Take the last convolutional layer feature of the ResNet-101 network and multiply it with the corresponding weight in the fully connected layer to get the predicted attention heat map. Calculate the loss with the attention heat map generated by the dataset as the heat map task loss;

[0047] Take the last convolutional layer feature of the ResNet-101 network and multiply it with the corresponding weight in the fully connected layer to get the predicted attention heat map process as follows:

[0048] ;

[0049] in, Represents the attention heatmap generated by the multi-task network, Represents the convolutional layer The feature corresponding to The weights of the fully connected layer for each category, Indicates the last convolutional layer Features

[0050] The heatmap task loss is expressed as:

[0051] ;

[0052] in, represents the mean squared error loss for the heatmap task, Indicates the first The value of the pixel, Represents the first The value of the pixel;

[0053] Integrate the classification task loss and the heat map task loss to calculate the overall loss of the multi-task network.

[0054] The overall loss of the multi-task network is expressed as:

[0055] ;

[0056] in, Represents the overall loss of the multi-task network.

[0057] Step 2: Obtain a chest image, preprocess the chest image, input the preprocessed chest image into the pre-trained multi-task network, and obtain an attention heat map;

[0058] In this embodiment, the preprocessing adopts scaling and normalization operations.

[0059] Step 3: Based on the deep learning network, a dual-branch network is constructed to extract global and local features;

[0060] In step 3, based on the deep learning network, the method for constructing a dual-branch network for extracting global and local features specifically includes the following steps:

[0061] The ResNet-50 network is used as the basis. The ResNet-50 network includes an input convolutional layer, a residual block, a pooling layer, and a fully connected layer. The pooling layer and the fully connected layer in the ResNet-50 network are replaced with a triple convolutional attention module to form the network backbone. The two independent network backbones constitute a dual-branch network.

[0062] In this embodiment, the triple convolutional attention module consists of three branches;

[0063] Among them, the first branch uses convolution kernels of different sizes to perform group convolution on the original features to obtain multi-scale information, reduce computational costs and model parameters, and input the grouped convolution features into the global average pooling layer to obtain the channel attention vector. Then, different weights are assigned to different channel dimensions through the Sigmoid function, and the attention vector of each channel is recalibrated using the Softmax function to obtain the weight of each channel. Finally, the recalibrated channel weights and the corresponding feature maps are dot-producted to generate refined global features containing multi-scale discriminant information.

[0064] The second branch first reconstructs the dimensions of the original features, and uses the transpose function to adjust the dimensions of the original features from the order of "channel × height × width" to the order of "height × channel × width", that is, to convert the feature map originally based on the channel as the main dimension into a feature map based on the height as the main dimension. Then, the dimensionally reconstructed features are subjected to global average pooling and convolution operations to explore the relationship between the channel dimension and the width dimension under different height dimensions to obtain refined features. Finally, the refined features are multiplied with the dimensionally reconstructed features and the dimensions are reconstructed to "channel × height × width" to obtain the new second branch refined features.

[0065] The third branch first reconstructs the dimensions of the original features, and uses the transposition function to adjust the dimensions of the original features from the order of "channel × height × width" to the order of "width × height × channel", that is, to convert the feature map originally based on the channel as the main dimension into a feature map based on the width as the main dimension. Then, the dimensionally reconstructed features are subjected to global average pooling and convolution operations to explore the relationship between the height dimension and the channel dimension under different width dimensions to obtain refined features. Finally, the refined features are multiplied with the dimensionally reconstructed features and the dimensions are reconstructed to "channel × height × width" to obtain the new third branch refined features.

[0066] The refined features output by the three branches are added together to calculate the average value and input into a convolutional layer to make full use of the features from different branches to obtain the optimized image features.

[0067] Step 4: Perform data enhancement on the chest image, determine the location of the lesion in the enhanced chest image according to the attention heat map, extract the lesion area as the input of the local branch, and use the enhanced chest image as the input of the global branch to obtain global image features and local image features;

[0068] The enhancement operations used in this step are scaling, random cropping, random rotation and normalization operations.

[0069] In this step, the global branch receives the complete image in the chest imaging dataset, and the ResNet-50 network extracts global features. The triple convolution attention module establishes cross-channel and cross-dimensional interactions, eliminates redundant information, and obtains refined global features.

[0070] The attention heat map is used to determine the location of the lesion in the chest image, the lesion area corresponding to the chest image is cropped and enlarged to the original image size, and then input into the local branch;

[0071] In the local branch, the ResNet-50 network extracts local features, establishes cross-channel and cross-dimensional interactions through the triple convolutional attention module, eliminates redundant information, and obtains refined local features.

[0072] Step 5: Fuse global image features and local image features to obtain more comprehensive information;

[0073] In step 5, the method of fusing the global image features and the local image features to obtain more comprehensive information specifically includes the following steps:

[0074] The global features and local features are respectively passed through the convolution layer with a convolution kernel size of 1 to perform feature adaptation and reshape the dimensions to obtain the reshaped local features and global features. The process relationship is as follows:

[0075] ;

[0076] in, Represents the local features after feature adaptation and reshaping. represents the global features after feature adaptation and reshaping. Represents a reshaping operation, represents the convolution operation, represents the original local features, represents the original global features;

[0077] Multiply the reshaped local features and global features to obtain the intermediate significant features. The process relationship is as follows:

[0078] ;

[0079] in, represents the intermediate significant feature, represents the normalized exponential function, The number of channels representing features;

[0080] The intermediate saliency features are multiplied by the reshaped local features and global features respectively, and the dimensional features are reshaped to obtain the local features and global features that finally fuse different information. The local features and global features are added and averaged to obtain the fused features, which corresponds to the following formula:

[0081] ;

[0082] in, represents the final global feature, represents the final local feature, Represents the local features after feature adaptation and reshaping. Represents fusion features.

[0083] Step 6: After inputting the fused image features into the pooling layer and the fully connected layer, the classification results are obtained.

[0084] This embodiment also discloses a training process of a dual-branch network, and the specific steps are as follows:

[0085] The given eye tracking chest imaging dataset includes several chest imaging images and corresponding disease type annotations;

[0086] Using the given chest image to obtain global features, local features and fusion features, the global features, local features and fusion features are input into three independent pooling layers and a fully connected layer respectively to obtain their respective prediction outputs;

[0087] The three predicted outputs are labeled with the disease types and the overall loss is calculated. The model performance is optimized by minimizing the total loss.

[0088] The loss functions corresponding to the three prediction outputs and the disease type labeling calculation losses are the global branch loss function, the local branch loss function, and the fusion loss function;

[0089] Among them, the construction process of the global branch loss function is as follows:

[0090] Based on the binary cross entropy loss function, the global branch loss function is constructed using the final global feature output probability and disease type annotation. The global branch loss function is expressed as:

[0091] ;

[0092] in, represents the global branch loss function, Indicates that the final global feature belongs to the category probability;

[0093] Among them, the construction process of the local branch loss function is as follows:

[0094] Based on the binary cross entropy loss function, the local branch loss function is constructed using the final output probability of the local features and the disease type annotation. The local branch loss function is expressed as:

[0095] ;

[0096] in, represents the local branch loss function, Indicates that the final local feature belongs to the category probability;

[0097] Among them, the construction process of the fusion loss function is as follows:

[0098] Based on the binary cross entropy loss function, the fusion loss function is constructed using the output probability of the final fusion feature and the disease type label. The fusion loss function is expressed as:

[0099] ;

[0100] in, represents the fusion loss function, Indicates that the final fusion feature belongs to the category probability;

[0101] Among them, the construction process of the total loss function is as follows:

[0102] The total loss function is constructed using the global branch loss function, the local branch loss function and the fusion loss function. The total loss function is expressed as:

[0103] ;

[0104] in, Represents the total loss function of the two-branch network.

[0105] Please refer to Figure 4This embodiment further provides a chest pathology image classification system based on observation mode and feature fusion, wherein the system applies the chest pathology image classification method based on observation mode and feature fusion as described above, and the system includes:

[0106] Multi-task network building blocks for:

[0107] Based on the deep learning network, a multi-task network is constructed and pre-trained using the given eye tracking chest image dataset;

[0108] Attention heatmap extraction module, used for:

[0109] Obtain a chest image, preprocess the chest image, input the preprocessed chest image into a pre-trained multi-task network, and obtain an attention heat map;

[0110] Dual-branch network building blocks for:

[0111] Based on the deep learning network, a dual-branch network is constructed to extract global and local features;

[0112] Feature extraction module for:

[0113] Perform data enhancement on the chest image, determine the location of the lesion in the enhanced chest image according to the attention heat map, extract the lesion area as the input of the local branch, and use the enhanced chest image as the input of the global branch to obtain global image features and local image features;

[0114] Feature fusion module, used for:

[0115] Fusion of global image features and local image features to obtain more comprehensive information;

[0116] Classification module for:

[0117] After the fused image features are input into the pooling layer and the fully connected layer, the classification result is obtained.

[0118] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0119] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A chest pathology image classification method based on observation mode and feature fusion, characterized in that: The method comprises the following steps: Step 1: Based on the deep learning network, a multi-task network is constructed, and the multi-task network is pre-trained using the given eye tracking chest image dataset; Step 2: Obtain a chest image, preprocess the chest image, input the preprocessed chest image into the pre-trained multi-task network, and obtain an attention heat map; Step 3: Based on the deep learning network, a dual-branch network is constructed to extract global and local features; Step 4: Perform data enhancement on the chest image, determine the location of the lesion in the enhanced chest image according to the attention heat map, extract the lesion area as the input of the local branch, and use the enhanced chest image as the input of the global branch to obtain global image features and local image features; Step 5: Fuse global image features and local image features to obtain more comprehensive information; Step 6: Input the fused image features into the pooling layer and the fully connected layer to obtain the classification results; In step 3, based on the deep learning network, the method for constructing a dual-branch network for extracting global and local features specifically includes the following steps: Based on the ResNet-50 network, which includes input convolutional layers, residual blocks, pooling layers, and fully connected layers, the pooling layers and fully connected layers in the ResNet-50 network are replaced with triple convolutional attention modules to form the network backbone. Two independent network backbones form a dual-branch network. In step 1, the method for pre-training the multi-task network using a given eye tracking chest image dataset specifically includes the following steps: The given eye-tracking chest imaging dataset includes several chest imaging images, corresponding disease type annotations, and gaze position data left by doctors wearing eye trackers when observing the images; Generate a corresponding attention heat map for the images in the eye tracking chest imaging dataset in combination with the gaze position data according to the code provided by the dataset collector; The multi-task network uses the ResNet-101 network to scale and normalize the chest images, and then inputs them into the ResNet-101 network to extract image features. The image features are then passed through the global average pooling layer, the fully connected layer, and the Sigmoid activation function to obtain the classification prediction value, which is then calculated together with the disease type annotation loss as the classification task loss. Take the last convolutional layer feature of the ResNet-101 network and multiply it with the corresponding weight in the fully connected layer to get the predicted attention heat map. Calculate the loss with the attention heat map generated by the dataset as the heat map task loss; Integrate the classification task loss and heat map task loss to calculate the overall loss of the multi-task network; The triple convolutional attention module consists of three branches; The first branch uses convolution kernels of different sizes to perform group convolution on the original features to obtain multi-scale information, and then inputs the grouped convolution features into the global average pooling layer to obtain the channel attention vector. Then, the Sigmoid function is used to assign different weights to different channel dimensions, and the Softmax function is used to recalibrate the attention vector of each channel to obtain the weight of each channel. Finally, the recalibrated channel weights and the corresponding feature maps are dot-producted to generate refined global features containing multi-scale discriminant information. The second branch uses the transposition function to adjust the dimensions of the original features from the order of "channel × height × width" to the order of "height × channel × width" to achieve feature dimension reconstruction. Then, global average pooling and convolution operations are performed on the dimensionally reconstructed features to explore the relationship between the channel dimension and the width dimension under different height dimensions to obtain refined features. Finally, the refined features and the dimensionally reconstructed features are multiplied and reconstructed to "channel × height × width" to obtain new second branch refined features. The third branch uses the transposition function to adjust the dimensions of the original features from the order of "channel × height × width" to the order of "width × height × channel" to achieve feature dimension reconstruction. Then, global average pooling and convolution operations are performed on the dimensionally reconstructed features to explore the relationship between the height dimension and the channel dimension under different width dimensions to obtain refined features. Finally, the refined features and the dimensionally reconstructed features are multiplied and reconstructed into the dimension of "channel × height × width" to obtain new third branch refined features. The refined features output by the three branches are added together to calculate the average value and input into a convolutional layer to make full use of the features from different branches to obtain the optimized image features.

2. The chest pathology image classification method based on observation mode and feature fusion according to claim 1 is characterized in that: The classification task loss is expressed as: ; in, represents the binary cross entropy loss function for classification tasks, represents the total number of chest disease categories, Indicates different chest diseases, Belongs to the collection , Indicates the type of disease. represents the input eye-tracking chest image, Display pictures Belongs to category probability; Take the last convolutional layer feature of the ResNet-101 network and multiply it with the corresponding weight in the fully connected layer to get the predicted attention heat map process as follows: ; in, Represents the attention heatmap generated by the multi-task network, Represents the first feature corresponding to the convolutional layer The feature corresponding to The weights of the fully connected layer for each category, Indicates the last convolutional layer Features The heatmap task loss is expressed as: ; in, represents the mean squared error loss for the heatmap task, Indicates the first The value of the pixel, Represents the first The value of the pixel; The overall loss of the multi-task network is expressed as: ; in, Represents the overall loss of the multi-task network.

3. The chest pathology image classification method based on observation mode and feature fusion according to claim 1 is characterized in that: In step 5, the method of fusing the global image features and the local image features to obtain more comprehensive information specifically includes the following steps: The global features and local features are respectively passed through the convolution layer with a convolution kernel size of 1 to perform feature adaptation and reshape the dimensions to obtain the reshaped local features and global features. The process relationship is as follows: ; in, represents the local features after feature adaptation and reshaping. represents the global features after feature adaptation and reshaping. Represents a reshaping operation, represents the convolution operation, represents the original local features, represents the original global features; Multiply the reshaped local features and global features to obtain the intermediate significant features. The process relationship is as follows: ; in, represents the intermediate significant feature, represents the normalized exponential function, The number of channels representing features; The intermediate saliency features are multiplied by the reshaped local features and global features respectively, and the dimensional features are reshaped to obtain the local features and global features that finally fuse different information. The local features and global features are added and averaged to obtain the fused features, which corresponds to the following formula: ; in, represents the final global feature, represents the final local feature, represents the local features after feature adaptation and reshaping. Represents fusion features.

4. The chest pathology image classification method based on observation mode and feature fusion according to claim 3 is characterized in that: The training process of the dual-branch network specifically includes the following steps: The given eye tracking chest imaging dataset includes several chest imaging images and corresponding disease type annotations; Using the given chest image to obtain global features, local features and fusion features, the global features, local features and fusion features are input into three independent pooling layers and a fully connected layer respectively to obtain their respective prediction outputs; The three predicted outputs are labeled with the disease types and the loss is calculated, and the overall loss is calculated.

5. The chest pathology image classification method based on observation mode and feature fusion according to claim 4 is characterized in that: The process of calculating the loss of the three predicted outputs and the disease type labels and calculating the overall loss includes the following steps: Based on the binary cross entropy loss function, the global branch loss function is constructed using the predicted output of the global features and the disease type annotation. The global branch loss function is expressed as: ; in, represents the global branch loss function, Indicates that the final global feature belongs to the category probability; Based on the binary cross entropy loss function, the local branch loss function is constructed using the predicted output of local features and the disease type annotation. The local branch loss function is expressed as: ; in, represents the local branch loss function, Indicates that the final local feature belongs to the category probability; Based on the binary cross entropy loss function, the fusion loss function is constructed by using the predicted output of the fusion features and the disease type annotation. The fusion loss function is expressed as: ; in, represents the fusion loss function, Indicates that the final fusion feature belongs to the category probability; The total loss function is expressed as: ; in, Represents the total loss function of the two-branch network; By minimizing the total loss, the accuracy of the classification results can be improved.

6. A chest pathology image classification system based on observation mode and feature fusion, characterized in that: The system applies the chest pathology image classification method based on observation mode and feature fusion as described in any one of claims 1 to 5, and the system comprises: Multi-task network building blocks for: Based on the deep learning network, a multi-task network is constructed and pre-trained using the given eye tracking chest image dataset; Attention heatmap extraction module, used for: Obtain a chest image, preprocess the chest image, input the preprocessed chest image into a pre-trained multi-task network, and obtain an attention heat map; Dual-branch network building blocks for: Based on the deep learning network, a dual-branch network is constructed to extract global and local features; Feature extraction module for: Perform data enhancement on the chest image, determine the location of the lesion in the enhanced chest image according to the attention heat map, extract the lesion area as the input of the local branch, and use the enhanced chest image as the input of the global branch to obtain global image features and local image features; Feature fusion module, used for: Fusion of global image features and local image features to obtain more comprehensive information; Classification module for: After the fused image features are input into the pooling layer and the fully connected layer, the classification result is obtained.