CN115810016B - Method, system, storage medium and terminal for automatic recognition of CXR image of lung infection - Google Patents
Method, system, storage medium and terminal for automatic recognition of CXR image of lung infection Download PDFInfo
- Publication number
- CN115810016B CN115810016B CN202310104254.7A CN202310104254A CN115810016B CN 115810016 B CN115810016 B CN 115810016B CN 202310104254 A CN202310104254 A CN 202310104254A CN 115810016 B CN115810016 B CN 115810016B
- Authority
- CN
- China
- Prior art keywords
- dense
- network
- connection
- densenet
- cxr
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 208000032376 Lung infection Diseases 0.000 title claims abstract description 16
- 206010035664 Pneumonia Diseases 0.000 claims abstract description 38
- 239000000284 extract Substances 0.000 claims abstract description 9
- 238000012549 training Methods 0.000 claims description 34
- 230000007170 pathology Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 6
- 208000015181 infectious disease Diseases 0.000 claims 3
- 230000002685 pulmonary effect Effects 0.000 claims 3
- 230000007704 transition Effects 0.000 abstract description 7
- 230000000694 effects Effects 0.000 abstract description 5
- 230000002457 bidirectional effect Effects 0.000 abstract 1
- 238000011976 chest X-ray Methods 0.000 description 39
- 210000004072 lung Anatomy 0.000 description 16
- 230000001575 pathological effect Effects 0.000 description 11
- 238000013527 convolutional neural network Methods 0.000 description 9
- 238000013135 deep learning Methods 0.000 description 7
- 230000011218 segmentation Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 208000001528 Coronaviridae Infections Diseases 0.000 description 4
- 230000003902 lesion Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000010200 validation analysis Methods 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000003745 diagnosis Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000011176 pooling Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000013144 data compression Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 208000025721 COVID-19 Diseases 0.000 description 1
- 241000711573 Coronaviridae Species 0.000 description 1
- 208000019693 Lung disease Diseases 0.000 description 1
- 208000034486 Multi-organ failure Diseases 0.000 description 1
- 206010057190 Respiratory tract infections Diseases 0.000 description 1
- 206010046306 Upper respiratory tract infection Diseases 0.000 description 1
- 208000036142 Viral infection Diseases 0.000 description 1
- 206010001053 acute respiratory failure Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000001580 bacterial effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000003759 clinical diagnosis Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 208000019622 heart disease Diseases 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 208000029744 multiple organ dysfunction syndrome Diseases 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 201000004193 respiratory failure Diseases 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000011282 treatment Methods 0.000 description 1
- 230000009385 viral infection Effects 0.000 description 1
- 230000003612 virological effect Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Image Analysis (AREA)
Abstract
本发明公开了一种肺部感染CXR图像自动识别方法、系统、存储介质及终端,涉及肺炎图像的自动识别,其目的在于解决现有技术中存在稠密连接网络因数据压缩、网络梯度减少造成肺炎图像自动识别效果较差的技术问题。其通过搭建稠密连接网络,稠密连接网络的每层稠密块与前面所有层的稠密块连接在一起,并作为下一层稠密块的输入;且稠密块与稠密块之间的连接包括并列设置的左连接分支、右连接分支,左连接分支包括两个卷积层,右连接分支包括四个卷积层。本发明的网络结构改为双向致密层和过渡层,可进行无压缩操作并提取到肺炎多尺度的特征,且稠密连接网络加深也不会造成梯度消失,加深网络可以获得更好的肺炎识别效果。
The invention discloses a method, system, storage medium and terminal for automatic recognition of CXR images of lung infection, and relates to the automatic recognition of pneumonia images. A technical problem with poor automatic image recognition. By building a densely connected network, each layer of dense blocks in the densely connected network is connected to the dense blocks of all previous layers and used as the input of the next layer of dense blocks; and the connection between dense blocks and dense blocks includes juxtaposed The left connection branch, the right connection branch, the left connection branch includes two convolutional layers, and the right connection branch includes four convolutional layers. The network structure of the present invention is changed to a bidirectional dense layer and a transition layer, which can perform non-compressed operations and extract multi-scale features of pneumonia, and the deepening of the densely connected network will not cause the gradient to disappear, and deepening the network can obtain better pneumonia recognition effect .
Description
技术领域technical field
本发明人工智能医学中的图像分割技术领域,涉及肺炎图像的自动识别,尤其涉及一种肺部感染CXR图像自动识别方法、系统、存储介质及终端。The invention relates to the technical field of image segmentation in artificial intelligence medicine, and relates to automatic recognition of pneumonia images, in particular to a method, system, storage medium and terminal for automatic recognition of CXR images of lung infection.
背景技术Background technique
新型冠状病毒感染(COVID-19)疾病的迅速传播给许多国家的医疗系统造成了前所未有的压力。针对病毒感染,通常表现为上呼吸道感染或肺炎,也可进一步发展为急性呼吸衰竭、多器官衰竭和死亡。现有的临床诊断与治疗中,胸部X射线(CXR)摄影仍然是筛查、分类以及诊断各种肺炎的主要手段,包括细菌性、病毒性和其他类型的肺炎。人工智能(AI)的最新发展为放射诊断应用的快速增长提供了新的潜在机会,为了基于CXRs诊断常见的肺和心脏疾病,还研究了使用弱监督分类或基于注意的卷积神经网络的AI模型。因此,通过机器学习的方法,自动提取出图像中的相关的病理图像特征,再基于图像特征进行肺炎的判断,满足了临床医生的实际需求。The rapid spread of the novel coronavirus infection (COVID-19) disease has placed unprecedented pressure on healthcare systems in many countries. For viral infections, usually manifested as upper respiratory tract infection or pneumonia, can also progress to acute respiratory failure, multi-organ failure and death. In the existing clinical diagnosis and treatment, chest X-ray (CXR) photography is still the main means of screening, classification and diagnosis of various types of pneumonia, including bacterial, viral and other types of pneumonia. Recent developments in artificial intelligence (AI) provide new potential opportunities for the rapid growth of diagnostic radiology applications. For the diagnosis of common lung and heart diseases based on CXRs, AI using weakly supervised classification or attention-based convolutional neural networks has also been investigated. Model. Therefore, through the method of machine learning, the relevant pathological image features in the image are automatically extracted, and then pneumonia is judged based on the image features, which meets the actual needs of clinicians.
肺炎自动识别方法在这几年有着广泛的研究,这些方法可以分为基于统计学习的传统肺炎识别方法和基于深度学习的肺炎识别方法。但是深度学习方法在许多医学图像分析任务中都优于传统的机器学习方法,包括检测、分类和分割等任务。Pneumonia automatic identification methods have been extensively studied in recent years. These methods can be divided into traditional pneumonia identification methods based on statistical learning and pneumonia identification methods based on deep learning. But deep learning methods outperform traditional machine learning methods in many medical image analysis tasks, including detection, classification, and segmentation.
深度学习在自然图像识别的各项任务中都取得了长足的进步,AlexNet(2012)的出现扩展了LeNet的深度开启了深度学习做图像处理的先河,深度神经网络得到广泛应用。VGGNet(2014)通过增加网络深度,减小卷积核尺寸,进一步提高了深度学习的性能。ResNe(2015)使用残差模块来组成更复杂的网络,使用标准随机梯度下降法训练。该结构能够减少模型训练过程中的梯度消失。在测试中将ImageNet数据集的识别率降低到3.57%。同年,Inception增加了网络的深度的同时也增加了网络的宽度,使用不同大小的卷积核提取特征,同时计算不同大小卷积,然后分别把他们的结果连接,然后将这些滤波器的输出沿通道维度堆叠并传递到下一层,可以获得输入图像的不同信息,并行处理这些运算并结合所有结果将获得更好的图像表征。在进一步发展,研究人员对三维图像产生兴趣,三维图像有着更多的空间特征。研究者提出采用三维卷积神经网络应用在三维数据中,从而在三维目标识别任务中取得进步。Deep learning has made great progress in various tasks of natural image recognition. The emergence of AlexNet (2012) expanded the depth of LeNet and opened the first of its kind in deep learning for image processing. Deep neural networks have been widely used. VGGNet (2014) further improved the performance of deep learning by increasing the depth of the network and reducing the size of the convolution kernel. ResNe (2015) uses residual modules to form more complex networks, trained using standard stochastic gradient descent. This structure can reduce gradient disappearance during model training. In the test, the recognition rate of the ImageNet dataset was reduced to 3.57%. In the same year, Inception increased the depth of the network while also increasing the width of the network, using convolution kernels of different sizes to extract features, and calculating convolutions of different sizes at the same time, and then connecting their results respectively, and then outputting the outputs of these filters along the The channel dimensions are stacked and passed to the next layer to obtain different information about the input image, parallelizing these operations and combining all the results will lead to a better image representation. In a further development, researchers are interested in 3D images, which have more spatial features. The researchers propose to use a 3D convolutional neural network to apply it to 3D data to achieve progress in 3D object recognition tasks.
现有技术中,也有将深度学习方法应用于肺炎识别任务中:CheXNet是一个121层密集卷积网络在Huast-ray14数据集上训练,有效的提升了肺炎识别的效果;还有使用卷积神经网络(CNN)分析假定早期诊断和更好的病人处理基于肺炎的迹象。In the existing technology, deep learning methods are also applied to pneumonia recognition tasks: CheXNet is a 121-layer dense convolutional network trained on the Huast-ray14 dataset, which effectively improves the effect of pneumonia recognition; there is also the use of convolutional neural network Network (CNN) analysis postulates earlier diagnosis and better patient management based on signs of pneumonia.
此外,申请号为202011184333的发明专利申请就公开了一种基于肺部非均匀池化的新型冠状病毒感染CT图像处理方法,其包括以下步骤:S1、基于FPN的全自动肺分割算法;S2、双肺中心线的识别;S3、肺部池化操作;S4、基于肺部池化的卷积神经网络。其中,在步骤S1中,其构建了基于DenseNet121的特征金字塔全卷积神经网络,从CT图像中全自动地分割出肺部区域。该特征金字塔全卷积神经网络FPN使用在ImageNet中预训练好权重的DenseNet网络作为基础网络,然后通过特征金字塔的形式从DenseNet中的每一个Dense块中抽取最后一层卷积层的输出作为多尺度的特征,然后将不同尺度的特征逐级上采样并进行拼接,最后,通过全卷积网络的方式得到分割出的肺区域,即肺部目标区域ROI。该分割算法通过构建基于DenseNet121的特征金字塔全卷积神经网络,在卷积神经网络进行池化时将肺部区域的特征进行放大,对肺外的区域进行压缩,排除冗余特征,强化肺内图像信息,提高了新型冠状病毒感染CT图像处理方法精度,同时不依赖任何人工标注图像,提高了算法的实用性。In addition, the invention patent application with the application number 202011184333 discloses a novel coronavirus infection CT image processing method based on lung non-uniform pooling, which includes the following steps: S1, FPN-based fully automatic lung segmentation algorithm; S2, Identification of the centerline of both lungs; S3, lung pooling operation; S4, convolutional neural network based on lung pooling. Among them, in step S1, a feature pyramid full convolutional neural network based on DenseNet121 is constructed to automatically segment the lung region from the CT image. The feature pyramid full convolutional neural network FPN uses the DenseNet network with pre-trained weights in ImageNet as the basic network, and then extracts the output of the last convolutional layer from each Dense block in DenseNet in the form of a feature pyramid as a multiple Then, the features of different scales are up-sampled step by step and stitched together. Finally, the segmented lung region is obtained through the full convolutional network, that is, the lung target region ROI. The segmentation algorithm builds a feature pyramid full convolutional neural network based on DenseNet121, amplifies the features of the lung area when the convolutional neural network is pooled, compresses the area outside the lung, eliminates redundant features, and strengthens the lung area. The image information improves the accuracy of the new coronavirus infection CT image processing method, and at the same time does not rely on any manually labeled images, which improves the practicability of the algorithm.
申请号为202010666696的发明专利申请也公开了基于深度学习的新型冠状病毒感染患者康复时间预测方法及系统,该发方法包括获取新型冠状病毒感染患者的多天的CT序列图像,对多天的CT序列图像进行预处理;分别输入至肺叶分割模型和肺炎分割模型,分别提取多天的肺叶区域面积与病灶区域面积;通过多天的病灶区域面积与肺叶区域面积的比值计算获得多天的病变区域面积比例值;使用多天的病变区域面积比例值R拟合高斯过程模型,预测新型冠状病毒感染患者康复时间。本发明以Densenet做backbone的DeepLabV3+框架和3D UNet架构进行肺叶和肺炎区域的分割,分割快速有效,且高斯过程可以准确预测病人的康复时间,为医疗资源分配作参考。The invention patent application with the application number 202010666696 also discloses a method and system for predicting the recovery time of patients with new coronavirus infection based on deep learning. Sequence images are preprocessed; input to the lung lobe segmentation model and pneumonia segmentation model respectively, and the multi-day lung lobe area and lesion area are respectively extracted; the multi-day lesion area is obtained by calculating the ratio of the multi-day lesion area to the lung lobe area Area ratio value; use the multi-day lesion area ratio value R to fit the Gaussian process model to predict the recovery time of patients infected with the new coronavirus. The present invention uses Densenet as the backbone DeepLabV3+ framework and 3D UNet framework to segment lung lobes and pneumonia regions. The segmentation is fast and effective, and the Gaussian process can accurately predict the patient's recovery time, which serves as a reference for medical resource allocation.
与上述两篇专利文献一样,现有技术中也有基于DenseNet网络的肺炎图像识别网络。但是,现有技术中,DenseNet网络通常具有多层稠密块,每层稠密块都会与前面所有层的稠密块连接在一起,作为下一层稠密块的输入。且稠密块与稠密块之间在进行连接时,该连接为单支结构,如图1所示,其包括卷积核为1*1以及卷积核为3*3的两个卷积层,两个卷积核步长分别是4k、k。该结构的DenseNet网络虽能实现肺炎图像的自动识别,但是由于这种稠密连接网络会造成数据的压缩操作提取的特征不全面,从而提取到的肺炎多尺度特征有限,肺炎图像的自动识别效果较差。Like the above two patent documents, there is also a pneumonia image recognition network based on the DenseNet network in the prior art. However, in the prior art, the DenseNet network usually has multiple layers of dense blocks, and each layer of dense blocks will be connected with the dense blocks of all previous layers as the input of the next layer of dense blocks. And when the dense block is connected with the dense block, the connection is a single-branch structure, as shown in Figure 1, which includes two convolutional layers with a convolution kernel of 1*1 and a convolution kernel of 3*3. The step sizes of the two convolution kernels are 4k and k respectively. Although the DenseNet network with this structure can realize the automatic recognition of pneumonia images, but due to the densely connected network, the features extracted by the data compression operation are not comprehensive, so the extracted multi-scale features of pneumonia are limited, and the automatic recognition effect of pneumonia images is relatively poor. Difference.
发明内容Contents of the invention
本发明的目的在于:为了解决上述现有技术中存在稠密连接网络因数据压缩造成肺炎图像自动识别效果较差的技术问题,本发明提供一种肺部感染CXR图像自动识别方法、系统、存储介质及终端。The purpose of the present invention is: in order to solve the technical problem in the above-mentioned prior art that the densely connected network has a poor automatic recognition effect of pneumonia images due to data compression, the present invention provides a method, system and storage medium for automatic recognition of CXR images of lung infection and terminal.
本发明为了实现上述目的具体采用以下技术方案:The present invention specifically adopts the following technical solutions in order to achieve the above object:
一种肺部感染CXR图像自动识别方法,包括以下步骤:A method for automatic recognition of lung infection CXR images, comprising the following steps:
步骤S1,获取样本数据Step S1, get sample data
获取CXR图像样本以及对应的胸部病理标签;Obtain CXR image samples and corresponding chest pathological labels;
步骤S2,搭建稠密连接DenseNet网络Step S2, build a densely connected DenseNet network
搭建稠密连接DenseNet网络,稠密连接DenseNet网络包括多层稠密块,每层稠密块与前面所有层的稠密块通过稠密连接进行连接,下一层稠密块通过反馈连接与前面所有层稠密块进行连接,且每个稠密块抽取最后一层卷积层的输出并沿靠近输入方向逐级上采样、卷积操作后输入至第一层稠密块;Build a densely connected DenseNet network. The densely connected DenseNet network includes multiple layers of dense blocks. Each layer of dense blocks is connected to the dense blocks of all previous layers through dense connections, and the next layer of dense blocks is connected to all previous layers of dense blocks through feedback connections. And each dense block extracts the output of the last layer of convolutional layer and upsamples step by step along the direction close to the input, and input to the first layer of dense block after convolution operation;
稠密块与稠密块之间的稠密连接、反馈连接均包括并列设置的左连接分支、右连接分支,左连接分支包括两个卷积层,右连接分支包括四个卷积层;The dense connection and feedback connection between the dense block and the dense block include a left connection branch and a right connection branch arranged in parallel, the left connection branch includes two convolutional layers, and the right connection branch includes four convolutional layers;
步骤S3,训练稠密连接DenseNet网络Step S3, training densely connected DenseNet network
采用步骤S1中获取的CXR图像样本、胸部病理标签对稠密连接DenseNet网络进行训练,得到成熟的稠密连接DenseNet网络;Using the CXR image samples and chest pathology labels acquired in step S1 to train the densely connected DenseNet network to obtain a mature densely connected DenseNet network;
步骤S4,实时识别Step S4, real-time recognition
将实时获取的CXR图像输入步骤S3得到的成熟的稠密连接DenseNet网络,输出胸部病理识别结果。Input the CXR image acquired in real time into the mature densely connected DenseNet network obtained in step S3, and output the chest pathological recognition result.
进一步地,步骤S1中,CXR图像样本以及对应的胸部病理标签来自于ChestX-ray14数据集,其中包括30805名患者的112120张正面X射线图像,并对每张X射线图像标注了最多14种不同的胸部病理标签。Further, in step S1, the CXR image samples and corresponding chest pathology labels come from the ChestX-ray14 dataset, which includes 112,120 frontal X-ray images of 30,805 patients, and each X-ray image is marked with up to 14 different chest pathology labels.
进一步地,步骤S2中,左连接分支包括依次设置的卷积核为1*1且步长为2k、卷积核为3*3且步长为k/2的两个卷积层,右连接分支包括依次设置的卷积核为1*1且步长为2k、卷积核为3*3且步长为k/2、卷积核为3*3且步长为k/2、卷积核为3*3且步长为k/2的四个卷积层。Further, in step S2, the left connection branch includes two convolution layers with a convolution kernel of 1*1 and a step size of 2k, a convolution kernel of 3*3 and a step size of k/2, and the right connection branch The branch includes sequentially setting the convolution kernel to 1*1 with a step size of 2k, the convolution kernel to 3*3 with a step size of k/2, the convolution kernel to 3*3 with a step size of k/2, and the convolution Four convolutional layers with a 3*3 kernel and a stride of k/2.
进一步地,步骤S3中,在训练稠密连接DenseNet网络时,采用的加权二值交叉熵损失函数为:Further, in step S3, when training the densely connected DenseNet network, the weighted binary cross-entropy loss function used for:
其中,为网络输入的样本,为网络输出的二进制标签,;为网络分配给标签1的概率,为网络分配给标签0的概率,、分别表示样本中肺炎阳性病例、阴性病例的数量。in, samples for the network input, is the binary label output by the network, ; is the probability that the network assigns to label 1, is the probability that the network assigns to label 0, , Represents the number of positive cases and negative cases of pneumonia in the sample, respectively.
更进一步地,步骤S3中,在训练稠密连接DenseNet网络时,使用0.001的初始学习率,每次验证损失在一个时代之后趋于稳定时,它都会衰减10%,并选择验证损失最低的模型;每一次迭代学习之后,网络判断肺炎识别结果的总误差大小,如果当前误差小于上一个迭代的误差,就保存当前模型,然后继续训练,直到达到最大迭代次数。Further, in step S3, when training the densely connected DenseNet network, an initial learning rate of 0.001 is used, and each time the validation loss stabilizes after an epoch, it decays by 10%, and the model with the lowest validation loss is selected; After each iteration of learning, the network judges the total error of the pneumonia recognition result. If the current error is smaller than the error of the previous iteration, the current model is saved and training continues until the maximum number of iterations is reached.
一种肺部感染CXR图像自动识别系统,包括:A system for automatic recognition of lung infection CXR images, comprising:
样本数据获取模块,用于获取CXR图像样本以及对应的胸部病理标签;A sample data acquisition module, configured to acquire a CXR image sample and a corresponding chest pathological label;
稠密连接DenseNet网络搭建模块,用于搭建稠密连接DenseNet网络,稠密连接DenseNet网络包括多层稠密块,每层稠密块与前面所有层的稠密块通过稠密连接进行连接,下一层稠密块通过反馈连接与前面所有层稠密块进行连接,且每个稠密块抽取最后一层卷积层的输出并沿靠近输入方向逐级上采样、卷积操作后输入至第一层稠密块;The densely connected DenseNet network building module is used to build a densely connected DenseNet network. The densely connected DenseNet network includes multiple layers of dense blocks. Each layer of dense blocks is connected to the dense blocks of all previous layers through dense connections, and the next layer of dense blocks is connected through feedback. Connect with all previous layers of dense blocks, and each dense block extracts the output of the last layer of convolutional layer and upsamples step by step along the direction close to the input, and input to the first layer of dense block after convolution operation;
稠密块与稠密块之间的稠密连接、反馈连接均包括并列设置的左连接分支、右连接分支,左连接分支包括两个卷积层,右连接分支包括四个卷积层;The dense connection and feedback connection between the dense block and the dense block include a left connection branch and a right connection branch arranged in parallel, the left connection branch includes two convolutional layers, and the right connection branch includes four convolutional layers;
稠密连接DenseNet网络训练模块,用于采用样本数据获取模块中获取的CXR图像样本、胸部病理标签对稠密连接DenseNet网络进行训练,得到成熟的稠密连接DenseNet网络;The densely connected DenseNet network training module is used to train the densely connected DenseNet network using the CXR image samples and chest pathological labels obtained in the sample data acquisition module to obtain a mature densely connected DenseNet network;
实时识别模块,用于将实时获取的CXR图像输入稠密连接DenseNet网络训练模块得到的成熟的稠密连接DenseNet网络,输出胸部病理识别结果。The real-time recognition module is used to input the CXR image acquired in real time into the mature densely connected DenseNet network obtained by the densely connected DenseNet network training module, and output the chest pathological recognition result.
一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行上述方法的步骤。A storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the above method.
一种终端,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行上述方法的步骤。A terminal includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
本发明的有益效果如下:The beneficial effects of the present invention are as follows:
1、本发明中,在稠密块与稠密块之间不仅设置有向输出方向进行连接的稠密连接,还沿输入方向进行连接的反馈连接,通过稠密连接以及反馈连接,能够接受自身信息形成有效的环路更加符合生物神经网络结构结合上下文去训练模型共享参数信息;将稠密连接以及反馈连接均设置为采用双分支结构,可以对数据进行无压缩操作,从而提取到肺炎多尺度的特征,加深网络可以获得更好的肺炎识别效果;此外,还对每个稠密块抽取最后一层卷积层的输出并沿靠近输入方向进行逐级上采样、卷积操作后输入至第一层稠密块,其能够提升图像的分辨率同时在上采样时进行连接将底层位置信息与深层语义相融合,最后输入至第一个稠密块,这样再进行训练可以提取更多维度的特征,有助于模型性能的提升。1. In the present invention, there is not only a dense connection connecting to the output direction, but also a feedback connection connecting along the input direction between the dense block and the dense block. Through the dense connection and the feedback connection, it can accept its own information to form an effective The loop is more in line with the biological neural network structure combined with the context to train the model to share parameter information; both the dense connection and the feedback connection are set to adopt a double-branch structure, which can perform uncompressed operations on the data, thereby extracting the multi-scale features of pneumonia and deepening the network A better pneumonia recognition effect can be obtained; in addition, the output of the last convolutional layer is extracted for each dense block and upsampled step by step along the direction close to the input, and the convolution operation is input to the first layer of dense block, which It can improve the resolution of the image and connect it during upsampling to fuse the underlying position information with the deep semantics, and finally input it to the first dense block, so that further training can extract more dimensional features, which is helpful for model performance. promote.
2、本发明中,采用基于稠密连接网络的结构,采用链接的操作可以使任何层学习到的特征图都可以被后续的其它层使用,这使得特征可以再次利用,模型变得更加紧凑,达到参数更少小模型可以显著地节省带宽,降低存储开销,计算更快,抗拟合能力强。2. In the present invention, the structure based on the densely connected network is adopted, and the feature map learned by any layer can be used by other subsequent layers through the operation of the link, which makes the feature reusable, and the model becomes more compact, achieving Small models with fewer parameters can significantly save bandwidth, reduce storage overhead, perform faster calculations, and have strong anti-fitting capabilities.
3、本发明中,采用优化的加权二值交叉熵损失函数对网络模型进行训练,直接优化目标评价的指标,使得模型可以得到更加充分的训练。3. In the present invention, the optimized weighted binary cross-entropy loss function is used to train the network model, and the target evaluation index is directly optimized, so that the model can be trained more fully.
4、本发明中,采用训练好的网络可用于肺炎的快速检测与识别,大大节省了初级筛查的人力物力,为后续医护人员提供更加精准的检测结论。4. In the present invention, the trained network can be used for rapid detection and identification of pneumonia, which greatly saves manpower and material resources for primary screening, and provides more accurate detection conclusions for subsequent medical staff.
附图说明Description of drawings
图1是现有的DenseNet网络中稠密块与稠密块之间的连接的结构示意图;Figure 1 is a schematic diagram of the connection between dense blocks and dense blocks in the existing DenseNet network;
图2是本发明的流程示意图;Fig. 2 is a schematic flow sheet of the present invention;
图3是本发明中稠密连接DenseNet网络的结构示意图;Fig. 3 is a schematic structural diagram of a densely connected DenseNet network in the present invention;
图4是本发明的DenseNet网络中稠密块与稠密块之间的连接的结构示意图。Fig. 4 is a schematic structural diagram of connections between dense blocks and dense blocks in the DenseNet network of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
实施例1Example 1
本实施例提供一种肺部感染CXR图像自动识别方法,其通过搭建一个稠密连接DenseNet网络,并对该网络模型进行训练,训练完成后的网络模型即可实现对肺炎CXR图像的自动识别。该识别方法如图2所示,具体包括以下步骤:This embodiment provides a method for automatic recognition of CXR images of lung infection. By building a densely connected DenseNet network and training the network model, the trained network model can realize automatic recognition of pneumonia CXR images. The identification method is shown in Figure 2, and specifically includes the following steps:
步骤S1,获取样本数据Step S1, get sample data
获取CXR图像样本以及对应的胸部病理标签。Obtain CXR image samples and corresponding chest pathology labels.
步骤S1中,CXR图像样本以及对应的胸部病理标签来自于ChestX-ray14数据集,其中包括30805名患者的112120张正面X射线图像,并对每张X射线图像标注了最多14种不同的胸部病理标签。In step S1, the CXR image samples and corresponding chest pathology labels come from the ChestX-ray14 dataset, which includes 112,120 frontal X-ray images of 30,805 patients, and each X-ray image is marked with up to 14 different chest pathologies Label.
将患有肺炎的图像作为一种带注释的病理标记为阳性例子,并将所有其他图像标记为阴性例子。在肺炎检测任务中,将CXR图像样本的数据集随机分为训练训练(28744例患者,98637张图像)、验证(1672例患者,6351张图像)和测试(389例患者,420张图像),相邻两组之间没有重叠。在将CXR图像样本输入网络之前,将CXR图像样本缩小到224×224,并根据ImageNet训练集中CXR图像样本的均值和标准差进行归一化。The image with pneumonia was labeled as a positive example as an annotated pathology, and all other images were labeled as negative examples. In the pneumonia detection task, the dataset of CXR image samples was randomly divided into training training (28744 patients, 98637 images), validation (1672 patients, 6351 images) and testing (389 patients, 420 images), There is no overlap between adjacent two groups. Before feeding the CXR image samples into the network, the CXR image samples are downscaled to 224×224 and normalized according to the mean and standard deviation of the CXR image samples in the ImageNet training set.
步骤S2,搭建稠密连接DenseNet网络Step S2, build a densely connected DenseNet network
搭建如图3所示的稠密连接DenseNet网络,稠密连接DenseNet网络包括多层稠密块,每层稠密块与前面所有层的稠密块通过稠密连接进行连接,下一层稠密块通过反馈连接与前面所有层稠密块进行连接,且每个稠密块抽取最后一层卷积层的输出并沿靠近输入方向逐级上采样、卷积操作后输入至第一层稠密块。Build a densely connected DenseNet network as shown in Figure 3. The densely connected DenseNet network includes multiple layers of dense blocks. Each layer of dense blocks is connected to the dense blocks of all previous layers through dense connections, and the next layer of dense blocks is connected to all previous layers through feedback connections. Layer dense blocks are connected, and each dense block extracts the output of the last convolutional layer and upsamples step by step along the direction close to the input, and input to the first dense block after convolution operation.
且稠密块与稠密块之间的稠密连接、反馈连接如图4所示,其包括并列设置的左连接分支、右连接分支,左连接分支包括两个卷积层,右连接分支包括四个卷积层。And the dense connection and feedback connection between the dense block and the dense block are shown in Figure 4, which includes a left connection branch and a right connection branch arranged in parallel, the left connection branch includes two convolutional layers, and the right connection branch includes four convolutional layers. laminated.
左连接分支包括依次设置的卷积核为1*1且步长为2k、卷积核为3*3且步长为k/2的两个卷积层,右连接分支包括依次设置的卷积核为1*1且步长为2k、卷积核为3*3且步长为k/2、卷积核为3*3且步长为k/2、卷积核为3*3且步长为k/2的四个卷积层。The left connection branch includes two convolution layers with a convolution kernel of 1*1 and a step size of 2k, a convolution kernel of 3*3 and a step size of k/2, and the right connection branch includes convolution layers set in sequence The kernel is 1*1 and the step size is 2k, the convolution kernel is 3*3 and the step size is k/2, the convolution kernel is 3*3 and the step size is k/2, the convolution kernel is 3*3 and the step Four convolutional layers of length k/2.
上一层的左路依次通过1*1卷积层、3*3卷积层连接至过滤器连接,上一层的右路依次通过1*1卷积层、3个3*3卷积层连接至过滤器连接。该稠密连接DenseNet网络除了将原本的主干分支(即左连接分支)的filter减半,还添加了一个新的分支(即右连接分支),在新的分支中使用了3个3x3大小的卷积,这个分支感受野就会变得与7x7卷积一样;这样就提取得到的特征就不只是单一尺度,能够同时兼顾小目标和大目标;在稠密连接DenseNet网络中,过渡层是用于将特征图空间分辨率缩小的,并且过渡层中通道数会小于前一层的通道数:而发现这个操作会减弱网络特征的表达能力,于是在本网络中将过渡层和前一层通道数设置为一样的数值,这样可以更好地获得表达能力。The left path of the previous layer is connected to the filter connection through 1*1 convolutional layer and 3*3 convolutional layer in turn, and the right path of the previous layer is sequentially passed through 1*1 convolutional layer and three 3*3 convolutional layers Connect to filter connection. In addition to halving the filter of the original main branch (that is, the left connection branch), the densely connected DenseNet network also adds a new branch (that is, the right connection branch), and uses three 3x3 convolutions in the new branch , the receptive field of this branch will become the same as the 7x7 convolution; in this way, the extracted features are not only of a single scale, but can take into account both small targets and large targets; in the densely connected DenseNet network, the transition layer is used to feature The spatial resolution of the map is reduced, and the number of channels in the transition layer will be smaller than the number of channels in the previous layer: it is found that this operation will weaken the expressive ability of network features, so in this network, the number of channels in the transition layer and the previous layer is set to The same value, so that the expressiveness can be better obtained.
步骤S3,训练稠密连接DenseNet网络Step S3, training densely connected DenseNet network
采用步骤S1中获取的CXR图像样本、胸部病理标签对稠密连接DenseNet网络进行训练,得到成熟的稠密连接DenseNet网络。The densely connected DenseNet network is trained by using the CXR image samples and chest pathology labels obtained in step S1 to obtain a mature densely connected DenseNet network.
步骤S3中,在训练稠密连接DenseNet网络时,采用的加权二值交叉熵损失函数函数为:In step S3, when training the densely connected DenseNet network, the weighted binary cross-entropy loss function used is for:
其中,为网络输入的样本,为网络输出的二进制标签,;为网络分配给标签1的概率,为网络分配给标签0的概率,、分别表示样本中肺炎阳性病例、阴性病例的数量。in, samples for the network input, is the binary label output by the network, ; is the probability that the network assigns to label 1, is the probability that the network assigns to label 0, , Represents the number of positive cases and negative cases of pneumonia in the sample, respectively.
在训练稠密连接DenseNet网络时,使用0.001的初始学习率,每次验证损失在一个时代之后趋于稳定时,它都会衰减10%,并选择验证损失最低的模型;每一次迭代学习之后,网络判断肺炎识别结果的总误差大小,如果当前误差小于上一个迭代的误差,就保存当前模型,然后继续训练,直到达到最大迭代次数。When training a densely connected DenseNet network, use an initial learning rate of 0.001, and each time the verification loss stabilizes after an epoch, it will decay by 10%, and the model with the lowest verification loss will be selected; after each iteration of learning, the network judges The total error of the pneumonia recognition result. If the current error is smaller than the error of the previous iteration, save the current model and continue training until the maximum number of iterations is reached.
步骤S4,实时识别Step S4, real-time recognition
将实时获取的CXR图像输入步骤S3得到的成熟的稠密连接DenseNet网络,输出胸部病理识别结果。Input the CXR image acquired in real time into the mature densely connected DenseNet network obtained in step S3, and output the chest pathological recognition result.
实施例2Example 2
本实施例提供一种肺部感染CXR图像自动识别系统,具体包括:This embodiment provides an automatic recognition system for CXR images of lung infection, which specifically includes:
样本数据获取模块,用于获取CXR图像样本以及对应的胸部病理标签。The sample data acquisition module is used to acquire CXR image samples and corresponding chest pathological labels.
样本数据获取模块中,CXR图像样本以及对应的胸部病理标签来自于ChestX-ray14数据集,其中包括30805名患者的112120张正面X射线图像,并对每张X射线图像标注了最多14种不同的胸部病理标签。In the sample data acquisition module, the CXR image samples and the corresponding chest pathological labels come from the ChestX-ray14 dataset, which includes 112,120 frontal X-ray images of 30,805 patients, and each X-ray image is marked with up to 14 different Chest pathology label.
将患有肺炎的图像作为一种带注释的病理标记为阳性例子,并将所有其他图像标记为阴性例子。在肺炎检测任务中,将CXR图像样本的数据集随机分为训练训练(28744例患者,98637张图像)、验证(1672例患者,6351张图像)和测试(389例患者,420张图像),相邻两组之间没有重叠。在将CXR图像样本输入网络之前,将CXR图像样本缩小到224×224,并根据ImageNet训练集中CXR图像样本的均值和标准差进行归一化。The image with pneumonia was labeled as a positive example as an annotated pathology, and all other images were labeled as negative examples. In the pneumonia detection task, the dataset of CXR image samples was randomly divided into training training (28744 patients, 98637 images), validation (1672 patients, 6351 images) and testing (389 patients, 420 images), There is no overlap between adjacent two groups. Before feeding the CXR image samples into the network, the CXR image samples are downscaled to 224×224 and normalized according to the mean and standard deviation of the CXR image samples in the ImageNet training set.
稠密连接DenseNet网络搭建模块,用于搭建如图3所示的稠密连接DenseNet网络,稠密连接DenseNet网络包括多层稠密块,每层稠密块与前面所有层的稠密块通过稠密连接进行连接,下一层稠密块通过反馈连接与前面所有层稠密块进行连接,且每个稠密块抽取最后一层卷积层的输出并沿靠近输入方向逐级上采样、卷积操作后输入至第一层稠密块。The densely connected DenseNet network building module is used to build the densely connected DenseNet network shown in Figure 3. The densely connected DenseNet network includes multiple layers of dense blocks, and each layer of dense blocks is connected to the dense blocks of all previous layers through dense connections. The next The dense block of the layer is connected with all the dense blocks of the previous layer through the feedback connection, and each dense block extracts the output of the last layer of convolutional layer and upsamples step by step along the direction close to the input, and input to the first layer of dense block after the convolution operation .
且稠密块与稠密块之间的稠密连接、反馈连接如图4所示,其包括并列设置的左连接分支、右连接分支,左连接分支包括两个卷积层,右连接分支包括四个卷积层;And the dense connection and feedback connection between the dense block and the dense block are shown in Figure 4, which includes a left connection branch and a right connection branch arranged in parallel, the left connection branch includes two convolutional layers, and the right connection branch includes four convolutional layers. layered;
左连接分支包括依次设置的卷积核为1*1且步长为2k、卷积核为3*3且步长为k/2的两个卷积层,右连接分支包括依次设置的卷积核为1*1且步长为2k、卷积核为3*3且步长为k/2、卷积核为3*3且步长为k/2、卷积核为3*3且步长为k/2的四个卷积层。The left connection branch includes two convolution layers with a convolution kernel of 1*1 and a step size of 2k, a convolution kernel of 3*3 and a step size of k/2, and the right connection branch includes convolution layers set in sequence The kernel is 1*1 and the step size is 2k, the convolution kernel is 3*3 and the step size is k/2, the convolution kernel is 3*3 and the step size is k/2, the convolution kernel is 3*3 and the step Four convolutional layers of length k/2.
上一层的左路依次通过1*1卷积层、3*3卷积层连接至过滤器连接,上一层的右路依次通过1*1卷积层、3个3*3卷积层连接至过滤器连接。该稠密连接DenseNet网络除了将原本的主干分支(即左连接分支)的filter减半,还添加了一个新的分支(即右连接分支),在新的分支中使用了3个3x3大小的卷积,这个分支感受野就会变得与7x7卷积一样;这样就提取得到的特征就不只是单一尺度,能够同时兼顾小目标和大目标;在稠密连接DenseNet网络中,过渡层是用于将特征图空间分辨率缩小的,并且过渡层中通道数会小于前一层的通道数:而发现这个操作会减弱网络特征的表达能力,于是在本网络中将过渡层和前一层通道数设置为一样的数值,这样可以更好地获得表达能力。The left path of the previous layer is connected to the filter connection through 1*1 convolutional layer and 3*3 convolutional layer in turn, and the right path of the previous layer is sequentially passed through 1*1 convolutional layer and three 3*3 convolutional layers Connect to filter connection. In addition to halving the filter of the original main branch (that is, the left connection branch), the densely connected DenseNet network also adds a new branch (that is, the right connection branch), and uses three 3x3 convolutions in the new branch , the receptive field of this branch will become the same as the 7x7 convolution; in this way, the extracted features are not only of a single scale, but can take into account both small targets and large targets; in the densely connected DenseNet network, the transition layer is used to feature The spatial resolution of the map is reduced, and the number of channels in the transition layer will be smaller than the number of channels in the previous layer: it is found that this operation will weaken the expressive ability of network features, so in this network, the number of channels in the transition layer and the previous layer is set to The same value, so that the expressiveness can be better obtained.
稠密连接DenseNet网络训练模块,用于采用样本数据获取模块中获取的CXR图像样本、胸部病理标签对稠密连接DenseNet网络进行训练,得到成熟的稠密连接DenseNet网络。The densely connected DenseNet network training module is used to train the densely connected DenseNet network using the CXR image samples and chest pathological labels obtained in the sample data acquisition module to obtain a mature densely connected DenseNet network.
稠密连接DenseNet网络训练模块中,在训练稠密连接DenseNet网络时,采用的加权二值交叉熵损失函数函数为:In the densely connected DenseNet network training module, the weighted binary cross-entropy loss function used when training the densely connected DenseNet network for:
其中,为网络输入的样本,为网络输出的二进制标签,;为网络分配给标签1的概率,为网络分配给标签0的概率,、分别表示样本中肺炎阳性病例、阴性病例的数量。in, samples for the network input, is the binary label output by the network, ; is the probability that the network assigns to label 1, is the probability that the network assigns to label 0, , Represents the number of positive cases and negative cases of pneumonia in the sample, respectively.
在训练稠密连接DenseNet网络时,使用0.001的初始学习率,每次验证损失在一个时代之后趋于稳定时,它都会衰减10%,并选择验证损失最低的模型;每一次迭代学习之后,网络判断肺炎识别结果的总误差大小,如果当前误差小于上一个迭代的误差,就保存当前模型,然后继续训练,直到达到最大迭代次数。When training a densely connected DenseNet network, use an initial learning rate of 0.001, and each time the verification loss stabilizes after an epoch, it will decay by 10%, and the model with the lowest verification loss will be selected; after each iteration of learning, the network judges The total error of the pneumonia recognition result. If the current error is smaller than the error of the previous iteration, save the current model and continue training until the maximum number of iterations is reached.
实时识别模块,用于将实时获取的CXR图像输入稠密连接DenseNet网络训练模块得到的成熟的稠密连接DenseNet网络,输出胸部病理识别结果。The real-time recognition module is used to input the CXR image acquired in real time into the mature densely connected DenseNet network obtained by the densely connected DenseNet network training module, and output the chest pathological recognition result.
实施例3Example 3
本实施例提供一种存储介质,该存储介质为计算机可读存储介质,该存储介质中存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述肺部感染CXR图像自动识别方法的步骤。This embodiment provides a storage medium. The storage medium is a computer-readable storage medium, and a computer program is stored in the storage medium. When the computer program is executed by a processor, the processor is made to perform the above-mentioned method for automatic identification of lung infection CXR images. step.
其中,所述计算机可读存储介质存储有界面显示程序,所述界面显示程序可被至少一个处理器执行,以使所述至少一个处理器执行如上述肺部感染CXR图像自动识别方法的步骤。Wherein, the computer-readable storage medium stores an interface display program, and the interface display program can be executed by at least one processor, so that the at least one processor executes the steps of the above-mentioned method for automatically identifying lung infection CXR images.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器或者网络设备等)执行本申请实施例所述肺部感染CXR图像自动识别方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD-ROM) contains several instructions to enable a terminal device (which may be a mobile phone, computer, server or network device, etc.) to execute the method for automatic recognition of lung infection CXR images described in the embodiment of the present application.
实施例4Example 4
本实施例提供一种终端,该终端可以是计算机设备,该终端包括存储器和处理器,存储器存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述肺部感染CXR图像自动识别方法的步骤。This embodiment provides a terminal. The terminal may be a computer device. The terminal includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the above method for automatic recognition of lung infection CXR images. A step of.
其中,所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。Wherein, the computer equipment may be computing equipment such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The computer device can perform human-computer interaction with the user through keyboard, mouse, remote controller, touch panel or voice control device.
所述存储器至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或D界面显示存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器可以是所述计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,所述存储器也可以是所述计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器还可以既包括所述计算机设备的内部存储单元也包括其外部存储设备。本实施例中,所述存储器常用于存储安装于所述计算机设备的操作系统和各类应用软件,例如所述肺部感染CXR图像自动识别方法的程序代码等。此外,所述存储器还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or D interface display memory, etc.), random access memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the memory may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In some other embodiments, the memory may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital , SD) card, flash memory card (Flash Card), etc. Of course, the storage may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory is often used to store the operating system and various application software installed in the computer device, such as the program code of the method for automatic recognition of CXR images of lung infection. In addition, the memory can also be used to temporarily store various types of data that have been output or will be output.
所述处理器在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器通常用于控制所述计算机设备的总体操作。本实施例中,所述处理器用于运行所述存储器中存储的程序代码或者处理数据,例如运行所述肺部感染CXR图像自动识别方法的程序代码。In some embodiments, the processor may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor is typically used to control the overall operation of the computer device. In this embodiment, the processor is configured to run program codes stored in the memory or process data, for example, run program codes of the method for automatic recognition of lung infection CXR images.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310104254.7A CN115810016B (en) | 2023-02-13 | 2023-02-13 | Method, system, storage medium and terminal for automatic recognition of CXR image of lung infection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310104254.7A CN115810016B (en) | 2023-02-13 | 2023-02-13 | Method, system, storage medium and terminal for automatic recognition of CXR image of lung infection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115810016A CN115810016A (en) | 2023-03-17 |
CN115810016B true CN115810016B (en) | 2023-04-28 |
Family
ID=85487851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310104254.7A Active CN115810016B (en) | 2023-02-13 | 2023-02-13 | Method, system, storage medium and terminal for automatic recognition of CXR image of lung infection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115810016B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118154863A (en) * | 2024-02-22 | 2024-06-07 | 四川大学 | Automatic lung CXR image segmentation method, system, equipment and medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114119361A (en) * | 2021-08-05 | 2022-03-01 | 合肥工业大学智能制造技术研究院 | Method, system, equipment and medium for super-resolution reconstruction of downhole image based on TESRGAN network |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10579557B2 (en) * | 2018-01-16 | 2020-03-03 | Advanced Micro Devices, Inc. | Near-memory hardened compute blocks for configurable computing substrates |
US11443514B2 (en) * | 2019-03-22 | 2022-09-13 | Qualcomm Technologies, Inc. | Recognizing minutes-long activities in videos |
CN114391150B (en) * | 2019-03-22 | 2025-05-30 | 西门子股份公司 | Generative design based on machine learning with inverse and forward modeling |
US11694081B2 (en) * | 2019-05-15 | 2023-07-04 | Advanced Micro Devices, Inc. | Accelerating neural networks with one shot skip layer pruning |
CN110189308B (en) * | 2019-05-17 | 2020-10-23 | 山东财经大学 | Tumor detection method and device based on fusion of BM3D and dense convolution network |
CN112052642B (en) * | 2019-05-20 | 2024-08-16 | 台积电(南京)有限公司 | Systems and methods for ESL modeling for machine learning |
CN110570353B (en) * | 2019-08-27 | 2023-05-12 | 天津大学 | Densely connected generative adversarial network single image super-resolution reconstruction method |
CN112560544A (en) * | 2019-09-10 | 2021-03-26 | 中科星图股份有限公司 | Method and system for identifying ground object of remote sensing image and computer readable storage medium |
US11751832B2 (en) * | 2020-01-30 | 2023-09-12 | GE Precision Healthcare LLC | CTA large vessel occlusion model |
US11392833B2 (en) * | 2020-02-13 | 2022-07-19 | Soundhound, Inc. | Neural acoustic model |
CN111860386B (en) * | 2020-07-27 | 2022-04-08 | 山东大学 | A Video Semantic Segmentation Method Based on ConvLSTM Convolutional Neural Network |
CN112258394B (en) * | 2020-11-11 | 2022-04-29 | 珠海大横琴科技发展有限公司 | Data processing method, ship tracking method, device, equipment and storage medium |
CN112419303B (en) * | 2020-12-09 | 2023-08-15 | 上海联影医疗科技股份有限公司 | Neural network training method, system, readable storage medium and device |
CN113096028B (en) * | 2021-03-03 | 2024-12-10 | 台州学院 | A magnetic resonance image enhancement method based on multi-task collaborative network |
CN112991177B (en) * | 2021-03-23 | 2024-08-09 | 数量级(上海)信息技术有限公司 | Infrared image super-resolution method based on antagonistic neural network |
CN113129293B (en) * | 2021-04-26 | 2022-08-23 | 长沙理工大学 | Medical image classification method, medical image classification device, computer equipment and storage medium |
CN115132275B (en) * | 2022-05-25 | 2024-02-27 | 西北工业大学 | Method for predicting EGFR gene mutation state based on end-to-end three-dimensional convolutional neural network |
-
2023
- 2023-02-13 CN CN202310104254.7A patent/CN115810016B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114119361A (en) * | 2021-08-05 | 2022-03-01 | 合肥工业大学智能制造技术研究院 | Method, system, equipment and medium for super-resolution reconstruction of downhole image based on TESRGAN network |
Also Published As
Publication number | Publication date |
---|---|
CN115810016A (en) | 2023-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Rajaraman et al. | Modality-specific deep learning model ensembles toward improving TB detection in chest radiographs | |
US10417788B2 (en) | Anomaly detection in volumetric medical images using sequential convolutional and recurrent neural networks | |
CN113421652B (en) | Method for analyzing medical data, method for training model and analyzer | |
CN113241135A (en) | Disease risk prediction method and system based on multi-mode fusion | |
Pant et al. | Pneumonia detection: An efficient approach using deep learning | |
CN112418329A (en) | Cervical OCT image classification method and system based on multi-scale textural feature fusion | |
CN111951281A (en) | Image segmentation method, device, equipment and storage medium | |
Bhat | Detection of polycystic ovary syndrome using machine learning algorithms | |
CN115062165A (en) | Medical image diagnosis method and device based on film reading knowledge graph | |
CN115810016B (en) | Method, system, storage medium and terminal for automatic recognition of CXR image of lung infection | |
CN117422913A (en) | Improved CT image lung nodule detection method, device and storage medium | |
WO2025007941A1 (en) | Image classification method and apparatus, and method and apparatus for training image classification model | |
Chen et al. | COVID-19 diagnosis system based on chest X-ray images using optimized convolutional neural network | |
Koyyada et al. | A systematic survey of automatic detection of lung diseases from chest x-ray images: Covid-19, pneumonia, and tuberculosis | |
Xu et al. | Identification of benign and malignant lung nodules in CT images based on ensemble learning method | |
CN118737392B (en) | A method, device and product for recognizing and positioning colonoscopy images | |
Hasan et al. | An effective framework for identifying pneumonia in healthcare using a convolutional neural network | |
Desai et al. | Comparative analysis using transfer learning models vgg16, resnet 50 and xception to predict pneumonia | |
Shahadat | Lung Image Analysis using Squeeze and Excitation Based Convolutional Networks | |
Rajasenbagam et al. | Semantic content-based image retrieval system using deep learning model for lung cancer CT images | |
CN115239688B (en) | Brain metastasis recognition method and system based on magnetic resonance contrast enhancement 3D-T1WI image | |
CN109741833A (en) | A kind of method and apparatus of data processing | |
US20230119642A1 (en) | Systems and methods for automatically diagnosing x-ray images | |
Manzoor et al. | A deep neural network for the detection of covid-19 from chest x-ray images | |
Mohammed et al. | An enhanced deep learning approach for detecting covid-19 using chest x-rays images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |