WO2022100495A1 - Method for automatically segmenting ground-glass pulmonary nodule and computer device - Google Patents

Method for automatically segmenting ground-glass pulmonary nodule and computer device Download PDF

Info

Publication number
WO2022100495A1
WO2022100495A1 PCT/CN2021/128438 CN2021128438W WO2022100495A1 WO 2022100495 A1 WO2022100495 A1 WO 2022100495A1 CN 2021128438 W CN2021128438 W CN 2021128438W WO 2022100495 A1 WO2022100495 A1 WO 2022100495A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
glass
ground
fully convolutional
pulmonary nodules
Prior art date
Application number
PCT/CN2021/128438
Other languages
French (fr)
Chinese (zh)
Inventor
黄钢
聂生东
董婷
Original Assignee
上海健康医学院
上海理工大学
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海健康医学院, 上海理工大学 filed Critical 上海健康医学院
Publication of WO2022100495A1 publication Critical patent/WO2022100495A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10081Computed x-ray tomography [CT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30061Lung
    • G06T2207/30064Lung nodule
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/03Recognition of patterns in medical or anatomical images
    • G06V2201/032Recognition of patterns in medical or anatomical images of protuberances, polyps nodules, etc.

Definitions

  • the invention relates to the technical field of deep learning and computed tomography image processing, in particular to a ground-glass-like lung nodule automatic segmentation method and computer equipment based on a fully convolutional residual network.
  • ground-glass pulmonary nodules are a special type of nodules. Compared with solid nodules, ground-glass pulmonary nodules are characterized by blurred borders, irregular shapes, uneven intensity, and low contrast with surrounding normal tissues. ignored by doctors. Therefore, the segmentation and diagnosis of ground-glass pulmonary nodules has always been the focus and difficulty in the field of medical image segmentation. Accurate segmentation of ground-glass pulmonary nodules can provide an important basis for medical imaging evaluation and treatment plan formulation, and is of great significance to improve the monitoring efficiency of early lung cancer.
  • ground-glass lung nodule segmentation methods use unsupervised methods.
  • Traditional unsupervised methods can be divided into clustering, deformable models, segmentation methods based on random walk (Random Walk, RW) and Markov random field (MRF) theory, such as the literature published in the Journal of Automation.
  • RW Random Walk
  • MRF Markov random field
  • the purpose of the present invention is to provide a fast and accurate automatic segmentation method and computer equipment for ground glass-like pulmonary nodules based on a fully convolutional residual network in order to overcome the above-mentioned defects in the prior art.
  • An automatic segmentation method for ground-glass pulmonary nodules includes the following steps:
  • the preprocessed image is used as the input of the trained fully convolutional residual network based on ASPP structure and attention mechanism to obtain the segmentation results of ground glass lung nodules;
  • the fully convolutional residual network based on the ASPP structure and attention mechanism is based on multiple Conv2D convolutional layers, and a residual module and an attention module are set between adjacent Conv2D convolutional layers.
  • the ASPP structure is set up in the residual network to capture the multi-scale information of ground glass-like lung nodules.
  • the training process of the fully convolutional residual network based on the ASPP structure and attention mechanism includes:
  • preprocessing is specifically:
  • the CT value of the original data is adjusted to a set range, and saved as a grayscale image, a region of interest is extracted from the grayscale image, and one-hot encoding is performed on the region of interest.
  • preprocessing is specifically:
  • the CT value of the original data is adjusted to a set range, and saved as a grayscale image, a region of interest is extracted from the grayscale image and the corresponding label data, and one-hot encoding is performed on the region of interest.
  • the setting range is [-1000, 400] Hu.
  • the fully convolutional residual network based on the ASPP structure and attention mechanism also includes a long skip connection layer for fusing low-level features and high-level features.
  • the fully convolutional residual network based on the ASPP structure and the attention mechanism is divided into a low-level sub-network and a high-level sub-network.
  • ASPP structure is arranged between the lower-level sub-network and the higher-level sub-network.
  • the output layer adopts the Sigmoid activation function, and the remaining layers adopt the Relu activation function.
  • the present invention also provides a computer device, comprising:
  • processors one or more processors
  • One or more programs stored in memory including instructions for performing the method of automatic segmentation of ground glass pulmonary nodules as described above.
  • the traditional pulmonary nodule segmentation method needs to segment the lung parenchyma first, then extract the region of interest, and then design a targeted algorithm to complete the segmentation.
  • the contrast is low, and some nodules are adhered to structures such as blood vessels and pleura.
  • Traditional methods are difficult to effectively segment such pulmonary nodules.
  • the present invention has the following beneficial effects:
  • the present invention adopts the trained full convolutional residual network based on the ASPP structure and the attention mechanism to directly perform feature extraction on the original data information, and directly segment the target according to the obtained features, which has high efficiency and does not rely on manual intervention.
  • the fully convolutional residual network constructed by the present invention has an ASPP structure and considers the attention mechanism, wherein the ASPP structure can capture the multi-scale information of ground glass-like lung nodules and effectively extract multi-scale information from high-level feature maps.
  • the receptive field feature improves the model's ability to deal with nodules of different sizes; the attention mechanism propagates the spatial information in the encoding layer to the decoding layer, and at the same time reduces the loss of information in the forward propagation process, effectively reducing the nodule features in the transmission process.
  • the loss of information; adding the batch normalization layer to the residual structure accelerates the network training speed, and at the same time avoids the gradient disappearance and performance degradation problems caused by the deepening of the network, and effectively improves the accuracy of the final image segmentation.
  • the present invention is also provided with a long jump connection layer for effectively fusing low-level features and high-level features, so as to minimize the loss of effective information of the entire network.
  • the present invention further sets the MaxPooling2D pooling layer and the ConvTranspose2D convolutional layer in the fully convolutional residual network, wherein the MaxPooling2D pooling layer compresses the features extracted by the convolution operation, on the one hand, it makes the features smaller and simplifies the network calculation.
  • feature compression is performed to extract main features; the ConvTranspose2D convolution layer restores the feature map to the original resolution size, which is convenient for end-to-end segmentation prediction.
  • the present invention can segment various types of ground glass pulmonary nodules, and has good universality.
  • the present invention constructs a fully convolutional residual network based on the ASPP structure and attention mechanism, and adopts the batch normalization layer added to the residual module, which speeds up the network training speed and avoids the gradient disappearance and performance degradation caused by the deepening of the network. question.
  • the method of the present invention has the advantages of high calculation accuracy, fast time, good robustness, etc., and can obtain reliable and stable results.
  • Fig. 1 is the flow chart of the method of the present invention
  • Figure 2 is a framework diagram of a fully convolutional residual network based on the ASPP structure and attention mechanism
  • Figure 3 is an ASPP structural diagram
  • Figure 4 is the structure diagram of the attention mechanism
  • Figure 5 is a residual structure diagram
  • Figure 6 shows the results of the fully convolutional residual network based on the ASPP structure and attention mechanism, in which Figures (a) and (b) represent the comparison of the loss rate of the training set and the validation set and the overlap rate of the training set and the validation set, respectively. Compared.
  • the invention provides an automatic segmentation method for ground glass-like pulmonary nodules, which is an automatic medical image processing method.
  • the method includes the following steps: obtaining medical image raw data collected by a computer tomography device; Preprocessing; take the preprocessed image as the input of the trained full convolutional residual network (ResAANet) based on ASPP (Atrous Spatial Pyramid Pooling) structure and attention mechanism to obtain ground glass Pulmonary nodule segmentation results.
  • the fully convolutional residual network based on the ASPP structure and attention mechanism is based on multiple Conv2D convolutional layers, and a residual module and an attention module are set between adjacent Conv2D convolutional layers.
  • the ASPP structure is set in the convolutional residual network to capture the multi-scale information of ground-glass lung nodules, and the original data can be directly extracted effectively to obtain segmentation results quickly and accurately.
  • the segmentation process does not depend on manual intervention.
  • the supervised method based on deep learning mainly trains nodules and label images through neural network, automatically extracts relevant features of nodules, and automatically completes segmentation.
  • the training process of the fully convolutional residual network based on the ASPP structure and attention mechanism includes:
  • Step 1 acquiring raw data of lung medical images of ground-glass-like pulmonary nodules collected by a computer tomography device.
  • step 2 the labeling data corresponding to the original data is obtained, and the labeling is the nodule type information manually labelled by the radiologist.
  • step 3 preprocessing is performed to form training samples, and all training samples are divided into three parts: training set, validation set and test set to verify the performance of the trained network.
  • Step 4 select the initial network parameters, construct a fully convolutional residual network based on the ASPP structure and attention mechanism, and determine the class probability of each lung medical image in the training sample based on the fully convolutional residual network;
  • the set loss function calculates the error between each lung medical image and the corresponding label in the training sample; based on the error, the network parameters of the fully convolutional residual network are updated.
  • Step 5 After the error meets the preset condition, a trained fully convolutional residual network is obtained.
  • the obtained network is used for mask prediction of the ground-glass-like lung nodule data in the test set, and the obtained segmentation mask is compared with the known labeled data. , to judge the reliability and stability of the constructed fully convolutional residual network.
  • the preprocessing in the training process needs to be performed on the original data and the labeled data at the same time, specifically: adjusting the CT value of the original data to a set range, saving it as a grayscale image, and extracting lung nodules from the grayscale image.
  • the region of interest region of interest ROI
  • the region of interest ROI is the center, and one-hot encoding is performed on the region of interest.
  • the setting range is [-1000, 400] Hu
  • the grayscale image is 8 bits
  • the size of the region of interest is 256 ⁇ 256.
  • the fully convolutional residual network based on the ASPP structure and attention mechanism further includes a long skip connection layer for fusing low-level features and high-level features.
  • the fully convolutional residual network based on the ASPP structure and attention mechanism is divided into a low-level sub-network (encoding) and a high-level sub-network (decoding), and MaxPooling2D pools are set at intervals in the low-level sub-network
  • the high-level sub-network is provided with a ConvTranspose2D convolutional layer at intervals.
  • the output layer adopts the Sigmoid activation function, and the remaining layers adopt the Relu activation function.
  • the fully convolutional residual network based on ASPP structure and attention mechanism constructed in this embodiment includes Conv2D convolution layer, MaxPooling2D pooling layer, ConvTranspose2D convolution layer, ASPP structure, attention module, residual module and long skip connection layer , among which, the Conv2D convolution layer is used to complete the extraction of ground glass-like lung nodule features; the MaxPooling2D pooling layer compresses the features extracted by the convolution operation, on the one hand, the features become smaller and the network computational complexity is simplified, on the other hand Feature compression is performed to extract the main features; the ConvTranspose2D convolutional layer restores the feature map to the original resolution to complete the end-to-end segmentation prediction; the ASPP structure is used to capture the multi-scale information of ground-glass lung nodules; the attention mechanism will encode The spatial information in the layer is propagated to the decoding layer, and at the same time, the loss of information in the forward propagation process is reduced; the residual module deepens the network depth,
  • the fully convolutional residual network based on the ASPP structure and attention mechanism has the ability of automatic learning.
  • the feature extraction is performed on the input data through the Conv2D convolution layer.
  • the operation parameters are reduced.
  • Apply the MaxPooling2D pooling layer to compress the features, extract the main features, and then use the ConvTranspose2D convolutional layer to restore the feature map to the original resolution size, and finally use the Sigmoid activation function to complete the probability prediction of pixel samples, and take 0.5 The threshold for generating prediction masks.
  • FIG. 2 The structure of the fully convolutional residual network in this embodiment is shown in FIG. 2 , specifically:
  • Conv2D convolution layer The size of the convolution kernel of Conv1 ⁇ Conv8 is (3,3), and the number of convolution kernels is shown in Table 1; the size of the convolution kernel of Conv9 is (1,1), the convolution kernel The number of kernels is 1; each convolution step size is (1,1), and each convolution layer contains a batch normalization layer and a Relu activation function;
  • MaxPooling2D pooling layer pooling layers are applied on the 5th, 10th, 15th, and 20th layers, respectively, and the window size is set to (2,2);
  • ConvTranspose2D convolution layer Deconvolution layers are applied on the 22nd, 27th, 32nd, and 37th layers, respectively.
  • the size of the convolution kernel is (3, 3), and the number of convolution kernels is 128, 64, and 32 respectively. , 16;
  • ASPP structure the atrous convolution spatial pyramid pooling structure is applied on the 21st layer, and the parallel atrous convolution sampling rates are set to 1, 6, 12, and 18 respectively;
  • Attention mechanism add an attention module after every two residual blocks
  • Residual module Two residual modules with the same structure are added after each convolutional layer of Conv1 to Conv8;
  • Long skip connection fully connect the outputs of the 4th and 37th, 9th and 32nd, 14th and 27th, and 19th and 22nd layers;
  • the ground glass-like lung nodule pixels were classified using the Sigmoid activation function, and a threshold of 0.5 was taken to generate a mask.
  • the preprocessed ground-glass lung nodule data and labeled data were first read, and then the pre-written program was input to the neural network for model training and verification.
  • This experiment involved 794 ground-glass pulmonary nodules from 428 cases, of which 509 were used as training set, 56 as validation set, and 229 as test set. The similarity coefficient and overlap rate are used to evaluate the segmentation results.
  • Table 2 Dice similarity coefficient, overlap rate index information
  • This embodiment provides a computer device, comprising one or more processors, a memory, and one or more programs stored in the memory, the one or more programs including a method for executing the ground glass described in Embodiment 1 Instructions for an automated segmentation method for pulmonary nodules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The present invention relates to a method for automatically segmenting a ground-glass pulmonary nodule and a computer device. Said method comprises the following steps: acquiring medical image raw data acquired by a computer tomography device; pre-processing the medical image raw data; and taking the pre-processed image as an input of a trained fully convolutional residual network based on an ASPP structure and an attention mechanism, to obtain a ground-glass pulmonary nodule segmentation result, wherein the fully convolutional residual network based on the ASPP structure and the attention mechanism takes a plurality of Conv2D convolutional layers as a basic architecture, a residual module and an attention module being provided between adjacent Conv2D convolutional layers, and an ASPP structure is provided in the fully convolutional residual network to capture multi-scale information of the ground-glass pulmonary nodule. Compared with the prior art, the present invention has the advantages of rapidness, accuracy, etc.

Description

一种磨玻璃样肺结节自动分割方法及计算机设备A method and computer equipment for automatic segmentation of ground-glass pulmonary nodules 技术领域technical field
本发明涉及深度学习与计算机断层扫描图像处理技术领域,尤其是涉及一种基于全卷积残差网络的磨玻璃样肺结节自动分割方法及计算机设备。The invention relates to the technical field of deep learning and computed tomography image processing, in particular to a ground-glass-like lung nodule automatic segmentation method and computer equipment based on a fully convolutional residual network.
背景技术Background technique
肺癌是全球相关癌症死亡的主要原因,当今,计算机断层扫描成像快、图像分辨率高,已成为发现、监测早期肺癌的首选技术。早期肺癌的影像表现是肺结节形成,而准确、快速分割肺结节是良恶性分类中不可或缺的预处理。磨玻璃样肺结节是一类特殊的结节,与实性结节相比,磨玻璃样肺结节具有边界模糊、形状不规则、强度不均匀、与周围正常组织对比度低等特点,易被医生忽略。因此,磨玻璃样肺结节的分割与诊断一直是医学图像分割领域的重点和难点。准确分割磨玻璃样肺结节可为医学影像评价和治疗方案的制定提供重要依据,对提高早期肺癌的监测效率有重要意义。Lung cancer is the leading cause of cancer-related deaths worldwide. Today, computed tomography (CT) has become the technology of choice for detection and monitoring of early-stage lung cancer due to its fast imaging speed and high image resolution. The imaging manifestation of early lung cancer is the formation of pulmonary nodules, and accurate and rapid segmentation of pulmonary nodules is an indispensable preprocessing in the classification of benign and malignant. Ground-glass pulmonary nodules are a special type of nodules. Compared with solid nodules, ground-glass pulmonary nodules are characterized by blurred borders, irregular shapes, uneven intensity, and low contrast with surrounding normal tissues. ignored by doctors. Therefore, the segmentation and diagnosis of ground-glass pulmonary nodules has always been the focus and difficulty in the field of medical image segmentation. Accurate segmentation of ground-glass pulmonary nodules can provide an important basis for medical imaging evaluation and treatment plan formulation, and is of great significance to improve the monitoring efficiency of early lung cancer.
磨玻璃样肺结节分割方法大多采用无监督方法。传统的无监督方法可分为聚类、可变形模型、基于随机游走(Random Walk,RW)和马尔科夫随机场(Markov random field,MRF)理论的分割方法,如自动化学报上公开的文献“基于稀疏表示和随机游走的磨玻璃型肺结节分割”。这些方法虽在分割复杂背景下的磨玻璃样肺结节有优势,但对人工干预的依赖性也较强,如聚类、基于RW理论的分割方法过度依赖种子点的选择;可变形模型依赖初始轮廓的位置,且对噪声敏感;基于MRF理论的分割方法易消耗不必要的计算。Most ground-glass lung nodule segmentation methods use unsupervised methods. Traditional unsupervised methods can be divided into clustering, deformable models, segmentation methods based on random walk (Random Walk, RW) and Markov random field (MRF) theory, such as the literature published in the Journal of Automation. "Ground-glass lung nodule segmentation based on sparse representation and random walks". Although these methods have advantages in segmenting ground-glass pulmonary nodules in complex backgrounds, they are also highly dependent on manual intervention. For example, clustering and segmentation methods based on RW theory overly rely on the selection of seed points; deformable models rely on The position of the initial contour is sensitive to noise; the segmentation method based on MRF theory easily consumes unnecessary computation.
发明内容SUMMARY OF THE INVENTION
本发明的目的就是为了克服上述现有技术存在的缺陷而提供一种快速、准确的基于全卷积残差网络的磨玻璃样肺结节自动分割方法及计算机设备。The purpose of the present invention is to provide a fast and accurate automatic segmentation method and computer equipment for ground glass-like pulmonary nodules based on a fully convolutional residual network in order to overcome the above-mentioned defects in the prior art.
本发明的目的可以通过以下技术方案来实现:The object of the present invention can be realized through the following technical solutions:
一种磨玻璃样肺结节自动分割方法,该方法包括以下步骤:An automatic segmentation method for ground-glass pulmonary nodules, the method includes the following steps:
获取计算机断层扫描设备采集的医学图像原始数据;Obtain the raw data of medical images collected by computed tomography equipment;
对所述医学图像原始数据进行预处理;preprocessing the medical image raw data;
将预处理后的图像作为训练好的基于ASPP结构和注意力机制的全卷积残差网络的输入,获得磨玻璃样肺结节分割结果;The preprocessed image is used as the input of the trained fully convolutional residual network based on ASPP structure and attention mechanism to obtain the segmentation results of ground glass lung nodules;
所述基于ASPP结构和注意力机制的全卷积残差网络以多个Conv2D卷积层为基础架构,相邻Conv2D卷积层之间设置有残差模块和注意力模块,并在全卷积残差网络中设置ASPP结构以捕获磨玻璃样肺结节的多尺度信息。The fully convolutional residual network based on the ASPP structure and attention mechanism is based on multiple Conv2D convolutional layers, and a residual module and an attention module are set between adjacent Conv2D convolutional layers. The ASPP structure is set up in the residual network to capture the multi-scale information of ground glass-like lung nodules.
进一步地,所述基于ASPP结构和注意力机制的全卷积残差网络的训练过程包括:Further, the training process of the fully convolutional residual network based on the ASPP structure and attention mechanism includes:
获取标记有磨玻璃样肺结节的肺部医学图像原始数据,进行预处理后形成训练样本;Obtain the raw data of lung medical images marked with ground glass pulmonary nodules, and form training samples after preprocessing;
选取初始的网络参数,构建基于ASPP结构和注意力机制的全卷积残差网络,基于该全卷积残差网络,确定训练样本中每个肺部医学图像的类别概率;Select the initial network parameters, construct a fully convolutional residual network based on the ASPP structure and attention mechanism, and determine the class probability of each lung medical image in the training sample based on the fully convolutional residual network;
基于预设的损失函数计算训练样本中每个肺部医学图像与对应的标签之间的误差;Calculate the error between each lung medical image and the corresponding label in the training sample based on a preset loss function;
基于所述误差,更新所述全卷积残差网络的网络参数;based on the error, updating the network parameters of the fully convolutional residual network;
在所述误差满足预设的条件后,得到训练好的全卷积残差网络。After the error meets a preset condition, a trained fully convolutional residual network is obtained.
进一步地,所述预处理具体为:Further, the preprocessing is specifically:
将所述原始数据的CT值调整至设定范围,保存为灰度图像,从该灰度图像中提取感兴趣区域,并对所述感兴趣区域进行one-hot编码。The CT value of the original data is adjusted to a set range, and saved as a grayscale image, a region of interest is extracted from the grayscale image, and one-hot encoding is performed on the region of interest.
进一步地,所述预处理具体为:Further, the preprocessing is specifically:
将所述原始数据的CT值调整至设定范围,保存为灰度图像,从该灰度图像和对应的标签数据中提取感兴趣区域,并对所述感兴趣区域进行one-hot编码。The CT value of the original data is adjusted to a set range, and saved as a grayscale image, a region of interest is extracted from the grayscale image and the corresponding label data, and one-hot encoding is performed on the region of interest.
进一步地,所述设定范围为[-1000,400]Hu。Further, the setting range is [-1000, 400] Hu.
进一步地,所述基于ASPP结构和注意力机制的全卷积残差网络还包括用于融合低层特征和高层特征的长跳跃连接层。Further, the fully convolutional residual network based on the ASPP structure and attention mechanism also includes a long skip connection layer for fusing low-level features and high-level features.
进一步地,所述基于ASPP结构和注意力机制的全卷积残差网络划分为低层子网络和高层子网络,所述低层子网络中间隔设置有MaxPooling2D池化层,所述高层子网络中间隔设置有ConvTranspose2D卷积层。Further, the fully convolutional residual network based on the ASPP structure and the attention mechanism is divided into a low-level sub-network and a high-level sub-network. Set up with a ConvTranspose2D convolutional layer.
进一步地,所述ASPP结构设置于低层子网络与高层子网络之间。Further, the ASPP structure is arranged between the lower-level sub-network and the higher-level sub-network.
进一步地,所述多个Conv2D卷积层中,输出层采用Sigmoid激活函数,其余层采用Relu激活函数。Further, among the multiple Conv2D convolutional layers, the output layer adopts the Sigmoid activation function, and the remaining layers adopt the Relu activation function.
本发明还提供一种计算机设备,包括:The present invention also provides a computer device, comprising:
一个或多个处理器;one or more processors;
存储器;和memory; and
被存储在存储器中的一个或多个程序,所述一个或多个程序包括用于执行如上所述磨玻璃样肺结节自动分割方法的指令。One or more programs stored in memory, the one or more programs including instructions for performing the method of automatic segmentation of ground glass pulmonary nodules as described above.
传统肺结节分割方法需要先对肺实质进行分割,再提取感兴趣区域,然后设计有针对性的算法完成分割,但由于磨玻璃样肺结节灰度不均匀、形状不规则、与周围组织对比度低,且部分结节与血管、胸膜等结构粘连,传统方法难以对该类肺结节进行有效分割。The traditional pulmonary nodule segmentation method needs to segment the lung parenchyma first, then extract the region of interest, and then design a targeted algorithm to complete the segmentation. The contrast is low, and some nodules are adhered to structures such as blood vessels and pleura. Traditional methods are difficult to effectively segment such pulmonary nodules.
与现有技术相比,本发明具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
1、本发明采用训练好的基于ASPP结构和注意力机制的全卷积残差网络直接对原始数据信息进行特征提取,并根据所得特征直接对目标进行分割,效率高,且不依赖人工干预。1. The present invention adopts the trained full convolutional residual network based on the ASPP structure and the attention mechanism to directly perform feature extraction on the original data information, and directly segment the target according to the obtained features, which has high efficiency and does not rely on manual intervention.
2、本发明构建的全卷积残差网络具有ASPP结构,并考虑了注意力机制,其中,ASPP结构可以捕获磨玻璃样肺结节的多尺度信息,有效地从高层特征图中提取多尺度感受野特征,提高了模型处理大小不同结节的能力;注意力机制将编码层中的空间信息传播到解码层,同时减少前向传播过程中信息的丢失,有效减少了传递过程中结节特征信息的损失;将批量标准化层加入残差结构加快了网络训练速度,同时避免了网络深度加深带来的梯度消失、性能退化问题,有效提高了最终图像分割的准确性。2. The fully convolutional residual network constructed by the present invention has an ASPP structure and considers the attention mechanism, wherein the ASPP structure can capture the multi-scale information of ground glass-like lung nodules and effectively extract multi-scale information from high-level feature maps. The receptive field feature improves the model's ability to deal with nodules of different sizes; the attention mechanism propagates the spatial information in the encoding layer to the decoding layer, and at the same time reduces the loss of information in the forward propagation process, effectively reducing the nodule features in the transmission process. The loss of information; adding the batch normalization layer to the residual structure accelerates the network training speed, and at the same time avoids the gradient disappearance and performance degradation problems caused by the deepening of the network, and effectively improves the accuracy of the final image segmentation.
3、本发明还设置有用于有效融合低层特征和高层特征的长跳跃连接层,使整个网络的有效信息损失最小化。3. The present invention is also provided with a long jump connection layer for effectively fusing low-level features and high-level features, so as to minimize the loss of effective information of the entire network.
4、本发明进一步在全卷积残差网络中设置MaxPooling2D池化层和ConvTranspose2D卷积层,其中,MaxPooling2D池化层对卷积操作提取的特征进行压缩,一方面使特征变小,简化网络计算复杂度,另一方面进行特征压缩,提取主要特征;ConvTranspose2D卷积层将特征图恢复至原分辨率大小,方便 实现端到端的分割预测。4. The present invention further sets the MaxPooling2D pooling layer and the ConvTranspose2D convolutional layer in the fully convolutional residual network, wherein the MaxPooling2D pooling layer compresses the features extracted by the convolution operation, on the one hand, it makes the features smaller and simplifies the network calculation. On the other hand, feature compression is performed to extract main features; the ConvTranspose2D convolution layer restores the feature map to the original resolution size, which is convenient for end-to-end segmentation prediction.
5、本发明可对各种类型的磨玻璃样肺结节进行分割,普适性好。5. The present invention can segment various types of ground glass pulmonary nodules, and has good universality.
6、本发明构建基于ASPP结构和注意力机制的全卷积残差网络采用添加在残差模块的批量标准化层,加快了网络训练速度,同时避免了网络深度加深带来的梯度消失、性能退化问题。6. The present invention constructs a fully convolutional residual network based on the ASPP structure and attention mechanism, and adopts the batch normalization layer added to the residual module, which speeds up the network training speed and avoids the gradient disappearance and performance degradation caused by the deepening of the network. question.
7、本发明方法具有计算精度高、时间快、鲁棒性好等优点,能够得到可靠、稳定的结果。7. The method of the present invention has the advantages of high calculation accuracy, fast time, good robustness, etc., and can obtain reliable and stable results.
附图说明Description of drawings
图1为本发明方法的流程框图;Fig. 1 is the flow chart of the method of the present invention;
图2为基于ASPP结构和注意力机制的全卷积残差网络框架图;Figure 2 is a framework diagram of a fully convolutional residual network based on the ASPP structure and attention mechanism;
图3为ASPP结构图;Figure 3 is an ASPP structural diagram;
图4为注意力机制结构图;Figure 4 is the structure diagram of the attention mechanism;
图5为残差结构图;Figure 5 is a residual structure diagram;
图6为基于ASPP结构和注意力机制的全卷积残差网络所得结果,其中,图(a)、(b)分别表示训练集与验证集的损失率对比与训练集与验证集的重叠率对比。Figure 6 shows the results of the fully convolutional residual network based on the ASPP structure and attention mechanism, in which Figures (a) and (b) represent the comparison of the loss rate of the training set and the validation set and the overlap rate of the training set and the validation set, respectively. Compared.
具体实施方式Detailed ways
下面结合附图和具体实施例对本发明进行详细说明。本实施例以本发明技术方案为前提进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. This embodiment is implemented on the premise of the technical solution of the present invention, and provides a detailed implementation manner and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
实施例1Example 1
本发明提供一种磨玻璃样肺结节自动分割方法,为一种医学图像自动化处理方法,该方法包括以下步骤:获取计算机断层扫描设备采集的医学图像原始数据;对所述医学图像原始数据进行预处理;将预处理后的图像作为训练好的基于ASPP(Atrous Spatial Pyramid Pooling,空洞空间卷积池化金字塔)结构和注意力机制的全卷积残差网络(ResAANet)的输入,获得磨玻璃样肺结节分割结果。该方法中,基于ASPP结构和注意力机制的全卷积残差网络以多个 Conv2D卷积层为基础架构,相邻Conv2D卷积层之间设置有残差模块和注意力模块,并在全卷积残差网络中设置ASPP结构以捕获磨玻璃样肺结节的多尺度信息,直接对原始数据进行有效的特征提取,从而快速、准确地获得分割结果,分割过程不依赖人工干预。该方法基于深度学习的有监督方法主要通过神经网络训练结节与标签图像,自动提取结节的相关特征,并自动完成分割。The invention provides an automatic segmentation method for ground glass-like pulmonary nodules, which is an automatic medical image processing method. The method includes the following steps: obtaining medical image raw data collected by a computer tomography device; Preprocessing; take the preprocessed image as the input of the trained full convolutional residual network (ResAANet) based on ASPP (Atrous Spatial Pyramid Pooling) structure and attention mechanism to obtain ground glass Pulmonary nodule segmentation results. In this method, the fully convolutional residual network based on the ASPP structure and attention mechanism is based on multiple Conv2D convolutional layers, and a residual module and an attention module are set between adjacent Conv2D convolutional layers. The ASPP structure is set in the convolutional residual network to capture the multi-scale information of ground-glass lung nodules, and the original data can be directly extracted effectively to obtain segmentation results quickly and accurately. The segmentation process does not depend on manual intervention. The supervised method based on deep learning mainly trains nodules and label images through neural network, automatically extracts relevant features of nodules, and automatically completes segmentation.
如图1所示,基于ASPP结构和注意力机制的全卷积残差网络的训练过程包括:As shown in Figure 1, the training process of the fully convolutional residual network based on the ASPP structure and attention mechanism includes:
步骤1,获取计算机断层扫描设备采集得到的磨玻璃样肺结节的肺部医学图像原始数据。 Step 1, acquiring raw data of lung medical images of ground-glass-like pulmonary nodules collected by a computer tomography device.
步骤2,获取与原始数据对应的标记数据,该标记为放射科医生人工标注的结节类型信息。In step 2, the labeling data corresponding to the original data is obtained, and the labeling is the nodule type information manually labelled by the radiologist.
步骤3,进行预处理,形成训练样本,将所有训练样本划分为训练集、验证集和测试集三部分,以验证训练好的网络的性能。In step 3, preprocessing is performed to form training samples, and all training samples are divided into three parts: training set, validation set and test set to verify the performance of the trained network.
步骤4,选取初始的网络参数,构建基于ASPP结构和注意力机制的全卷积残差网络,基于该全卷积残差网络,确定训练样本中每个肺部医学图像的类别概率;基于预设的损失函数计算训练样本中每个肺部医学图像与对应的标签之间的误差;基于所述误差,更新所述全卷积残差网络的网络参数。 Step 4, select the initial network parameters, construct a fully convolutional residual network based on the ASPP structure and attention mechanism, and determine the class probability of each lung medical image in the training sample based on the fully convolutional residual network; The set loss function calculates the error between each lung medical image and the corresponding label in the training sample; based on the error, the network parameters of the fully convolutional residual network are updated.
步骤5,在所述误差满足预设的条件后,得到训练好的全卷积残差网络。Step 5: After the error meets the preset condition, a trained fully convolutional residual network is obtained.
通过对已知磨玻璃样肺结节数据和标注数据进行训练,将得到的网络用于测试集中磨玻璃样肺结节数据的掩模预测,将得到的分割掩模与已知标注数据进行对比,由此判断构建的全卷积残差网络的可靠、稳定性。By training the known ground-glass-like lung nodule data and labeled data, the obtained network is used for mask prediction of the ground-glass-like lung nodule data in the test set, and the obtained segmentation mask is compared with the known labeled data. , to judge the reliability and stability of the constructed fully convolutional residual network.
训练过程中的预处理需要同时对原始数据和标记数据进行,具体为:将所述原始数据的CT值调整至设定范围,保存为灰度图像,从该灰度图像中提取以肺结节为中心的感兴趣区域(region of interesting ROI),并对所述感兴趣区域进行one-hot编码。本实施例中,设定范围为[-1000,400]Hu,灰度图像为8bit,感兴趣区域尺寸为256×256。The preprocessing in the training process needs to be performed on the original data and the labeled data at the same time, specifically: adjusting the CT value of the original data to a set range, saving it as a grayscale image, and extracting lung nodules from the grayscale image. The region of interest (region of interest ROI) is the center, and one-hot encoding is performed on the region of interest. In this embodiment, the setting range is [-1000, 400] Hu, the grayscale image is 8 bits, and the size of the region of interest is 256×256.
在优选的实施例中,基于ASPP结构和注意力机制的全卷积残差网络还包括用于融合低层特征和高层特征的长跳跃连接层。In a preferred embodiment, the fully convolutional residual network based on the ASPP structure and attention mechanism further includes a long skip connection layer for fusing low-level features and high-level features.
在另一优选的实施例中,基于ASPP结构和注意力机制的全卷积残差网络 划分为低层子网络(编码)和高层子网络(解码),所述低层子网络中间隔设置有MaxPooling2D池化层,所述高层子网络中间隔设置有ConvTranspose2D卷积层。In another preferred embodiment, the fully convolutional residual network based on the ASPP structure and attention mechanism is divided into a low-level sub-network (encoding) and a high-level sub-network (decoding), and MaxPooling2D pools are set at intervals in the low-level sub-network The high-level sub-network is provided with a ConvTranspose2D convolutional layer at intervals.
在另一优选的实施例中,多个Conv2D卷积层中,输出层采用Sigmoid激活函数,其余层采用Relu激活函数。In another preferred embodiment, among the multiple Conv2D convolutional layers, the output layer adopts the Sigmoid activation function, and the remaining layers adopt the Relu activation function.
本实施例构建的基于ASPP结构和注意力机制的全卷积残差网络包括Conv2D卷积层、MaxPooling2D池化层、ConvTranspose2D卷积层、ASPP结构、注意力模块、残差模块和长跳跃连接层,其中,Conv2D卷积层用于完成磨玻璃样肺结节特征的提取;MaxPooling2D池化层对卷积操作提取的特征进行压缩,一方面使特征变小,简化网络计算复杂度,另一方面进行特征压缩,提取主要特征;ConvTranspose2D卷积层将特征图恢复至原分辨率大小,完成端到端的分割预测;ASPP结构用于捕获磨玻璃样肺结节的多尺度信息;注意力机制将编码层中的空间信息传播到解码层,同时减少前向传播过程中信息的丢失;残差模块使网络深度得到加深,实现信息跨通道融合,同时避免了残差结构加深网络深度带来的网络梯度消失、性能退化的问题;长跳跃连接层将低层特征和高层特征进行了有效融合,使整个网络的有效信息损失最小化。The fully convolutional residual network based on ASPP structure and attention mechanism constructed in this embodiment includes Conv2D convolution layer, MaxPooling2D pooling layer, ConvTranspose2D convolution layer, ASPP structure, attention module, residual module and long skip connection layer , among which, the Conv2D convolution layer is used to complete the extraction of ground glass-like lung nodule features; the MaxPooling2D pooling layer compresses the features extracted by the convolution operation, on the one hand, the features become smaller and the network computational complexity is simplified, on the other hand Feature compression is performed to extract the main features; the ConvTranspose2D convolutional layer restores the feature map to the original resolution to complete the end-to-end segmentation prediction; the ASPP structure is used to capture the multi-scale information of ground-glass lung nodules; the attention mechanism will encode The spatial information in the layer is propagated to the decoding layer, and at the same time, the loss of information in the forward propagation process is reduced; the residual module deepens the network depth, realizes information cross-channel fusion, and avoids the network gradient caused by the residual structure deepening the network depth. The problem of disappearance and performance degradation; the long skip connection layer effectively fuses low-level features and high-level features to minimize the loss of effective information in the entire network.
该的基于ASPP结构和注意力机制的全卷积残差网络具有自动学习的能力,首先经Conv2D卷积层对其输入的数据进行特征提取,同时为了减少卷积层的特征数进而降低运算参数从而加快计算速度,施加MaxPooling2D池化层对特征进行压缩,提取主要特征,然后利用ConvTranspose2D卷积层将特征图恢复至原分辨率大小,最后使用Sigmoid激活函数完成像素样本的概率预测,并取0.5的阈值生成预测掩模。The fully convolutional residual network based on the ASPP structure and attention mechanism has the ability of automatic learning. First, the feature extraction is performed on the input data through the Conv2D convolution layer. At the same time, in order to reduce the number of features of the convolution layer, the operation parameters are reduced. To speed up the calculation, apply the MaxPooling2D pooling layer to compress the features, extract the main features, and then use the ConvTranspose2D convolutional layer to restore the feature map to the original resolution size, and finally use the Sigmoid activation function to complete the probability prediction of pixel samples, and take 0.5 The threshold for generating prediction masks.
本实施例的全卷积残差网络结构如图2所示,具体为:The structure of the fully convolutional residual network in this embodiment is shown in FIG. 2 , specifically:
(1)Conv2D卷积层:Conv1~Conv8的卷积核尺寸均为(3,3),卷积核个数见表1所示;Conv9的卷积核尺寸为(1,1),卷积核个数为1;各卷积步长均为(1,1),每一个卷积层后均包含一个批量标准化层和一个Relu激活函数;(1) Conv2D convolution layer: The size of the convolution kernel of Conv1~Conv8 is (3,3), and the number of convolution kernels is shown in Table 1; the size of the convolution kernel of Conv9 is (1,1), the convolution kernel The number of kernels is 1; each convolution step size is (1,1), and each convolution layer contains a batch normalization layer and a Relu activation function;
表1 Conv2D卷积层的卷积核大小及个数信息Table 1 Information on the size and number of convolution kernels of the Conv2D convolutional layer
Figure PCTCN2021128438-appb-000001
Figure PCTCN2021128438-appb-000001
Figure PCTCN2021128438-appb-000002
Figure PCTCN2021128438-appb-000002
(2)MaxPooling2D池化层:在第5、10、15、20层分别施加池化层,窗大小均设置为(2,2);(2) MaxPooling2D pooling layer: pooling layers are applied on the 5th, 10th, 15th, and 20th layers, respectively, and the window size is set to (2,2);
(3)ConvTranspose2D卷积层:在第22、27、32、37层分别施加反卷积层,卷积核的尺寸均为(3,3),卷积核个数分别为128、64、32、16;(3) ConvTranspose2D convolution layer: Deconvolution layers are applied on the 22nd, 27th, 32nd, and 37th layers, respectively. The size of the convolution kernel is (3, 3), and the number of convolution kernels is 128, 64, and 32 respectively. , 16;
(4)ASPP结构:在第21层施加空洞卷积空间金字塔池化结构,并行的空洞卷积采样率分别设置为1、6、12、18;(4) ASPP structure: the atrous convolution spatial pyramid pooling structure is applied on the 21st layer, and the parallel atrous convolution sampling rates are set to 1, 6, 12, and 18 respectively;
(5)注意力机制:在每两个残差块后增加一个注意力模块;(5) Attention mechanism: add an attention module after every two residual blocks;
(6)残差模块:在Conv1~Conv8每个卷积层后增加两个相同结构的残差模块;(6) Residual module: Two residual modules with the same structure are added after each convolutional layer of Conv1 to Conv8;
(7)长跳跃连接:将第4与37、9与32、14与27、19与22层进的输出进行全连接;(7) Long skip connection: fully connect the outputs of the 4th and 37th, 9th and 32nd, 14th and 27th, and 19th and 22nd layers;
(8)采用Sigmoid激活函数对磨玻璃样肺结节像素进行分类,并取0.5的阈值生成掩模。(8) The ground glass-like lung nodule pixels were classified using the Sigmoid activation function, and a threshold of 0.5 was taken to generate a mask.
仿真实验:Simulation:
实验首先对预处理好的磨玻璃样肺结节数据和标注数据进行读取,然后通过预先编写好的程序输入神经网络进行模型训练、验证。本实验涉428个病例的794个磨玻璃样肺结节,其中509个作训练集,56个作验证集,229个作测试集,采用测试集预测掩模与医生的标注结果之间的骰子相似系数、重叠率对分割结果进行评价。In the experiment, the preprocessed ground-glass lung nodule data and labeled data were first read, and then the pre-written program was input to the neural network for model training and verification. This experiment involved 794 ground-glass pulmonary nodules from 428 cases, of which 509 were used as training set, 56 as validation set, and 229 as test set. The similarity coefficient and overlap rate are used to evaluate the segmentation results.
仿真实验结果如图6和表2所示。The simulation results are shown in Figure 6 and Table 2.
表2 骰子相似系数、重叠率指标信息Table 2 Dice similarity coefficient, overlap rate index information
Figure PCTCN2021128438-appb-000003
Figure PCTCN2021128438-appb-000003
通过训练集与验证集的损失率与重叠率对比发现,损失不断减小,网络不 断优化,且最终训练与验证的损失值基本一致,同时,训练与验证的重叠率曲线拟合得也很好,不存在过拟合或欠拟合现象,重叠率达到71.98%,这个结果说明本发明在对磨玻璃样肺结节的分割有效。By comparing the loss rate and the overlap rate of the training set and the validation set, it is found that the loss continues to decrease, the network is continuously optimized, and the final training and validation loss values are basically the same. , there is no over-fitting or under-fitting phenomenon, and the overlap rate reaches 71.98%. This result shows that the present invention is effective in the segmentation of ground-glass-like lung nodules.
通过图6和表2的结果可知,本发明方法能对磨玻璃样肺结节进行快速、准确分割。It can be seen from the results in FIG. 6 and Table 2 that the method of the present invention can rapidly and accurately segment ground-glass pulmonary nodules.
实施例2Example 2
本实施例提供一种计算机设备,包括一个或多个处理器、存储器和被存储在存储器中的一个或多个程序,所述一个或多个程序包括用于执行如实施例1所述磨玻璃样肺结节自动分割方法的指令。This embodiment provides a computer device, comprising one or more processors, a memory, and one or more programs stored in the memory, the one or more programs including a method for executing the ground glass described in Embodiment 1 Instructions for an automated segmentation method for pulmonary nodules.
以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术人员无需创造性劳动就可以根据本发明的构思作出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make many modifications and changes according to the concept of the present invention without creative efforts. Therefore, all technical solutions that can be obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the prior art according to the concept of the present invention shall fall within the protection scope determined by the claims.

Claims (10)

  1. 一种磨玻璃样肺结节自动分割方法,其特征在于,该方法包括以下步骤:An automatic segmentation method for ground-glass pulmonary nodules, characterized in that the method comprises the following steps:
    获取计算机断层扫描设备采集的医学图像原始数据;Obtain the raw data of medical images collected by computed tomography equipment;
    对所述医学图像原始数据进行预处理;preprocessing the medical image raw data;
    将预处理后的图像作为训练好的基于ASPP结构和注意力机制的全卷积残差网络的输入,获得磨玻璃样肺结节分割结果;The preprocessed image is used as the input of the trained fully convolutional residual network based on ASPP structure and attention mechanism to obtain the segmentation results of ground glass lung nodules;
    所述基于ASPP结构和注意力机制的全卷积残差网络以多个Conv2D卷积层为基础架构,相邻Conv2D卷积层之间设置有残差模块和注意力模块,并在全卷积残差网络中设置ASPP结构以捕获磨玻璃样肺结节的多尺度信息。The fully convolutional residual network based on the ASPP structure and attention mechanism is based on multiple Conv2D convolutional layers, and a residual module and an attention module are set between adjacent Conv2D convolutional layers. The ASPP structure is set up in the residual network to capture the multi-scale information of ground glass-like lung nodules.
  2. 根据权利要求1所述的磨玻璃样肺结节自动分割方法,其特征在于,所述基于ASPP结构和注意力机制的全卷积残差网络的训练过程包括:The automatic segmentation method for ground-glass-like pulmonary nodules according to claim 1, wherein the training process of the fully convolutional residual network based on the ASPP structure and the attention mechanism comprises:
    获取标记有磨玻璃样肺结节的肺部医学图像原始数据,进行预处理后形成训练样本;Obtain the raw data of lung medical images marked with ground glass pulmonary nodules, and form training samples after preprocessing;
    选取初始的网络参数,构建基于ASPP结构和注意力机制的全卷积残差网络,基于该全卷积残差网络,确定训练样本中每个肺部医学图像的类别概率;Select the initial network parameters, construct a fully convolutional residual network based on the ASPP structure and attention mechanism, and determine the class probability of each lung medical image in the training sample based on the fully convolutional residual network;
    基于预设的损失函数计算训练样本中每个肺部医学图像与对应的标签之间的误差;Calculate the error between each lung medical image and the corresponding label in the training sample based on a preset loss function;
    基于所述误差,更新所述全卷积残差网络的网络参数;based on the error, updating the network parameters of the fully convolutional residual network;
    在所述误差满足预设的条件后,得到训练好的全卷积残差网络。After the error meets a preset condition, a trained fully convolutional residual network is obtained.
  3. 根据权利要求1所述的磨玻璃样肺结节自动分割方法,其特征在于,所述预处理具体为:The automatic segmentation method for ground glass-like pulmonary nodules according to claim 1, wherein the preprocessing is specifically:
    将所述原始数据的CT值调整至设定范围,保存为灰度图像,从该灰度图像中提取感兴趣区域,并对所述感兴趣区域进行one-hot编码。The CT value of the original data is adjusted to a set range, and saved as a grayscale image, a region of interest is extracted from the grayscale image, and one-hot encoding is performed on the region of interest.
  4. 根据权利要求2所述的磨玻璃样肺结节自动分割方法,其特征在于,所述预处理具体为:The automatic segmentation method for ground glass-like pulmonary nodules according to claim 2, wherein the preprocessing is specifically:
    将所述原始数据的CT值调整至设定范围,保存为灰度图像,从该灰度图像和对应的标签数据中提取感兴趣区域,并对所述感兴趣区域进行one-hot编码。The CT value of the original data is adjusted to a set range, and saved as a grayscale image, a region of interest is extracted from the grayscale image and the corresponding label data, and one-hot encoding is performed on the region of interest.
  5. 根据权利要求3或4所述的磨玻璃样肺结节自动分割方法,其特征在于,所述设定范围为[-1000,400]Hu。The automatic segmentation method for ground glass-like pulmonary nodules according to claim 3 or 4, wherein the set range is [-1000, 400] Hu.
  6. 根据权利要求1所述的磨玻璃样肺结节自动分割方法,其特征在于,所述基于ASPP结构和注意力机制的全卷积残差网络还包括用于融合低层特征和高层特征的长跳跃连接层。The automatic segmentation method for ground glass-like pulmonary nodules according to claim 1, wherein the fully convolutional residual network based on the ASPP structure and attention mechanism further comprises a long jump for fusing low-level features and high-level features connection layer.
  7. 根据权利要求1所述的磨玻璃样肺结节自动分割方法,其特征在于,所述基于ASPP结构和注意力机制的全卷积残差网络划分为低层子网络和高层子网络,所述低层子网络中间隔设置有MaxPooling2D池化层,所述高层子网络中间隔设置有ConvTranspose2D卷积层。The automatic segmentation method for ground glass-like pulmonary nodules according to claim 1, wherein the fully convolutional residual network based on the ASPP structure and attention mechanism is divided into a low-level sub-network and a high-level sub-network, and the low-level sub-network MaxPooling2D pooling layers are set at intervals in the sub-network, and ConvTranspose2D convolution layers are set at intervals in the high-level sub-network.
  8. 根据权利要求7所述的磨玻璃样肺结节自动分割方法,其特征在于,所述ASPP结构设置于低层子网络与高层子网络之间。The automatic segmentation method for ground-glass-like pulmonary nodules according to claim 7, wherein the ASPP structure is arranged between a low-level sub-network and a high-level sub-network.
  9. 根据权利要求1所述的磨玻璃样肺结节自动分割方法,其特征在于,所述多个Conv2D卷积层中,输出层采用Sigmoid激活函数,其余层采用Relu激活函数。The method for automatic segmentation of ground-glass-like pulmonary nodules according to claim 1, wherein among the plurality of Conv2D convolutional layers, the output layer adopts a Sigmoid activation function, and the remaining layers adopt a Relu activation function.
  10. 一种计算机设备,其特征在于,包括:A computer device, comprising:
    一个或多个处理器;one or more processors;
    存储器;和memory; and
    被存储在存储器中的一个或多个程序,所述一个或多个程序包括用于执行如权利要求1-9任一所述磨玻璃样肺结节自动分割方法的指令。One or more programs stored in memory, the one or more programs comprising instructions for performing the method for automatic segmentation of ground glass pulmonary nodules as claimed in any one of claims 1-9.
PCT/CN2021/128438 2020-11-11 2021-11-03 Method for automatically segmenting ground-glass pulmonary nodule and computer device WO2022100495A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011254470.2A CN112465830B (en) 2020-11-11 2020-11-11 Automatic segmentation method for polished glass-like lung nodule and computer equipment
CN202011254470.2 2020-11-11

Publications (1)

Publication Number Publication Date
WO2022100495A1 true WO2022100495A1 (en) 2022-05-19

Family

ID=74826161

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128438 WO2022100495A1 (en) 2020-11-11 2021-11-03 Method for automatically segmenting ground-glass pulmonary nodule and computer device

Country Status (2)

Country Link
CN (1) CN112465830B (en)
WO (1) WO2022100495A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114926482A (en) * 2022-05-31 2022-08-19 泰安市中心医院 DCE-MRI breast tumor segmentation method and device based on full convolution network
CN115115628A (en) * 2022-08-29 2022-09-27 山东第一医科大学附属省立医院(山东省立医院) Lacunar cerebral infarction identification system based on three-dimensional refined residual error network
CN116012367A (en) * 2023-02-14 2023-04-25 山东省人工智能研究院 Deep learning-based stomach mucosa feature and position identification method
CN116051507A (en) * 2023-01-28 2023-05-02 瑞纳智能设备股份有限公司 Thermal pipeline fault monitoring method and storage medium
CN116152278A (en) * 2023-04-17 2023-05-23 杭州堃博生物科技有限公司 Medical image segmentation method and device and nonvolatile storage medium
CN116188492A (en) * 2023-02-21 2023-05-30 北京长木谷医疗科技有限公司 Hip joint segmentation method, device, electronic equipment and computer readable storage medium
CN116403212A (en) * 2023-05-16 2023-07-07 西安石油大学 Method for identifying small particles in pixels of metallographic image based on improved U-net network
CN117132606A (en) * 2023-10-24 2023-11-28 四川大学 Segmentation method for lung lesion image

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112465830B (en) * 2020-11-11 2024-04-26 上海健康医学院 Automatic segmentation method for polished glass-like lung nodule and computer equipment
CN113222012A (en) * 2021-05-11 2021-08-06 北京知见生命科技有限公司 Automatic quantitative analysis method and system for lung digital pathological image
CN113379773B (en) * 2021-05-28 2023-04-28 陕西大智慧医疗科技股份有限公司 Segmentation model establishment and segmentation method and device based on dual-attention mechanism
CN113486716B (en) * 2021-06-04 2022-06-14 电子科技大学长三角研究院(衢州) Airport scene target segmentation method and system thereof
CN113570573A (en) * 2021-07-28 2021-10-29 中山仰视科技有限公司 Pulmonary nodule false positive eliminating method, system and equipment based on mixed attention mechanism
CN114037709B (en) * 2021-11-05 2023-06-16 复旦大学附属肿瘤医院 Method and device for segmenting ground glass lung nodules

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110189334A (en) * 2019-05-28 2019-08-30 南京邮电大学 The medical image cutting method of the full convolutional neural networks of residual error type based on attention mechanism
CN110728682A (en) * 2019-09-09 2020-01-24 浙江科技学院 Semantic segmentation method based on residual pyramid pooling neural network
US20200258218A1 (en) * 2018-03-14 2020-08-13 Dalian University Of Technology Method based on deep neural network to extract appearance and geometry features for pulmonary textures classification
CN111739075A (en) * 2020-06-15 2020-10-02 大连理工大学 Deep network lung texture recognition method combining multi-scale attention
CN112465830A (en) * 2020-11-11 2021-03-09 上海健康医学院 Automatic segmentation method for grinded glass-like pulmonary nodules and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200258218A1 (en) * 2018-03-14 2020-08-13 Dalian University Of Technology Method based on deep neural network to extract appearance and geometry features for pulmonary textures classification
CN110189334A (en) * 2019-05-28 2019-08-30 南京邮电大学 The medical image cutting method of the full convolutional neural networks of residual error type based on attention mechanism
CN110728682A (en) * 2019-09-09 2020-01-24 浙江科技学院 Semantic segmentation method based on residual pyramid pooling neural network
CN111739075A (en) * 2020-06-15 2020-10-02 大连理工大学 Deep network lung texture recognition method combining multi-scale attention
CN112465830A (en) * 2020-11-11 2021-03-09 上海健康医学院 Automatic segmentation method for grinded glass-like pulmonary nodules and computer equipment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114926482A (en) * 2022-05-31 2022-08-19 泰安市中心医院 DCE-MRI breast tumor segmentation method and device based on full convolution network
CN115115628A (en) * 2022-08-29 2022-09-27 山东第一医科大学附属省立医院(山东省立医院) Lacunar cerebral infarction identification system based on three-dimensional refined residual error network
CN115115628B (en) * 2022-08-29 2022-11-22 山东第一医科大学附属省立医院(山东省立医院) Lacunar infarction identification system based on three-dimensional refined residual error network
CN116051507B (en) * 2023-01-28 2023-06-20 瑞纳智能设备股份有限公司 Thermal pipeline fault monitoring method and storage medium
CN116051507A (en) * 2023-01-28 2023-05-02 瑞纳智能设备股份有限公司 Thermal pipeline fault monitoring method and storage medium
CN116012367B (en) * 2023-02-14 2023-09-12 山东省人工智能研究院 Deep learning-based stomach mucosa feature and position identification method
CN116012367A (en) * 2023-02-14 2023-04-25 山东省人工智能研究院 Deep learning-based stomach mucosa feature and position identification method
CN116188492A (en) * 2023-02-21 2023-05-30 北京长木谷医疗科技有限公司 Hip joint segmentation method, device, electronic equipment and computer readable storage medium
CN116188492B (en) * 2023-02-21 2024-04-26 北京长木谷医疗科技股份有限公司 Hip joint segmentation method, device, electronic equipment and computer readable storage medium
CN116152278A (en) * 2023-04-17 2023-05-23 杭州堃博生物科技有限公司 Medical image segmentation method and device and nonvolatile storage medium
CN116403212A (en) * 2023-05-16 2023-07-07 西安石油大学 Method for identifying small particles in pixels of metallographic image based on improved U-net network
CN116403212B (en) * 2023-05-16 2024-02-02 西安石油大学 Method for identifying small particles in pixels of metallographic image based on improved U-net network
CN117132606A (en) * 2023-10-24 2023-11-28 四川大学 Segmentation method for lung lesion image
CN117132606B (en) * 2023-10-24 2024-01-09 四川大学 Segmentation method for lung lesion image

Also Published As

Publication number Publication date
CN112465830B (en) 2024-04-26
CN112465830A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
WO2022100495A1 (en) Method for automatically segmenting ground-glass pulmonary nodule and computer device
Zhang et al. A deep learning framework for pancreas segmentation with multi-atlas registration and 3D level-set
Wang et al. Automated diabetic retinopathy grading and lesion detection based on the modified R‐FCN object‐detection algorithm
CN106940816B (en) CT image pulmonary nodule detection system based on 3D full convolution neural network
Zhou et al. Cross-level feature aggregation network for polyp segmentation
CN111488921B (en) Intelligent analysis system and method for panoramic digital pathological image
CN112489061B (en) Deep learning intestinal polyp segmentation method based on multi-scale information and parallel attention mechanism
CN111369565B (en) Digital pathological image segmentation and classification method based on graph convolution network
CN111598875A (en) Method, system and device for building thyroid nodule automatic detection model
WO2019184851A1 (en) Image processing method and apparatus, and training method for neural network model
CN112862830A (en) Multi-modal image segmentation method, system, terminal and readable storage medium
CN112396605B (en) Network training method and device, image recognition method and electronic equipment
CN109670489B (en) Weak supervision type early senile macular degeneration classification method based on multi-instance learning
CN112233061A (en) Deep learning-based skin basal cell carcinoma and Babylonia disease identification method
Al-Masni et al. A deep learning model integrating FrCN and residual convolutional networks for skin lesion segmentation and classification
CN115482221A (en) End-to-end weak supervision semantic segmentation labeling method for pathological image
Liu et al. A coarse-to-fine segmentation frame for polyp segmentation via deep and classification features
Ding et al. A multichannel deep neural network for retina vessel segmentation via a fusion mechanism
Jiang et al. Msk-unet: A modified u-net architecture based on selective kernel with multi-scale input for pavement crack detection
CN114140437A (en) Fundus hard exudate segmentation method based on deep learning
CN117152433A (en) Medical image segmentation method based on multi-scale cross-layer attention fusion network
CN116188352A (en) Pulmonary nodule segmentation method based on enhanced edge features
Nguyen et al. Pavement crack detection and segmentation based on deep neural network
CN114445426A (en) Method and device for segmenting polyp region in endoscope image and related assembly
CN113343995A (en) Image segmentation method based on reverse attention network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21891022

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21891022

Country of ref document: EP

Kind code of ref document: A1