Intelligent detection method and system for tuberculosis based on images and clinical data

By coupling medical images and clinical data to multi-modal data and using self-attention networks to extract features, we solve the existing technology problems of low tuberculosis screening accuracy and difficulty in embedding artificial intelligence into clinical practice, and achieve high-precision tuberculosis screening. Detection and auxiliary diagnosis.

CN114219755BActive Publication Date: 2024-09-13FOSHAN FOURTH PEOPLES HOSPITAL (FOSHAN HEALTH EMERGENCY HOSPITAL)
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111287280.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-02
Publication Date
2024-09-13
Estimated Expiration
2041-11-02

AI Technical Summary

Technical Problem

In the clinical screening of pulmonary tuberculosis, the existing technology relies on the subjective experience of doctors, has low accuracy, and is difficult to effectively use artificial intelligence technology to distinguish pulmonary tuberculosis from other lung lesions, and cannot simulate the doctor's diagnostic reasoning process based on information features, resulting in artificial intelligence technology. Difficulty embedding in clinical practice.

Method used

By acquiring medical images and clinical data, including medical history data and biochemical data, multi-modal data coupling is performed, and self-attention network is used to extract feature data to achieve intelligent detection of tuberculosis.

Benefits of technology

It significantly improves the accuracy of tuberculosis detection, assists in the completion of diagnosis, reduces the workload of doctors, and improves the stability and efficiency of judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114219755B
    Figure CN114219755B
Patent Text Reader

Abstract

The present application discloses a method and system for intelligent detection of pulmonary tuberculosis based on images and clinical data. The method obtains medical images and clinical data of the target to be processed; the clinical data includes medical history data and biochemical data; the medical history data and biochemical data are encoded to obtain medical history data vectors and biochemical data vectors; multi-modal data coupling is performed on the medical image, medical history data vector and biochemical data vector to obtain a multi-dimensional feature graph sequence group; the multi-dimensional feature graph sequence group is input into the self-attention network, and the output of the self-attention network is superimposed to obtain feature data; according to the feature data, the tuberculosis detection result of the target to be processed is obtained. The method well integrates the features of image data and clinical data for realizing intelligent detection of pulmonary tuberculosis, which can significantly improve the detection accuracy of pulmonary tuberculosis, is conducive to assisting the completion of diagnosis work, and reduces the workload of doctors. The present application can be widely used in the field of medical image processing technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical image processing technology, and in particular to an intelligent tuberculosis detection method and system based on images and clinical data. Background Art

[0002] Tuberculosis is a chronic infectious disease transmitted through the respiratory tract. Chest X-ray (CXR) imaging is a non-invasive medical imaging method for clinical screening of tuberculosis. In clinical practice, CXR-based tuberculosis screening mainly relies on clinicians to read the film to determine the image characteristics of the lesions. The accuracy of identification is highly dependent on the doctor's subjective experience and image quality. The film reading time is prolonged, and the number of daily patients is large. Clinicians face problems such as increased workload and working hours, and differences in the reading results of doctors with different qualifications. The main reasons for the above problems are as follows: First, the CXR image is a single 2D image. The image is generated by collecting the amount of radiation that penetrates the examination site through a single X-ray exposure, resulting in the superposition of radiation absorption rates of different organs in the chest, organ imaging superposition, and increasing the difficulty of manual identification; second, the medical imaging characteristics of tuberculosis lesions vary greatly, and are easily confused with the characteristics of other chest disease lesions. With the development of computer vision technology, computer-aided detection technology can effectively reduce the workload of physicians, assist in the completion of disease judgment based on medical images, and also improve the stability and efficiency of disease judgment and optimize the diagnosis process.

[0003] However, the following problems need to be solved in the application of artificial intelligence technology in clinical screening of tuberculosis: (1) It is still difficult to use artificial intelligence technology to accurately distinguish tuberculosis from other lung lesions in the acquisition and utilization of CXR data of active tuberculosis; (2) It is impossible to simulate the process of doctors realizing diagnostic reasoning based on information features in the clinical diagnosis process. The above are the bottlenecks of the current application of artificial intelligence technology in tuberculosis screening, which is not conducive to the embedding of artificial intelligence technology into the clinical practice process. Therefore, it is necessary to provide an improved technical solution to overcome the technical problems existing in the relevant technology. Summary of the invention

[0004] The purpose of this application is to solve one of the technical problems existing in the related art to at least a certain extent.

[0005] To this end, one purpose of an embodiment of the present application is to provide an intelligent detection method for tuberculosis based on images and clinical data. This method integrates image data and clinical data well to achieve intelligent detection of tuberculosis, which can significantly improve the detection accuracy of tuberculosis.

[0006] Another object of an embodiment of the present application is to provide an intelligent tuberculosis detection system based on images and clinical data.

[0007] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present application include:

[0008] In a first aspect, an embodiment of the present application provides an intelligent detection method for tuberculosis based on images and clinical data, the method comprising the following steps:

[0009] Acquire medical images and clinical data of the target to be processed; the clinical data includes medical history data and biochemical data;

[0010] Encoding the medical history data and the biochemical data to obtain a medical history data vector and a biochemical data vector;

[0011] Performing multimodal data coupling on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature graph sequence group;

[0012] Inputting the multi-dimensional feature graph sequence group into a self-attention network, and superimposing the output of the self-attention network to obtain feature data;

[0013] According to the characteristic data, a tuberculosis detection result of the target to be processed is obtained.

[0014] In addition, the intelligent tuberculosis detection method based on images and clinical data according to the above embodiment of the present application may also have the following additional technical features:

[0015] Furthermore, in one embodiment of the present application, the medical history data is encoded to obtain a medical history data vector, including:

[0016] Access to pre-built word libraries;

[0017] Performing word segmentation processing on the medical history data to obtain multiple word groups;

[0018] The medical history data vector is determined according to the vector corresponding to the phrase in the vocabulary.

[0019] Furthermore, in one embodiment of the present application, the multimodal data coupling is performed on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature graph sequence group, including:

[0020] Performing convolution on the medical image and the medical history data vector to obtain first data, and performing convolution on the medical image and the biochemical data vector to obtain second data;

[0021] superimposing the first data and the second data to obtain third data;

[0022] Down-sampling the third data in sequence using a plurality of convolution kernels of different dimensions to obtain a plurality of feature maps of corresponding dimensions;

[0023] Using multiple convolution kernels of different dimensions to perform sweep sampling on the medical image to obtain multiple pixel sequence groups of corresponding dimensions;

[0024] According to the dimension of the corresponding convolution kernel, a dot product is performed on the feature map and the pixel sequence group to obtain the multi-dimensional feature map sequence group.

[0025] Furthermore, in one embodiment of the present application, the method further includes:

[0026] A position encoding function is used to perform position encoding on feature map sequence groups of different dimensions according to the scale of the medical image and the dimension of the convolution kernel.

[0027] Further, in one embodiment of the present application, the step of inputting the multi-dimensional feature graph sequence group into a self-attention network and superimposing the output of the self-attention network to obtain feature data includes:

[0028] Inputting the multi-dimensional feature graph sequence group into an encoding and decoding network, wherein the encoding and decoding network includes a self-attention network corresponding to multiple dimensions;

[0029] According to different dimensions, the feature map sequence group is input into the corresponding self-attention network, and the feature map sequence group is linearly transformed and projected, and superimposed to obtain the feature data.

[0030] Further, in one embodiment of the present application, obtaining the tuberculosis detection result of the target to be processed according to the characteristic data includes:

[0031] The characteristic data is input into a regression network to obtain the tuberculosis determination probability of the target to be processed.

[0032] Furthermore, in one embodiment of the present application, obtaining the tuberculosis detection result of the target to be processed according to the characteristic data further includes:

[0033] The characteristic data is input into the classification network to obtain the tuberculosis area detection result and tuberculosis determination probability of the target to be processed.

[0034] In a second aspect, an embodiment of the present application provides an intelligent tuberculosis detection system based on images and clinical data, the system comprising:

[0035] An acquisition module, used to acquire medical images and clinical data of the target to be processed; the clinical data includes medical history data and biochemical data;

[0036] An encoding module, used for encoding the medical history data and the biochemical data to obtain a medical history data vector and a biochemical data vector;

[0037] A coupling module, used for performing multimodal data coupling on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature map sequence group;

[0038] A processing module, used for inputting the multi-dimensional feature graph sequence group into a self-attention network, and superimposing the output of the self-attention network to obtain feature data;

[0039] The detection module is used to obtain the tuberculosis detection result of the target to be processed according to the characteristic data.

[0040] In a third aspect, an embodiment of the present application provides a computer device, including:

[0041] at least one processor;

[0042] at least one memory for storing at least one program;

[0043] When the at least one program is executed by the at least one processor, the at least one processor implements the intelligent tuberculosis detection method based on images and clinical data described in the first aspect.

[0044] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor, and the program executable by the processor is used to implement the intelligent tuberculosis detection method based on images and clinical data described in the first aspect when executed by the processor.

[0045] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:

[0046] The intelligent detection method for tuberculosis based on images and clinical data provided in the embodiment of the present application, the method obtains medical images and clinical data of the target to be processed; the clinical data includes medical history data and biochemical data; the medical history data and the biochemical data are encoded to obtain medical history data vectors and biochemical data vectors; the medical image, the medical history data vector and the biochemical data vector are multimodal data coupled to obtain a multidimensional feature graph sequence group; the multidimensional feature graph sequence group is input into the self-attention network, and the output of the self-attention network is superimposed to obtain feature data; according to the feature data, the tuberculosis detection result of the target to be processed is obtained. The method well integrates the features of image data and clinical data, is used to realize intelligent detection of tuberculosis, can significantly improve the detection accuracy of tuberculosis, is conducive to assisting the completion of diagnosis work, and reduces the workload of doctors. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following introduction is made to the drawings of the embodiments of the present application or the related technical solutions in the prior art. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present application. For technical personnel in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] Figure 1 A schematic diagram of the implementation environment of an intelligent tuberculosis detection method based on images and clinical data for this application;

[0049] Figure 2 This is a flowchart of a specific embodiment of an intelligent tuberculosis detection method based on images and clinical data in this application;

[0050] Figure 3 This is a schematic diagram of a specific embodiment of an intelligent tuberculosis detection system based on images and clinical data in this application;

[0051] Figure 4 This is a structural schematic diagram of a specific embodiment of an intelligent tuberculosis detection device based on images and clinical data in this application. DETAILED DESCRIPTION

[0052] Embodiments of the present application are described in detail below, and examples of the embodiments 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 application, and are not to be construed as limitations on the present application. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0053] At present, with the development of computer vision technology, computer-aided detection technology can effectively reduce the workload of doctors, assist them in completing disease judgment based on medical images, and also improve the stability and efficiency of disease judgment and optimize the diagnostic process. For example, tuberculosis is a chronic infectious disease transmitted through the respiratory tract. In recent years, due to multiple drug-resistant tuberculosis, dual infection of tuberculosis and HIV, and an increase in the number of migrant population, the tuberculosis epidemic has rebounded, seriously endangering the health of the general public and has become a major public health and social problem. Chest X-ray (CXR) imaging examination is a non-invasive medical imaging method for clinical frontline screening of tuberculosis. In clinical practice, CXR-based tuberculosis screening mainly relies on clinicians to read the film to judge the image characteristics of the lesion. The accuracy of identification is highly dependent on the doctor's subjective experience and image quality. The reading time is prolonged, and the number of daily patients is large, which makes clinicians face problems such as increased workload and working hours, and differences in the reading results of doctors with different qualifications. There are two main reasons for the above problems. First, CXR images are single 2D images. They are generated by collecting the amount of radiation that penetrates the examination site in a single X-ray exposure, which leads to the superposition of different radiation absorption rates of different organs in the chest and organ imaging, increasing the difficulty of manual identification. Second, the medical imaging features of tuberculosis lesions vary greatly and are easily confused with the features of other chest disease lesions. With the development of computer vision technology, computer-aided detection technology can effectively reduce the workload of physicians, assist in the completion of disease judgment based on medical images, and also improve the stability and efficiency of disease judgment and optimize the diagnosis process.

[0054] However, the following problems need to be solved in the application of artificial intelligence technology in clinical screening of tuberculosis: (1) It is still difficult to use artificial intelligence technology to accurately distinguish tuberculosis from other lung lesions in the acquisition and utilization of CXR data of active tuberculosis; (2) It is impossible to simulate the process of doctors realizing diagnostic reasoning based on information features in the clinical diagnosis process. The above are the bottlenecks of the current application of artificial intelligence technology in tuberculosis screening, which is not conducive to the embedding of artificial intelligence technology into the clinical practice process. Therefore, it is necessary to provide an improved technical solution to overcome the technical problems existing in the relevant technology.

[0055] Please refer to Figure 1 , Figure 1 It is a schematic diagram of an implementation environment of the method provided in an embodiment of the present application. Figure 1 In the embodiment, the implementation environment includes an operation terminal 101, a server 102 and an intelligent tuberculosis detection device 103, and the operation terminal 101 is in communication connection with the server 102. The intelligent tuberculosis detection device 103 can be set in the operation terminal 101 or in the server 102, and can be appropriately selected according to the actual application situation, and this embodiment does not specifically limit this. Figure 1In the figure, the intelligent tuberculosis detection device 103 is set in the operation terminal 101 as an example for explanation.

[0056] In the embodiment of the present application, the operation terminal 101 may include but is not limited to a mobile phone, a computer, an intelligent voice interaction device, an intelligent home appliance, a vehicle-mounted terminal, etc. Optionally, a service client is installed on the operation terminal 101, and the user can use the various services provided by the operation terminal 101 through the service client. When the intelligent tuberculosis detection device 103 is set on the operation terminal 101, the operation terminal 101 can execute the method in this application according to the operation performed by the user through the service client, and perform tuberculosis detection on the target user; or, when the intelligent tuberculosis detection device 103 is set on the server 102, the operation terminal 101 can send corresponding operation instructions to the server 102 according to the operation performed by the user through the service client, so that the server 102 executes the method in this application, performs tuberculosis detection on the target user, and returns the test results to the operation terminal 101 for display.

[0057] Server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network) and big data and artificial intelligence platforms.

[0058] The method in the embodiment of the present application can be applied on a computer device, and can be specifically stored in a memory of the computer device in the form of program code, and implemented by executing a related processor. In the embodiment of the present application, the above method is introduced and explained by taking the execution of the above method in a computer device as an example. Of course, the method can also be executed in other types of terminal devices or servers, and its implementation principle is similar to that of the aforementioned computer device, which will not be repeated here.

[0059] For details, please refer to Figure 2 , the method in this application mainly includes steps 110 to 150:

[0060] Step 110: obtaining medical images and clinical data of the target to be processed; the clinical data includes medical history data and biochemical data;

[0061] In this step, when executing the method in the embodiment of the present application, relevant medical equipment can be used to collect chest X-ray images (CXR images) of the target to be processed. Specifically, for example, it is possible to collect on the front of the target to be processed to obtain an orthotopic medical image. Compared with the lateral medical image, the orthotopic medical image has less interference from overlapping tissues and can provide more effective diagnostic information. It should be noted that in the embodiment of the present application, there is no limitation on the actual acquisition channel of the medical image. In some embodiments, it can be obtained directly from relevant image acquisition equipment; in some embodiments, it can also be obtained from other software and hardware through communication transmission. Moreover, in some embodiments, the acquired medical image can also be preprocessed to improve the image quality and facilitate subsequent positioning analysis and processing. Specifically, the preprocessing content can include at least one of image compression processing, scale normalization processing and histogram equalization processing.

[0062] In this step, the medical history data and biochemical data of the target to be processed are also obtained, wherein the medical history data may include type information of various diseases determined by previous tests on the target, and the biochemical data may include various physiological test data of the target.

[0063] According to the diagnostic logic of clinical practice, there is a correlation between medical history data and the distribution and type of lesions in medical images. Biochemical data has a distinguishing effect on the types of diseases associated with lesions. By using multimodal and multi-dimensional information to establish an artificial neural network with reasoning performance, the task of intelligent tuberculosis detection can be better completed.

[0064] Step 120, encoding the medical history data and the biochemical data to obtain a medical history data vector and a biochemical data vector;

[0065] In this step, the medical history data and biochemical data can be encoded and converted into a format that is better processed. For example, it can be converted into a vector form and recorded as a medical history data vector and a biochemical data vector respectively. Specifically, in an embodiment of the present application, for medical history data, an associated vocabulary can be constructed by pre-extracting common words to form a vocabulary, and then all phrases in the vocabulary are encoded using a coding method to form a vector group of mapping phrases. When the medical history data is subsequently encoded, a pre-established vocabulary can be obtained, and the medical history data can be segmented to obtain multiple phrases, and then the medical history data vector is determined by weighting or splicing according to the vector corresponding to the phrase in the vocabulary. For biochemical data, the original data can be directly used, sorted according to the conventional name, and a biochemical data vector can be constructed.

[0066] It should be noted that in the embodiment of the present application, intelligent detection of pulmonary tuberculosis is realized based on an artificial intelligence model, so label data corresponding to the original data is required as a training data set for training model parameters. Specifically, for medical image data, a segmentation method can be used to segment the lesion region of interest, and the lesion area obtained after segmentation is saved and marked as the corresponding lesion type, thereby obtaining label data; in the training model stage, the label of the medical image can be a lesion classification, and the labels of the medical history data and biochemical data can be further subdivided into active pulmonary tuberculosis and inactive pulmonary tuberculosis.

[0067] Step 130, performing multimodal data coupling on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature graph sequence group;

[0068] In this step, multimodal data coupling can be performed on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature map sequence group. Specifically, this step can be implemented based on the following steps:

[0069] Performing convolution on the medical image and the medical history data vector to obtain first data, and performing convolution on the medical image and the biochemical data vector to obtain second data;

[0070] superimposing the first data and the second data to obtain third data;

[0071] Down-sampling the third data in sequence using a plurality of convolution kernels of different dimensions to obtain a plurality of feature maps of corresponding dimensions;

[0072] Using multiple convolution kernels of different dimensions to perform sweep sampling on the medical image to obtain multiple pixel sequence groups of corresponding dimensions;

[0073] According to the dimension of the corresponding convolution kernel, a dot product is performed on the feature map and the pixel sequence group to obtain the multi-dimensional feature map sequence group.

[0074] In the embodiment of the present application, when coupling multi-channel data, a convolutional neural network can be constructed, and the medical image data is convoluted and superimposed with the medical history data vector and the biochemical data vector respectively, wherein the data obtained by convoluting the medical image data and the medical history data vector can be recorded as the first data, and the data obtained by convoluting the medical image data and the biochemical data vector can be recorded as the second data; then the first data and the second data are superimposed to obtain the third data. Then, the third data is downsampled using convolution kernels Ki (i = 1, 2, ..., k, k is a positive integer) with dimensions from small to large in sequence to obtain feature maps Ti (i = 1, 2, ..., k) of multiple dimensions. And the medical image data is swept and sampled according to the dimension Ki (i = 1, 2, ..., k) of the convolution kernel to obtain k groups of pixel sequence groups of Ki × Ki × HW / Ki^2 (i = 1, 2, ..., k), wherein Ki represents the dimension of the convolution kernel, H represents the length of the medical image, and W represents the width of the medical image. Furthermore, according to the corresponding convolution kernel dimension, the feature map Ti and the pixel sequence group are dot-multiplied to obtain k groups of similarity feature sequences, that is, a multi-dimensional feature map sequence group is formed.

[0075] In some embodiments, after obtaining a multi-dimensional feature map sequence group, in order to facilitate the subsequent data processing process, position encoding preprocessing can also be performed on each feature map sequence group according to the convolution kernel dimension corresponding to the feature map sequence group. Specifically, a position encoding function can be used to construct sine and cosine functions according to the length and width (H, W) of the medical image and the dimension of the convolution kernel, and position encoding can be performed on each pixel group (patch) of the feature map sequence group corresponding to different dimensions, thereby completing data preprocessing.

[0076] Step 140: input the multi-dimensional feature graph sequence group into a self-attention network, and superimpose the output of the self-attention network to obtain feature data;

[0077] In this step, the multi-dimensional feature graph sequence group is input into the self-attention network to extract feature data. Specifically, the network structure that can be used for extraction can be an encoder-decoder network. That is, the multi-dimensional feature graph sequence group is input into the encoder-decoder network. Among them, in the encoder path, the feature graph sequence groups of different dimensions are respectively input into the corresponding self-attention network SAi (i=1, 2, ..., k), and the projections of the linear transformation of each patch in each feature graph sequence group of different dimensions are output respectively, and then output through the fully connected convolutional layer, and superimposed to obtain the encoder's output Zi (i=1, 2, ..., k) for the feature graph sequence group of this dimension. In the decoder path, when training the network, it is necessary to arrange the labels corresponding to the medical image according to the lesion type, and generate similar sequence groups according to the dimension of the convolution kernel after convolution with the category code of the lesion, and then input the sequence groups of different dimensions into the corresponding self-attention network SAi (i = 1, 2, ..., k), and output the linear transformation projection of each patch in each sequence group of different dimensions, and output and superimpose them through the fully connected convolution layer to form the output OZi (i = 1, 2, ..., k). According to OZi and the output Zi of the encoder path, the parameters of the model can be adjusted to obtain a trained encoding and decoding network.

[0078] Step 150: Obtain the tuberculosis detection result of the target to be processed according to the characteristic data.

[0079] In this step, the tuberculosis detection result of the target to be processed can be obtained based on various models and the extracted feature data. Specifically, for example, in some embodiments, the feature data extracted above can be input into the regression network to obtain the tuberculosis determination probability of the target to be processed; in some embodiments, the feature data can also be input into the classification network to obtain the tuberculosis area detection result and tuberculosis determination probability of the target to be processed. The network here can select any one of artificial neural network, integrated moving average autoregressive model, support vector machine, logistic regression and Xgboost algorithm-based model, but is not limited thereto, and these network models can be pre-trained based on public data sets.

[0080] The intelligent tuberculosis detection system based on images and clinical data proposed in accordance with an embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0081] Reference Figure 3 , the intelligent tuberculosis detection system based on images and clinical data proposed in the embodiment of the present application, the system comprises:

[0082] An acquisition module 201 is used to acquire medical images and clinical data of a target to be processed; the clinical data includes medical history data and biochemical data;

[0083] An encoding module 202, used for encoding the medical history data and the biochemical data to obtain a medical history data vector and a biochemical data vector;

[0084] A coupling module 203 is used to perform multimodal data coupling on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature map sequence group;

[0085] A processing module 204 is used to input the multi-dimensional feature graph sequence group into a self-attention network, and superimpose the output of the self-attention network to obtain feature data;

[0086] The detection module 205 is used to obtain the tuberculosis detection result of the target to be processed according to the characteristic data.

[0087] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0088] Reference Figure 4 The present application embodiment provides an intelligent tuberculosis detection device based on images and clinical data, including:

[0089] at least one processor 301;

[0090] At least one memory 302, used to store at least one program;

[0091] When at least one program is executed by at least one processor 301, at least one processor 301 implements an intelligent tuberculosis detection method based on images and clinical data.

[0092] Similarly, the contents of the above method embodiments are all applicable to the embodiments of the present intelligent tuberculosis detection device based on images and clinical data. The functions specifically implemented by the present intelligent tuberculosis detection device based on images and clinical data are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0093] The embodiment of the present application also provides a computer-readable storage medium, which stores a program executable by the processor 301. When the program executable by the processor 301 is executed by the processor 301, it is used to execute the above-mentioned intelligent detection method for tuberculosis based on images and clinical data.

[0094] Similarly, the contents of the above method embodiments are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0095] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.

[0096] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.

[0097] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0098] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0099] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0100] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0101] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. 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 application. 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 may be combined in any one or more embodiments or examples in a suitable manner.

[0102] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

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

Claims

1. An intelligent detection method for pulmonary tuberculosis based on images and clinical data, characterized in that: The following steps are involved: Acquire medical images and clinical data of the target to be processed; the clinical data includes medical history data and biochemical data; Encoding the medical history data and the biochemical data to obtain a medical history data vector and a biochemical data vector; Performing multimodal data coupling on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature graph sequence group; Inputting the multi-dimensional feature graph sequence group into a self-attention network, and superimposing the output of the self-attention network to obtain feature data; Obtaining a tuberculosis detection result of the target to be processed according to the characteristic data; The multi-modal data coupling is performed on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature graph sequence group, including: Performing convolution on the medical image and the medical history data vector to obtain first data, and performing convolution on the medical image and the biochemical data vector to obtain second data; superimposing the first data and the second data to obtain third data; Down-sampling the third data in sequence using a plurality of convolution kernels of different dimensions to obtain a plurality of feature maps of corresponding dimensions; Using multiple convolution kernels of different dimensions to perform sweep sampling on the medical image to obtain multiple pixel sequence groups of corresponding dimensions; According to the dimension of the corresponding convolution kernel, performing a dot product on the feature map and the pixel sequence group to obtain the multi-dimensional feature map sequence group; The method further comprises: A position encoding function is used to perform position encoding on feature map sequence groups of different dimensions according to the scale of the medical image and the dimension of the convolution kernel.

2. The intelligent detection method for pulmonary tuberculosis based on images and clinical data according to claim 1, characterized in that: The medical history data is encoded to obtain a medical history data vector, including: Access to pre-built word libraries; Performing word segmentation processing on the medical history data to obtain multiple word groups; The medical history data vector is determined according to the vector corresponding to the phrase in the vocabulary.

3. The intelligent detection method for pulmonary tuberculosis based on images and clinical data according to claim 1, characterized in that: The step of inputting the multi-dimensional feature graph sequence group into a self-attention network and superimposing the output of the self-attention network to obtain feature data includes: Inputting the multi-dimensional feature graph sequence group into an encoding and decoding network, wherein the encoding and decoding network includes a self-attention network corresponding to multiple dimensions; According to different dimensions, the feature map sequence group is input into the corresponding self-attention network, and the feature map sequence group is linearly transformed and projected, and superimposed to obtain the feature data.

4. The intelligent detection method for pulmonary tuberculosis based on images and clinical data according to any one of claims 1 to 3, characterized in that: The step of obtaining the tuberculosis detection result of the target to be processed according to the characteristic data includes: The characteristic data is input into a regression network to obtain the tuberculosis determination probability of the target to be processed.

5. The intelligent detection method for pulmonary tuberculosis based on images and clinical data according to claim 4, characterized in that: The step of obtaining the tuberculosis detection result of the target to be processed according to the characteristic data further includes: The characteristic data is input into the classification network to obtain the tuberculosis area detection result and tuberculosis determination probability of the target to be processed.

6. An intelligent tuberculosis detection system based on images and clinical data, characterized in that: include: An acquisition module, used to acquire medical images and clinical data of the target to be processed; the clinical data includes medical history data and biochemical data; An encoding module, used for encoding the medical history data and the biochemical data to obtain a medical history data vector and a biochemical data vector; A coupling module, used for performing multimodal data coupling on the medical image, the medical history data vector and the biochemical data vector to obtain a multi-dimensional feature map sequence group; A processing module, used for inputting the multi-dimensional feature graph sequence group into a self-attention network, and superimposing the output of the self-attention network to obtain feature data; A detection module, used for obtaining a tuberculosis detection result of the target to be processed according to the characteristic data; The coupling module is specifically used for: Performing convolution on the medical image and the medical history data vector to obtain first data, and performing convolution on the medical image and the biochemical data vector to obtain second data; superimposing the first data and the second data to obtain third data; Down-sampling the third data in sequence using a plurality of convolution kernels of different dimensions to obtain a plurality of feature maps of corresponding dimensions; Using multiple convolution kernels of different dimensions to perform sweep sampling on the medical image to obtain multiple pixel sequence groups of corresponding dimensions; According to the dimension of the corresponding convolution kernel, performing a dot product on the feature map and the pixel sequence group to obtain the multi-dimensional feature map sequence group; The system is also used to: A position encoding function is used to perform position encoding on feature map sequence groups of different dimensions according to the scale of the medical image and the dimension of the convolution kernel.

7. An intelligent tuberculosis detection device based on images and clinical data, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the intelligent tuberculosis detection method based on images and clinical data as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to implement the intelligent tuberculosis detection method based on images and clinical data as described in any one of claims 1 to 5 when executed by the processor.

Citation Information

Patent Citations

  • Pulmonary tuberculosis positioning and screening device and computer device

    CN110766682A

  • Pulmonary tuberculosis detection method and system based on chest X-ray image and storage medium

    CN111754453A

  • Systems and methods for detection of infectious respiratory diseases

    US20210327055A1