Image report generation method and device, electronic equipment and storage medium

By extracting and merging features of medical images from different perspectives and combining them with the decision-making of the text classification model, the problem of relying on experience and incomplete perspective features in image report generation in the existing technology is solved, and the accuracy of the image report is improved.

CN118675680APending Publication Date: 2024-09-20HISENSE GRP HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310268095.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing image report generation methods are highly dependent on doctors' experience, and deep learning models based on a single medical image fail to fully consider feature information from each perspective, resulting in poor accuracy of image reports.

Method used

By acquiring medical images from different perspectives, a pre-trained image feature extraction model is used for feature extraction and fusion, combined with a text classification model to generate an image report, and joint decision-making is used to generate the final examination results.

Benefits of technology

It improves the accuracy of image reports, integrates medical image features and text description features, and generates more accurate image reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675680A
    Figure CN118675680A
Patent Text Reader

Abstract

The invention discloses an image report generation method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the feature extraction of each medical image through an image feature extraction model, carrying out the fusion of each extracted feature, and obtaining a first examination result; the feature information of the medical images under different visual angles is fused, and the accuracy of the first examination result is improved. And inputting text description information determined according to the category information of each disease feature obtained according to the image feature extraction model into a text classification model, determining a second examination result based on the text classification model, performing joint decision by combining the first examination result and the second examination result, and determining a target examination result. The target examination result fuses the medical image features and the text description features, so that the image report generated according to the target examination result is better in accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer-assisted medical technology, and in particular to an imaging report generation method, device, electronic device and storage medium. Background Art

[0002] Existing imaging report generation methods generally include the following two methods: the first is that the doctor observes the medical image, determines the patient's examination results based on the doctor's medical experience and the medical image, and generates an imaging report based on the examination results; the second is to select one of the multiple collected medical images and input it into the deep learning model, extract features of the selected medical image based on the deep learning model, obtain the examination results, and generate an imaging report based on the examination results.

[0003] The problem with existing technologies is that the method of generating imaging reports by observing medical images by doctors is heavily dependent on experience, which can easily lead to poor accuracy of imaging reports in the absence of experience. An examination usually requires multiple medical images to be taken from different perspectives. The current method of generating imaging reports based on a single medical image through a deep learning model fails to fully consider the feature information of medical images from various perspectives, which can also easily lead to poor accuracy of imaging reports. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for generating an image report, so as to solve the problem that the image reports generated by the existing methods have poor accuracy.

[0005] In a first aspect, the present application provides a method for generating an imaging report, the method comprising:

[0006] Obtain medical images taken from different perspectives, input each medical image into a pre-trained image feature extraction model, extract features from each medical image based on the image feature extraction model, fuse the extracted features, and determine category information of each disease feature and a first examination result based on the fused features;

[0007] Determine text description information according to the category information of each symptom feature; input the text description information into a pre-trained text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second examination result;

[0008] A joint decision is made on the first inspection result and the second inspection result to determine a target inspection result; and an imaging report is generated according to the target inspection result.

[0009] In a second aspect, the present application provides an imaging report generating device, the device comprising:

[0010] An image processing module, used to obtain medical images taken from different perspectives, input each medical image into a pre-trained image feature extraction model, extract features from each medical image based on the image feature extraction model, fuse the extracted features, and determine category information of each disease feature and a first examination result based on the fused features;

[0011] A text processing module, used to determine text description information according to the category information of each symptom feature; input the text description information into a pre-trained text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second examination result;

[0012] A joint processing module is used to make a joint decision on the first inspection result and the second inspection result to determine a target inspection result; and to generate an image report according to the target inspection result.

[0013] In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0014] Memory, used to store computer programs;

[0015] The processor is used to implement the above method steps when executing the program stored in the memory.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method steps when executed by a processor.

[0017] The present application provides an imaging report generation method, device, electronic device and storage medium, the method comprising: acquiring medical images taken from different perspectives, inputting each medical image into a pre-trained image feature extraction model, performing feature extraction on each medical image based on the image feature extraction model, fusing each extracted feature, and determining category information of each disease feature and a first examination result based on the fused feature; determining text description information based on the category information of each disease feature; inputting the text description information into a pre-trained text classification model, performing feature extraction on the text description information based on the text classification model, and obtaining a second examination result; making a joint decision on the first examination result and the second examination result to determine a target examination result; and generating an imaging report based on the target examination result.

[0018] The above technical solution has the following advantages or beneficial effects:

[0019] In the present application, the image feature extraction model extracts features from each medical image, fuses the extracted features, and then obtains the first inspection result. The feature information of medical images from different perspectives is integrated to improve the accuracy of the first inspection result. The text description information determined based on the category information of each disease feature obtained by the image feature extraction model is input into the text classification model, and the second inspection result is determined based on the text classification model. A joint decision is made based on the first inspection result and the second inspection result to determine the target inspection result. The target inspection result integrates the medical image features and the text description features, so that the image report generated according to the target inspection result is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 Schematic diagram of the imaging report generation process provided for this application;

[0022] Figure 2 A feature extraction schematic diagram of the image feature extraction model provided in this application;

[0023] Figure 3 Schematic diagram of the sample medical image processing process provided for this application;

[0024] Figure 4 Schematic diagram of the template for generating the imaging report provided for this application;

[0025] Figure 5 A schematic diagram of another imaging report generation process provided for this application;

[0026] Figure 6 A diagram of the training architecture of each sub-network model in the image feature extraction model provided in this application;

[0027] Figure 7 A schematic diagram of the corresponding relationship between the number of sub-network models provided in this application and the accuracy of the image feature extraction model;

[0028] Figure 8 A schematic diagram of the category information for determining the characteristics of the disease provided for this application;

[0029] Fig. 9 A schematic diagram of the training process of the image feature extraction model provided in this application;

[0030] Fig.10A framework diagram for determining target inspection results provided for this application;

[0031] Fig.11 A schematic diagram of another imaging report generation process provided in this application;

[0032] Fig.12 A schematic diagram of the structure of the imaging report generating device provided in this application;

[0033] Fig.13 This is a schematic diagram of the electronic device structure provided in this application. DETAILED DESCRIPTION

[0034] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0035] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.

[0036] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0037] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0038] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0039] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0040] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

[0041] Figure 1 Schematic diagram of the imaging report generation process provided for this application, which includes the following steps:

[0042] S101: Obtain medical images taken from different perspectives, input each medical image into a pre-trained image feature extraction model, perform feature extraction on each medical image based on the image feature extraction model, fuse the extracted features, and determine category information of each disease feature and a first examination result based on the fused features.

[0043] S102: Determine text description information according to the category information of each symptom feature; input the text description information into a pre-trained text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second examination result.

[0044] S103: Making a joint decision on the first inspection result and the second inspection result to determine a target inspection result; and generating an imaging report according to the target inspection result.

[0045] The image report generation method provided in the present application is applied to an electronic device, which may be a PC, a tablet computer or the like, or a server.

[0046] The medical device will collect multiple medical images of different perspectives during an examination, such as ultrasound images. The medical device sends the medical images of different perspectives to the electronic device, which stores a pre-trained image feature extraction model. It should be noted that if the image feature extraction model has no requirements for the number of input medical images during training, then all medical images acquired by the electronic device can be input into the image feature extraction model. If the image feature extraction model has requirements for the number of input medical images during training, such as four, five, or six medical images of a specified number are input into the image feature extraction model for training, then after the electronic device acquires each medical image, a specified number of medical images are selected from them and input into the pre-trained image feature extraction model. Among them, the medical staff can specify a specified number of medical images as the medical images input into the image feature extraction model, or the electronic device can randomly select a specified number of medical images from each medical image as the medical images input into the image feature extraction model.

[0047] After the electronic device inputs each medical image into the image feature extraction model, it extracts features from each medical image based on the image feature extraction model to obtain each feature. Then, the extracted features are fused, and the category information of each disease feature and the first examination result are determined based on the fused features.

[0048] Figure 2 The feature extraction schematic diagram of the image feature extraction model provided in this application is as follows: Figure 2 As shown, it includes a medical image input part, a feature extraction part for each medical image, and a result output part. The medical image input part inputs medical images of each perspective, and the feature extraction part for each medical image extracts features of each medical image through convolution processing. The result output part fuses the extracted features, and determines the category information of each disease feature and the first examination result based on the fused features.

[0049] Specifically, after extracting features from each medical image based on the image feature extraction model to obtain each feature, a concatenation operation is performed on each feature to integrate each feature, and then a full connection operation is performed on the integrated features, and different results are obtained after the full connection operation through different classification layers. The result output part includes a classification information classification layer of each symptom feature and an inspection result classification layer. After the full connection operation, a classification softmax operation is performed on the classification information classification layer of each symptom feature to obtain the category information of each symptom feature. After the full connection operation, a classification softmax operation is performed on the inspection result classification layer to obtain a first inspection result.

[0050] Specifically, the input of the lesion feature extraction model based on feature fusion of multiple medical images is multiple medical images in one examination. And each medical image is input into the corresponding network backbone for feature extraction. The features of medical images collected from different perspectives are integrated by concatenating the features extracted by different networks. Because each medical image contains the area of ​​the lesion if there is a lesion, all medical images may make similar diagnostic contributions to the feature extraction of the lesion. Therefore, the present application uses multi-feature integration as the extraction of lesion features in lesion feature extraction in medical images. Then, the Concate features are fully connected, and after the full connection, the classification layer softmax is used to classify the lesion description features. The network backbone of the image feature extraction model based on feature fusion of multiple medical images can use networks such as RestNet and MobileNet.

[0051] When training the image feature extraction model, there are the following two situations: Situation 1: the number of sample medical images collected in one examination is greater than the input number specified by the image feature extraction model; Situation 2: the number of sample medical images collected in one examination is less than the input number specified by the image feature extraction model. Figure 3 A schematic diagram of the sample medical image processing process provided in this application. Figure 3 The example is given below with the input number of 4 specified by the image feature extraction model.

[0052] For the above situation 1, the sample medical images collected in one examination are first shuffled, and then grouped into groups of 4 images. The remaining images are acquired from the front to the back, and horizontal mirroring or random cropping is performed to generate new medical images. Horizontal mirroring is used for examinations with symmetrical physiological structures, and random cropping is used for asymmetric structures. For example, breast ultrasound images and thyroid ultrasound images are horizontally mirrored, and cardiac CT images are randomly cropped.

[0053] For the above situation 2, the randomly sampled medical images are horizontally mirrored or randomly cropped in the same manner as above until they are expanded to 4 images.

[0054] After the training of the image feature extraction model is completed, when the image feature extraction model is used, if the number of medical images taken from different perspectives is more than the number of inputs specified by the image feature extraction model, the medical staff shall specify a specified number of medical images as the medical images input to the image feature extraction model, or the electronic device shall randomly select a specified number of medical images from each medical image as the medical images input to the image feature extraction model. If the number of medical images taken from different perspectives is less than the number of inputs specified by the image feature extraction model, the medical images may be horizontally mirrored or randomly cropped until they are expanded to the number of inputs specified by the image feature extraction model.

[0055] The loss function used in image feature extraction model training can be a cross entropy loss function, as follows:

[0056]

[0057] In the formula, the true label value is Y c The predicted value after classification is represented by P c , C represents the category. In order to reduce the overfitting degree of the model during training, L2 regularization can be added to the cross entropy loss function.

[0058] This application uses the diagnosis of benign and malignant thyroid nodules as an example for explanation, and each symptom feature includes composition, echo, morphology, edge, calcification, etc. The category information of the component includes at least one of no abnormality, cystic, cystic-solid, and solid; the category information of the echo includes at least one of anechoic, extremely low echo, low echo, equal echo, and high echo; the category information of the morphology includes at least one of no abnormality, aspect ratio>1, and aspect ratio<1; the category information of the edge includes at least one of no abnormality, smooth, fuzzy, lobed or irregular, and extending outside the thyroid gland; the category information of calcification includes at least one of no abnormality, microcalcification, and coarse calcification. The image feature extraction model uses the category information classification layer of each symptom feature to determine the probability value of each category information of each symptom feature. For each symptom feature, the category information of the symptom feature with the largest probability value is the determined category information of the symptom feature. The image feature extraction model uses the inspection result classification layer to determine the probability value of each sub-result, and then determines the sub-result with the largest probability value as the first inspection result. For example, based on the image feature extraction model, the probability values ​​of each sub-result are determined to be benign 2%, unsuspected malignancy 10%, low suspected malignancy 75%, moderate suspected malignancy 10%, and highly suspected malignancy 3%. The sub-result with the highest probability value, low suspected malignancy, is determined as the first examination result.

[0059] In the present application, after determining the category information of each symptom feature based on the image feature extraction model, the text description information is determined according to the category information of each symptom feature. Among them, the category information of each symptom feature can be input as text description information into a pre-trained text classification model. For example, if the category information of each symptom feature is cystic components, low echo, normal morphology, smooth edges, and microcalcifications, then "cystic components, low echo, normal morphology, smooth edges, and microcalcifications" are input into the text classification model. Feature extraction is performed on the text description information based on the text classification model to obtain a second inspection result. Specifically, feature extraction is performed on the text description information based on the text classification model to determine the probability value of each sub-result, and the sub-result with the highest probability value is selected as the second inspection result.

[0060] For example, based on the text classification model, the probability values ​​of each sub-result are determined to be 8% for benign, 6% for unsuspected malignancy, 72% for low-suspicion malignancy, 4% for moderate-suspicion malignancy, and 10% for high-suspicion malignancy. The sub-result with the highest probability value, low-suspicion malignancy, is determined as the second examination result.

[0061] Finally, a joint decision is made on the first inspection result and the second inspection result to determine the target inspection result. Optionally, the probability value of the first inspection result and the probability value of the second inspection result can be obtained respectively, and the inspection result with a higher probability value is selected as the target inspection result. For example, if the probability value of the first inspection result is 75% and the probability value of the second inspection result is 72%, the first inspection result is determined to be the target inspection result. Then, according to the template of the imaging report, fill in the target inspection result in the position of the diagnosis result to generate the imaging report.

[0062] Figure 4 A schematic diagram of the template for generating the imaging report provided for this application is shown in Figure 4 As shown, the image report generation template includes two parts, the upper part and the lower part. The upper part includes the symptom characteristics and description supplements. The symptom characteristics include composition, echo, morphology, edge, calcification, etc. The description supplement is the symptom description supplementary information filled in by the medical staff. And the medical staff can modify the category information in the symptom characteristics. The lower part includes the conclusion, which is specifically benign TR1, unsuspected malignant TR2, low suspected malignant TR3, moderately suspected malignant TR4, highly suspected malignant TR5 or others.

[0063] In the present application, the image feature extraction model extracts features from each medical image, fuses the extracted features, and then obtains the first inspection result. The feature information of the medical images from various perspectives is integrated to improve the accuracy of the first inspection result. The text description information determined based on the category information of each disease feature obtained by the image feature extraction model is input into the text classification model, and the second inspection result is determined based on the text classification model. A joint decision is made based on the first inspection result and the second inspection result to determine the target inspection result. The target inspection result integrates the medical image features and the text description features, so that the image report generated according to the target inspection result is more accurate.

[0064] In this application, in order to avoid the problem that a single classifier is prone to overfitting, resulting in inaccurate output results, the image feature extraction model includes various sub-network models;

[0065] For each sub-network model, based on the sub-network model, feature extraction is performed on each medical image, each extracted feature is fused, and candidate category information of each disease feature is determined based on the fused features;

[0066] For each symptom feature, the category information of the symptom feature is determined according to the determined number of each candidate category information of the symptom feature.

[0067] The number of sub-network models included in the image feature extraction model can be multiple, for example, 5, 6, 7, etc. Each sub-network model extracts features from each medical image, fuses the extracted features, and determines the candidate category information of each disease feature based on the fused features. Then, for each disease feature, the candidate category information with the largest number is selected as the category information of the disease feature.

[0068] Take the disease feature of calcification as an example. For example, the image feature extraction model includes 7 sub-network models. For the disease feature of calcification, 5 sub-network models determine it as microcalcification, 1 sub-network model determines it as gross calcification, and 1 sub-network model determines it as normal. Microcalcification is the largest in number, so the category information of the disease feature of calcification is determined to be microcalcification.

[0069] Figure 5 Schematic diagram of the imaging report generation process provided for this application, which includes the following steps:

[0070] S201: Obtain medical images taken from different perspectives, and input each medical image into a pre-trained image feature extraction model.

[0071] S202: For each sub-network model in the image feature extraction model, based on the sub-network model, feature extraction is performed on each medical image, each extracted feature is fused, and based on the fused features, candidate category information of each disease feature and a first examination result are determined.

[0072] S203: For each symptom feature, determine the category information of the symptom feature according to the determined number of each candidate category information of the symptom feature.

[0073] S204: Determine text description information according to the category information of each symptom feature; input the text description information into a pre-trained text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second examination result.

[0074] S205: Making a joint decision on the first inspection result and the second inspection result to determine a target inspection result; and generating an imaging report according to the target inspection result.

[0075] The training process of the image feature extraction model includes:

[0076] Divide the training set into a preset number of sub-training sets, input the first sub-training set into the first sub-network model in the image feature extraction model, and train the first sub-network model;

[0077] Obtain the first misclassification set output by the first sub-network model after training, input the first misclassification set and the second sub-training set into the second sub-network model in the image feature extraction model, and train the second sub-network model;

[0078] The second error classification set output by the trained second sub-network model is obtained, and the second error classification set and the third sub-training set are input into the third sub-network model in the image feature extraction model to train the third sub-network model until the training of each sub-network model in the image feature extraction model is completed.

[0079] The electronic device pre-stores a training set, which includes a large number of sample medical image groups, each of which is a medical image taken from different perspectives during an examination. Each sample medical image group has corresponding label information, which is the category information of the real disease characteristics of the sample medical image group and the real examination results.

[0080] The training set is divided into a preset number of sub-training sets. The preset number is, for example, 6, 7, etc. Taking the division of the training set into 7 sub-training sets as an example, training 7 sub-network models is used as an example for explanation. The first sub-training set is input into the first sub-network model in the image feature extraction model, and the first sub-network model is trained. When the loss function value of the first sub-network model meets the requirements, the training of the first sub-network model is completed. After the training is completed, the correct classification set and the incorrect classification set output by the first sub-network model can be obtained. In this application, the incorrect classification set output by the first sub-network model is referred to as the first incorrect classification set.

[0081] Then the first misclassification set and the second sub-training set are input into the second sub-network model in the image feature extraction model to train the second sub-network model. When the loss function value of the second sub-network model meets the requirements, the training of the second sub-network model is completed. After the training is completed, the correct classification set and the misclassification set output by the second sub-network model can be obtained. In this application, the misclassification set output by the second sub-network model is referred to as the second misclassification set.

[0082] Then the second misclassification set and the third sub-training set are input into the third sub-network model in the image feature extraction model to train the third sub-network model. When the loss function value of the third sub-network model meets the requirements, the training of the third sub-network model is completed. After the training is completed, the correct classification set and the misclassification set output by the third sub-network model can be obtained. In this application, the misclassification set output by the third sub-network model is referred to as the third misclassification set.

[0083] Similarly, the sixth misclassification set and the seventh sub-training set are input into the seventh sub-network model in the image feature extraction model to train the seventh sub-network model. When the loss function value of the seventh sub-network model meets the requirements, the training of the seventh sub-network model is completed.

[0084] It should be noted that this application does not limit the number of sub-network models.

[0085] Figure 6 This is a diagram of the training architecture of each sub-network model in the image feature extraction model provided in this application. Figure 6As shown, the training process of three sub-network models is used as an example for explanation. First, the first sub-training set is input into the first sub-network model. After the training of the first sub-network model is completed, the correct classification set and the first wrong classification set are obtained. The second sub-training set and the first wrong classification set are input into the second sub-network model. After the training of the second sub-network model is completed, the correct classification set and the second wrong classification set are obtained. The third sub-training set and the second wrong classification set are input into the third sub-network model. After the training of the third sub-network model is completed, the correct classification set and the third wrong classification set are obtained.

[0086] The data of the previous round of misclassified sets is used as the training data of the next sub-network model, thereby increasing the number of misclassified training data and thus increasing the weight of these wrong samples. The weight parameters can be fine-tuned to train the next sub-network model, so that more representative functions can be learned. Figure 7 A schematic diagram of the corresponding relationship between the number of sub-network models provided for this application and the accuracy of the image feature extraction model, such as Figure 7 As shown, when the number of sub-network models is 0, that is, when no sub-network model is set, the accuracy is 83.2%; when the number of sub-network models is 1, the accuracy is 86.8%; when the number of sub-network models is 2, the accuracy is 88%; when the number of sub-network models is 3, the accuracy is 89.9%; when the number of sub-network models is 4, the accuracy is 91.5%; when the number of sub-network models is 5, the accuracy is 92.8%; when the number of sub-network models is 6, the accuracy is 93.1%; when the number of sub-network models is 7, the accuracy is 93.3%; when the number of sub-network models is 8, the accuracy is 92.2%; when the number of sub-network models is 9, the accuracy is 92.1%. According to Figure 7 It can be seen that when the number of sub-network models is set to 7, the accuracy is the highest.

[0087] In the present application, for each sub-network model, candidate category information of each disease feature is determined based on the sub-network model; for each disease feature, category information of the disease feature is determined according to the number of each candidate category information of the disease feature determined. Figure 8 The schematic diagram of the category information for determining the disease characteristics provided in this application, the number of sub-network models is 7. For the disease characteristic calcification, 5 sub-network models are determined as microcalcification, 1 sub-network model is determined as coarse calcification, and 1 sub-network model is determined as no abnormality, then the voting conclusion of the disease characteristic calcification is microcalcification; for the disease characteristic component, 4 sub-network models are determined as no abnormality, 1 sub-network model is determined as cystic, and 2 sub-network models are determined as cystic and solid, then the voting conclusion of the disease characteristic component is no abnormality; for the disease characteristic edge, 6 sub-network models are determined as smooth, and 1 sub-network model is determined as no abnormality, then the voting conclusion of the disease characteristic edge is smooth.

[0088] Fig. 9 The training process diagram of the image feature extraction model provided in this application includes the following steps:

[0089] S301: Divide the training set into a preset number of sub-training sets, input the first sub-training set into the first sub-network model in the image feature extraction model, and train the first sub-network model.

[0090] S302: Obtain a first error classification set output by the first sub-network model after training, input the first error classification set and the second sub-training set into the second sub-network model in the image feature extraction model, and train the second sub-network model.

[0091] S303: Obtain a second error classification set output by the trained second sub-network model, input the second error classification set and the third sub-training set into the third sub-network model in the image feature extraction model, and train the third sub-network model; until the training of each sub-network model in the image feature extraction model is completed.

[0092] In the present application, in order to make the text description information more accurate, the text description information is determined according to the category information of each symptom characteristic, including:

[0093] Obtain supplementary information on the symptom description from medical personnel, and determine textual description information based on the category information of each symptom feature and the supplementary information on the symptom description.

[0094] After seeing the medical images taken from various angles, medical personnel may fill in some supplementary information for describing the disease based on the medical images. This application uses the category information of each disease feature and the supplementary information for describing the disease together as text description information.

[0095] In some cases, after seeing the medical images taken from various angles, medical staff will fill in some supplementary information about the disease description based on the medical images, and will also modify the category information of each disease feature, for example, changing the category information of the disease feature calcification from normal to microcalcification. The modified category information of the disease feature, the supplementary information about the disease description, and the unmodified category information of the disease feature will be used together as text description information.

[0096] This application combines the category information of each symptom feature and the supplementary information of the symptom description provided by the medical staff to jointly determine the text description information, and then inputs the text description information into a pre-trained text classification model, extracts features from the text description information based on the text classification model, and obtains the second inspection result, thereby improving the accuracy of the second inspection result and further improving the accuracy of the final target inspection result.

[0097] In the present application, the text description information is input into a pre-trained text classification model, and features are extracted from the text description information based on the text classification model. The second inspection result includes:

[0098] Determine the input word vector of each character in the text description information, input the input word vector of each character into a pre-trained semantic information extraction model, and obtain the output word vector of each character based on the semantic information extraction model;

[0099] The output word vector of each character is input into the text classification model, and the feature extraction of the text description information is performed based on the text classification model to obtain the second inspection result.

[0100] Each word in the text description information is converted into a one-dimensional vector by querying the word vector table as the input vector of the pre-trained semantic information extraction model. In addition, in addition to the word vector, the input of the semantic information extraction model generally also includes a text vector and a position vector. The value of the text vector is automatically learned during the model training process, which is used to characterize the global semantic information of the text and merged with the semantic information of a single word. Position vector: Since the semantic information carried by words / words appearing at different positions in the text is different, the semantic information extraction model attaches a different vector to the words / words at different positions for distinction. Finally, the sum of the word vector, text vector and position vector is input as the input word vector into the semantic information extraction model. The semantic information extraction model can be a BERT model (Bidirectional Encoder Representations from Transformer). The output word vector of each word is obtained based on the semantic information extraction model. The output word vector is a vector representation after the full-text semantic information corresponding to the input word is merged.

[0101] The output word vector of each word is input into a text classification model, and feature extraction is performed on the text description information based on the text classification model to obtain a second inspection result. The text classification model may be a TextCNN model.

[0102] The electronic device stores a sample set for training a text classification model, wherein the sample set includes a large amount of sample text description information, each sample text description information has corresponding label information, and the label information is a real inspection result corresponding to the sample description information.

[0103] In traditional TextCNN, a maximum pooling layer 1-max pooling is usually used to extract the maximum value. By selecting the maximum value of each feature, the most important features are captured. This approach extracts the maximum value of each feature vector to represent the feature, and it is believed that this maximum value represents the most important feature, but it will cause feature information loss. For example, some strong features will appear multiple times. The more times they appear, the stronger the feature is. However, because the maximum pooling layer MaxPooling only retains one maximum value, the intensity information of the same feature will be lost. At the same time, obtaining only one maximum value feature will lose position information. Based on the above considerations, in order to make the determined second inspection result more accurate, in this application, the output word vector of each word is input into the text classification model, and the text description information is extracted based on the text classification model. The second inspection result includes:

[0104] Determine the number of maximum pooling values ​​based on the text length, convolution kernel size, and convolution step size of the text description information;

[0105] The output word vector of each character is input into the text classification model, and the text description information is subjected to feature extraction based on the text classification model to obtain each feature value; each feature value is grouped according to the number of maximum pooling values, and the maximum pooling value of each group of feature values ​​is extracted;

[0106] The maximum pooling values ​​are concatenated, and the second inspection result is determined according to the concatenated maximum pooling value.

[0107] In this application, according to Determines the number of max pooling values. len Indicates the length of the text description information, kernel_size indicates the convolution kernel size, stride indicates the convolution step size, and int indicates rounding.

[0108] It should be noted that the text classification model may contain multiple convolution kernels, and the above formula is used to determine the number of maximum pooling values ​​for each convolution kernel.

[0109] The output word vectors of each word are input into the text classification model, and the text description information is extracted based on each convolution kernel of the text classification model to obtain each feature value. Then, each feature value is grouped according to the number of maximum pooling values, and the maximum pooling value of each group of feature values ​​is extracted. The number of maximum pooling values ​​is the same as the number of groups. The maximum pooling values ​​obtained by each convolution kernel are spliced, and the second inspection result is determined based on the spliced ​​maximum pooling value.

[0110] In the present application, making a joint decision on the first inspection result and the second inspection result to determine the target inspection result includes:

[0111] Obtaining a first probability value for each sub-result in the first inspection result and a second probability value for each sub-result in the second inspection result;

[0112] Obtaining a first accuracy rate of the image feature extraction model and a second accuracy rate of the text classification model;

[0113] For each of the sub-results, determining a target score for the sub-result according to the first accuracy rate, the second accuracy rate, the first probability value of the sub-result, and the second probability value of the sub-result;

[0114] The sub-result with the highest target score is selected as the target inspection result.

[0115] In the present application, the first probability value Pi of each sub-result in the first inspection result and the second probability value Pj of each sub-result in the second inspection result are obtained respectively.

[0116] The electronic device pre-stores test sets corresponding to the image feature extraction model and the text classification model. The test set corresponding to the image feature extraction model includes a large number of test medical image groups, each of which is a medical image taken from different perspectives during an examination. Each test medical image group has corresponding label information, which is the category information of the real disease characteristics of the test medical image group and the real examination results. The test set corresponding to the text classification model includes a large amount of test text description information, each of which has corresponding label information, and the label information is the real examination result corresponding to the test description information.

[0117] After the image feature extraction model is trained, the test medical image group in the test set corresponding to the image feature extraction model is input into the image feature extraction model, and the first accuracy Pa of the image feature extraction model can be obtained. After the text classification model is trained, the test description information in the test set corresponding to the text classification model is input into the text classification model, and the second accuracy Pb of the text classification model can be obtained.

[0118] For each sub-result, the first accuracy, the second accuracy, the first probability value of the sub-result, and the second probability value of the sub-result are substituted into the formula The target score y of the sub-result is determined according to the above formula. Each sub-result uses the above method to determine its own target score y, and then compares the size of each target score y, and selects the sub-result with the highest target score as the target inspection result.

[0119] Optionally, a joint decision model may be trained, and the first probability value and the second probability value of each sub-result may be input into the joint decision model to obtain a target inspection result.

[0120] Fig.10 The framework diagram for determining the target inspection results provided for this application is as follows: Fig.10 As shown, the framework diagram includes an image feature extraction model, a semantic information extraction model (Bert) and a text classification model. Fig.10 The text description information of the example is: solid hypoechoic aspect ratio>1 lobulation or irregular microcalcification without definite blood flow signal. The category information of each disease feature and the first examination result are determined based on the image feature extraction model. The Pa layer in the image feature extraction model is the category information classification layer of each disease feature and the examination result classification layer. The category information classification layer of each disease feature is used to determine the category information of each disease feature, and the examination result classification layer is used to determine the first examination result. The Pb layer of the text classification model is the second examination result classification layer, which is used to determine the second examination result.

[0121] Determine the text description information according to the category information of each symptom feature and the supplementary information of the symptom description by the medical staff, determine the input word vector of each character in the text description information, input the input word vector of each character into the semantic information extraction model, and obtain the output word vector of each character based on the semantic information extraction model; input the output word vector of each character into the text classification model, extract the features of the text description information based on the text classification model, and obtain the second inspection result. Then input the first inspection result and the second inspection result into a joint decision to obtain the target inspection result. Fig.10 The Chinese text classification model includes 6 convolution kernels. The convolution kernel size of the first and second convolution kernels is 4, the convolution kernel size of the third and fourth convolution kernels is 3, and the convolution kernel size of the fifth and sixth convolution kernels is 2. The text length of the text description information is 7, and the convolution step size is 1. According to the text length, convolution kernel size and convolution step size of the text description information, the number of maximum pooling values ​​of each convolution kernel is determined to be 2. The output word vectors of each word are respectively input into each convolution kernel in the text classification model, and the text description information is extracted based on each convolution kernel to obtain each feature value; the feature values ​​obtained by each convolution kernel are divided into 2 groups, and the maximum pooling value of each group of feature values ​​is extracted; the maximum pooling values ​​are spliced, and the second inspection result is determined according to the spliced ​​maximum pooling value. After splicing, the second inspection result is obtained through the fully connected layer and the classification layer softmax.

[0122] In this application, the cross entropy loss function is used to train the text classification model as follows:

[0123]

[0124] The total loss of the image feature extraction model and the text classification model is expressed as follows:

[0125] Concluding_Words_Classification_Loss=Images_Loss+Words Loss .

[0126] Fig.11 The schematic diagram of the imaging report generation process provided for this application includes the following steps:

[0127] S401: Obtain medical images taken from different perspectives, and input each medical image into a pre-trained image feature extraction model.

[0128] S402: For each sub-network model in the image feature extraction model, based on the sub-network model, feature extraction is performed on each medical image, each extracted feature is fused, and based on the fused features, candidate category information of each disease feature and a first examination result are determined.

[0129] S403: For each symptom feature, determine the category information of the symptom feature according to the determined number of each candidate category information of the symptom feature.

[0130] S404: Acquire the supplementary information of the symptom description of the medical staff, and determine the text description information according to the category information of each symptom feature and the supplementary information of the symptom description.

[0131] S405: Determine the input word vector of each character in the text description information, input the input word vector of each character into a pre-trained semantic information extraction model, and obtain the output word vector of each character based on the semantic information extraction model; input the output word vector of each character into a text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second inspection result.

[0132] S406: Obtain a first probability value for each sub-result in the first inspection result and a second probability value for each sub-result in the second inspection result; obtain a first accuracy rate of the image feature extraction model and a second accuracy rate of the text classification model; for each sub-result, determine a target score for the sub-result based on the first accuracy rate, the second accuracy rate, the first probability value of the sub-result, and the second probability value of the sub-result; select the sub-result with the highest target score as the target inspection result.

[0133] S407: Generate an imaging report according to the target inspection result.

[0134] This application proposes a method for automatically generating an image report based on deep learning. The method mainly includes three parts. The first part is a lesion feature extraction method based on feature fusion of multiple medical images, that is, obtaining medical images taken from various perspectives, inputting each medical image into a pre-trained image feature extraction model, and determining the first inspection result based on the image feature extraction model. The lesion feature extraction method based on feature fusion of multiple medical images can more fully extract the lesion features in the medical image and has a more powerful feature extraction capability. The second part is a lesion feature extraction method based on text description information, that is, determining the text description information according to the category information of each symptom feature; inputting the text description information into a pre-trained text classification model, and determining the second inspection result based on the text classification model. The third part is a joint decision of the inspection results to obtain the final target inspection result, that is, a joint decision is made on the first inspection result and the second inspection result to determine the target inspection result; and an image report is generated according to the target inspection result. Combined with the category information of each disease characteristic determined in the first part, the second examination result is determined by integrating the supplementary information of the medical staff's disease description. Finally, the first examination result and the second examination result are combined to jointly decide the target examination result and generate an imaging report, which has a higher accuracy in the diagnostic conclusion and a better doctor experience.

[0135] Fig.12 This is a schematic diagram of the structure of the imaging report generating device provided in this application, which includes:

[0136] An image processing module 131 is used to obtain medical images taken from different perspectives, input each medical image into a pre-trained image feature extraction model, extract features from each medical image based on the image feature extraction model, fuse the extracted features, and determine category information of each disease feature and a first examination result based on the fused features;

[0137] The text processing module 132 is used to determine text description information according to the category information of each symptom feature; input the text description information into a pre-trained text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second examination result;

[0138] The joint processing module 133 is used to make a joint decision on the first inspection result and the second inspection result to determine a target inspection result; and generate an image report according to the target inspection result.

[0139] The image processing module 131 is specifically used to extract features from each medical image based on each sub-network model in the image feature extraction model, fuse the extracted features, and determine the candidate category information of each disease feature based on the fused features; for each disease feature, determine the category information of the disease feature according to the number of each candidate category information of the disease feature determined.

[0140] The device also includes:

[0141] The training module 134 is used to divide the training set into a preset number of sub-training sets, input the first sub-training set into the first sub-network model in the image feature extraction model, and train the first sub-network model; obtain the first error classification set output by the trained first sub-network model, input the first error classification set and the second sub-training set into the second sub-network model in the image feature extraction model, and train the second sub-network model; obtain the second error classification set output by the trained second sub-network model, input the second error classification set and the third sub-training set into the third sub-network model in the image feature extraction model, and train the third sub-network model; until the training of each sub-network model in the image feature extraction model is completed.

[0142] The text processing module 132 is specifically used to obtain the supplementary information of the symptom description of the medical staff, and determine the text description information according to the category information of each symptom feature and the supplementary information of the symptom description.

[0143] The text processing module 132 is specifically used to determine the input word vector of each character in the text description information, input the input word vector of each character into a pre-trained semantic information extraction model, and obtain the output word vector of each character based on the semantic information extraction model; input the output word vector of each character into the text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second inspection result.

[0144] The text processing module 132 is specifically used to determine the number of maximum pooling values ​​according to the text length, convolution kernel size and convolution step size of the text description information; input the output word vector of each character into the text classification model, and perform feature extraction on the text description information based on the text classification model to obtain each feature value; group the each feature value according to the number of the maximum pooling values, and extract the maximum pooling value of each group of feature values; splice the each maximum pooling value, and determine the second inspection result according to the spliced ​​maximum pooling value.

[0145] The joint processing module 133 is specifically used to obtain a first probability value for each sub-result in the first inspection result and a second probability value for each sub-result in the second inspection result; obtain a first accuracy rate of the image feature extraction model and a second accuracy rate of the text classification model; for each sub-result, determine a target score for the sub-result based on the first accuracy rate, the second accuracy rate, the first probability value of the sub-result and the second probability value of the sub-result; and select the sub-result with the highest target score as the target inspection result.

[0146] The present application also provides an electronic device, such as Fig.13 As shown, it includes: a processor 141, a communication interface 142, a memory 143 and a communication bus 144, wherein the processor 141, the communication interface 142, and the memory 143 communicate with each other through the communication bus 144;

[0147] The memory 143 stores a computer program, and when the program is executed by the processor 141, the processor 141 executes any one of the above method steps.

[0148] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0149] The communication interface 142 is used for communication between the above electronic device and other devices.

[0150] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0151] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.

[0152] The present application also provides a computer storage readable storage medium, wherein the computer readable storage medium stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device implements any of the above method steps when executing.

[0153] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0154] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for generating an image report, characterized in that: The method comprises: Obtain medical images taken from different perspectives, input each medical image into a pre-trained image feature extraction model, extract features from each medical image based on the image feature extraction model, fuse the extracted features, and determine category information of each disease feature and a first examination result based on the fused features; Determine text description information according to the category information of each symptom feature; input the text description information into a pre-trained text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second examination result; A joint decision is made on the first inspection result and the second inspection result to determine a target inspection result; and an imaging report is generated according to the target inspection result.

2. The method according to claim 1, characterized in that The image feature extraction model includes various sub-network models; For each of the sub-network models, based on the sub-network model, feature extraction is performed on each of the medical images, each of the extracted features is fused, and candidate category information of each disease feature is determined based on the fused features; For each of the symptom characteristics, the category information of the symptom characteristic is determined according to the determined number of each candidate category information of the symptom characteristic.

3. The method according to claim 2, characterized in that The training process of the image feature extraction model includes: Dividing the training set into a preset number of sub-training sets, inputting the first sub-training set into the first sub-network model in the image feature extraction model, and training the first sub-network model; Obtaining a first error classification set output by the first trained sub-network model, inputting the first error classification set and the second sub-training set into the second sub-network model in the image feature extraction model, and training the second sub-network model; Obtain a second error classification set output by the trained second sub-network model, input the second error classification set and the third sub-training set into the third sub-network model in the image feature extraction model, and train the third sub-network model; until the training of each sub-network model in the image feature extraction model is completed.

4. The method according to claim 1, characterized in that Determining text description information according to the category information of each symptom characteristic includes: The supplementary information of the symptom description of the medical staff is obtained, and the text description information is determined according to the category information of each symptom feature and the supplementary information of the symptom description.

5. The method according to claim 1 or 4, characterized in that The step of inputting the text description information into a pre-trained text classification model, and extracting features of the text description information based on the text classification model to obtain a second inspection result includes: Determine the input word vector of each character in the text description information, input the input word vector of each character into a pre-trained semantic information extraction model, and obtain the output word vector of each character based on the semantic information extraction model; The output word vectors of each character are input into the text classification model, and feature extraction is performed on the text description information based on the text classification model to obtain a second inspection result.

6. The method according to claim 5, characterized in that The inputting the output word vector of each word into the text classification model, and performing feature extraction on the text description information based on the text classification model to obtain the second inspection result includes: Determining the number of maximum pooling values ​​according to the text length, convolution kernel size, and convolution step size of the text description information; Inputting the output word vectors of each character into the text classification model, performing feature extraction on the text description information based on the text classification model to obtain each feature value; grouping the each feature value according to the number of the maximum pooling values, and extracting the maximum pooling value of each group of feature values; The maximum pooling values ​​are concatenated, and the second inspection result is determined according to the concatenated maximum pooling value.

7. The method according to claim 1, characterized in that The making a joint decision on the first inspection result and the second inspection result to determine the target inspection result includes: Obtaining a first probability value for each sub-result in the first inspection result and a second probability value for each sub-result in the second inspection result; Obtaining a first accuracy rate of the image feature extraction model and a second accuracy rate of the text classification model; For each of the sub-results, determining a target score for the sub-result according to the first accuracy rate, the second accuracy rate, the first probability value of the sub-result, and the second probability value of the sub-result; The sub-result with the highest target score is selected as the target inspection result.

8. An imaging report generating device, characterized in that: The device comprises: An image processing module, used to obtain medical images taken from different perspectives, input each medical image into a pre-trained image feature extraction model, extract features from each medical image based on the image feature extraction model, fuse the extracted features, and determine category information of each disease feature and a first examination result based on the fused features; A text processing module, used to determine text description information according to the category information of each symptom feature; input the text description information into a pre-trained text classification model, perform feature extraction on the text description information based on the text classification model, and obtain a second examination result; A joint processing module is used to make a joint decision on the first inspection result and the second inspection result to determine a target inspection result; and to generate an image report according to the target inspection result.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 7 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 7 are implemented.