CN111724360B - Lung lobe segmentation method, device and storage medium - Google Patents
Lung lobe segmentation method, device and storage medium Download PDFInfo
- Publication number
- CN111724360B CN111724360B CN202010534722.0A CN202010534722A CN111724360B CN 111724360 B CN111724360 B CN 111724360B CN 202010534722 A CN202010534722 A CN 202010534722A CN 111724360 B CN111724360 B CN 111724360B
- Authority
- CN
- China
- Prior art keywords
- lung
- image
- images
- optical flow
- segmented
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10072—Tomographic images
- G06T2207/10081—Computed x-ray tomography [CT]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30061—Lung
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Quality & Reliability (AREA)
- Radiology & Medical Imaging (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Apparatus For Radiation Diagnosis (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本发明涉及医学图像处理领域,具体说是一种肺叶分割方法、装置和存储介质。The invention relates to the field of medical image processing, in particular to a lung lobe segmentation method, device and storage medium.
背景技术Background technique
肺上端钝圆叫肺尖,向上经胸廓上口突入颈根部,底位于膈上面,对向肋和肋间隙的面叫肋面,朝向纵隔的面叫内侧面,该面中央的支气管、血管、淋巴管和神经出入处叫肺门,这些出入肺门的结构,被结缔组织包裹在一起叫肺根。左肺由斜裂分为上、下二个肺叶,右肺除斜裂外,还有一水平裂将其分为上、中、下三个肺叶。The blunt upper end of the lung is called the lung apex, which protrudes upwards through the upper thorax into the root of the neck. The base is located on the top of the diaphragm. The entrance and exit of lymphatic vessels and nerves are called hilum, and these structures that enter and exit the hilum are wrapped together by connective tissue and are called lung roots. The left lung is divided into upper and lower lobes by an oblique fissure, and the right lung is divided into upper, middle and lower lobes by a horizontal fissure in addition to the oblique fissure.
目前,无论是采用传统机器学习还是深度学习进行分割肺叶,都是依据肺(叶)的特征进行分类,因此肺(叶)的特征尤其重要,如果一个肺(叶)的特征信息足够多,这样就会使得分类器更好地学习以及分类,更好地完成肺叶分割。At present, no matter whether traditional machine learning or deep learning is used to segment lung lobes, the classification is based on the characteristics of the lung (lobe). Therefore, the characteristics of the lung (lobe) are particularly important. If there is enough feature information of a lung (lobe), such It will make the classifier better learn and classify, and better complete the lung lobe segmentation.
发明内容Contents of the invention
有鉴于此,本发明提供一种肺叶分割方法、装置和存储介质,以解决目前肺(叶)的特征信息不足,导致分割效果差的问题。In view of this, the present invention provides a lung lobe segmentation method, device and storage medium to solve the current problem of insufficient feature information of the lung (lobe), resulting in poor segmentation effect.
第一方面,本发明提供一种肺叶分割方法,包括:In a first aspect, the present invention provides a lung lobe segmentation method, comprising:
获取呼吸过程中多时刻的肺图像;Obtain lung images at multiple moments during breathing;
确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像;Determining the lung images to be segmented in the lung images at multiple moments, and the lung images other than the images to be segmented as the first lung images;
利用至少一个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像,所述至少两个第一肺图像包括至少一个在所述待分割图像之前时刻的肺图像以及/或至少一个在所述待分割图像之后时刻的肺图像;Using at least one first lung image to fuse the lung image to be segmented to obtain a fused lung image, the at least two first lung images include at least one lung image at a time before the image to be segmented and/or at least one a lung image at a time after the image to be segmented;
利用预设肺叶分割模型对所述融合肺图像进行分割,得到所述待分割肺图像的肺叶图像。The fused lung image is segmented using a preset lung lobe segmentation model to obtain a lung lobe image of the lung image to be segmented.
优选地,所述利用所述至少两个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像的方法,包括:Preferably, the method of using the at least two first lung images to fuse the lung image to be segmented to obtain a fused lung image includes:
执行所述至少一个第一肺图像到所述待分割肺图像的配准操作,得到待融合肺图像;performing a registration operation of the at least one first lung image to the lung image to be segmented to obtain a lung image to be fused;
将所述待融合肺图像及所述待分割肺图像进行融合,得到融合肺图像;Fusing the lung image to be fused with the lung image to be segmented to obtain a fused lung image;
以及/或,and/or,
所述确定所述多时刻的肺图像中某一时刻的待分割肺图像的方法,包括:The method for determining the lung image to be segmented at a certain moment in the lung images at multiple moments includes:
计算所述多时刻的肺图像中的肺体积,确定所述肺体积最大的肺图像为所述待分割肺图像。Calculate lung volumes in the lung images at multiple times, and determine the lung image with the largest lung volume as the lung image to be segmented.
优选地,所述将所述待融合肺图像及所述待分割肺图像进行融合,得到融合肺图像的方法,包括:Preferably, the method of fusing the lung image to be fused and the lung image to be segmented to obtain a fused lung image includes:
确定所述待融合肺图像的权重值;Determining the weight value of the lung image to be fused;
根据所述权重值及所述待融合肺图像得到权重肺图像;Obtaining a weighted lung image according to the weight value and the lung image to be fused;
对所述权重肺图像与所述待分割肺图像进行融合,得到所述融合肺图像;Fusing the weighted lung image and the lung image to be segmented to obtain the fused lung image;
以及/或,and/or,
所述确定所述多时刻的肺图像中某一时刻的待分割肺图像的方法,还包括:The method for determining the lung image to be segmented at a certain moment in the lung images at multiple moments further includes:
在计算所述多时刻的肺图像中的肺体积之前,分别提取所述多时刻的肺图像的左肺和右肺,分别计算所述多时刻的肺图像中所述左肺的第一体积和右肺的第二体积,分别根据所述第一体积及所述第二体积计算所述多时刻的肺图像中的肺体积。Before calculating the lung volumes in the multi-time lung images, respectively extract the left lung and the right lung of the multi-time lung images, and calculate the first volume and the first volume of the left lung in the multi-time lung images respectively For the second volume of the right lung, calculate the lung volumes in the multi-moment lung images according to the first volume and the second volume respectively.
优选地,所述确定所述待融合肺图像的权重值的方法,包括:确定所述待融合肺图像的配准点,确定所述配准点的权重值大于非配准点的权重值,所述配准点以外的特征点为非配准点;Preferably, the method for determining the weight value of the lung image to be fused includes: determining the registration point of the lung image to be fused, determining that the weight value of the registration point is greater than the weight value of the non-registration point, the registration The feature points other than the quasi-points are non-registration points;
以及/或,and/or,
所述对所述权重肺图像与所述待分割肺图像进行融合,得到所述融合肺图像的方法,包括:对所述权重肺图像和所述待分割肺图像执行加和处理,得到所述融合肺图像;The method of fusing the weighted lung image and the lung image to be segmented to obtain the fused lung image includes: performing sum processing on the weighted lung image and the lung image to be segmented to obtain the Fusion of lung images;
以及/或,and/or,
所述对所述权重肺图像与所述待分割肺图像进行融合,得到所述融合肺图像的方法,包括:利用第一预设神经网络对所述将所述待融合肺图像及所述待分割肺图像进行融合,得到融合肺图像。The method of fusing the weighted lung image and the lung image to be segmented to obtain the fused lung image includes: using a first preset neural network to combine the lung image to be fused and the lung image to be fused The lung images are segmented and fused to obtain a fused lung image.
优选地,所述执行所述至少一个第一肺图像到所述待分割肺图像的配准操作,得到待融合肺图像的方法,包括:Preferably, the method of performing the registration operation of the at least one first lung image to the lung image to be segmented to obtain the lung image to be fused includes:
从所述至少两个第一肺图像以及所述待分割图像中的相同位置提取图像,得到所述相同位置提取的图像形成的肺运动序列图像;extract images from the same position in the at least two first lung images and the image to be segmented, and obtain a lung motion sequence image formed by the images extracted at the same position;
分别计算所述肺运动序列图像中相邻图像的肺位移,根据所述肺位移执行所述至少一个第一肺图像到所述待分割肺图像的配准操作;respectively calculating lung displacements of adjacent images in the lung motion sequence images, and performing a registration operation from the at least one first lung image to the lung image to be segmented according to the lung displacements;
以及/或,and/or,
所述肺叶分割方法,还包括:所述预设肺叶分割模型至少为2个,将所述预设肺叶分割模型得到的肺叶分割图像的特征进行融合得到融合特征,对所述融合特征进行分类处理得到最终的肺叶图像。The lung lobe segmentation method further includes: there are at least two preset lung lobe segmentation models, the features of the lung lobe segmentation images obtained by the preset lung lobe segmentation models are fused to obtain fusion features, and the fusion features are classified. Get the final lung lobe image.
优选地,所述从所述至少两个第一肺图像以及所述待分割图像中的相同位置提取图像,得到所述相同位置提取的图像形成的肺运动序列图像的方法,包括:Preferably, the method of extracting images from the same position in the at least two first lung images and the image to be segmented, and obtaining the lung motion sequence image formed by the images extracted at the same position, includes:
确定所述多时刻的肺图像的层数;determining the number of layers of the multi-moment lung image;
根据所述层数确定所述至少两个第一肺图像以及所述待分割图像在相同位置的肺图像;determining the at least two first lung images and the lung images at the same position of the image to be segmented according to the number of layers;
根据所述多时刻的在相同位置的肺图像得到所述肺运动序列图像;Obtaining the lung motion sequence image according to the lung images at the same position at multiple times;
以及/或,and/or,
所述分别计算所述肺运动序列图像中相邻图像的肺位移的方法,包括:The method for separately calculating the lung displacement of adjacent images in the lung motion sequence images includes:
分别确定所述肺运动序列图像中相邻图像的第一正向光流;respectively determining the first forward optical flow of adjacent images in the lung motion sequence images;
分别根据所述第一正向光流确定所述相邻图像的肺位移;determining lung displacements of the adjacent images respectively according to the first forward optical flow;
以及/或,and/or,
所述将所述预设肺叶分割模型得到的肺叶分割图像的特征进行融合得到融合特征的方法,包括:The method of fusing the features of the lung lobe segmentation image obtained by the preset lung lobe segmentation model to obtain fusion features includes:
分别对所述预设肺叶分割模型得到的所述肺叶分割图像进行拼接得到拼接特征,将所述拼接特征输入第二预设神经网进行卷积操作得到所述融合特征。Splicing the lung lobe segmentation images obtained by the preset lung lobe segmentation model respectively to obtain splicing features, and inputting the splicing features into a second preset neural network for convolution operation to obtain the fusion features.
优选地,所述分别计算所述肺运动序列图像中相邻图像的肺位移的方法,还包括:Preferably, the method for separately calculating the lung displacements of adjacent images in the lung motion sequence images further includes:
分别确定所述第一正向光流对应的第一反向光流;respectively determining the first reverse optical flow corresponding to the first forward optical flow;
分别根据所述第一反向光流以及所述第一反向光流确定所述相邻图像的肺位移;determining lung displacements of the adjacent images according to the first reverse optical flow and the first reverse optical flow, respectively;
以及/或,and/or,
所述分别计算所述肺运动序列图像中相邻图像的肺位移的方法,还包括:分别对所述第一正向光流和第一反向光流执行光流优化处理,得到与各所述第一正向光流对应的第二正向光流,以及与各所述第一反向光流对应的第二反向光流;分别根据所述第二正向光流以及所述第二反向光流确定所述相邻图像的肺位移。The method for separately calculating lung displacements of adjacent images in the lung motion sequence images further includes: respectively performing optical flow optimization processing on the first forward optical flow and the first reverse optical flow to obtain The second forward optical flow corresponding to the first forward optical flow, and the second reverse optical flow corresponding to each of the first reverse optical flows; respectively according to the second forward optical flow and the first Two reverse optical flows determine the lung displacement of the adjacent images.
优选地,所述分别根据所述第一反向光流以及所述第一反向光流确定所述相邻图像的肺位移的方法,包括:Preferably, the method for determining the lung displacement of the adjacent image according to the first reverse optical flow and the first reverse optical flow respectively includes:
分别对所述第二正向光流以及所述第二反向光流进行运算,得到矫正光流;respectively performing operations on the second forward optical flow and the second reverse optical flow to obtain a corrected optical flow;
分别根据所述矫正光流确定所述相邻图像的肺位移。The lung displacements of the adjacent images are respectively determined according to the corrected optical flow.
优选地,所述分别对所述第一正向光流和第一反向光流执行光流优化处理,得到与各所述第一正向光流对应的第二正向光流,以及与各所述第一反向光流对应的第二反向光流的方法,包括:Preferably, performing optical flow optimization processing on the first forward optical flow and the first reverse optical flow respectively, to obtain a second forward optical flow corresponding to each of the first forward optical flows, and The method for the second reverse optical flow corresponding to each of the first reverse optical flow includes:
连接各所述第一正向光流得到第一连接光流,以及连接各所述第一反向光流得到第二连接光流;connecting each of the first forward optical flows to obtain a first connecting optical flow, and connecting each of the first reverse optical flows to obtain a second connecting optical flow;
分别对所述第一连接光流和第二连接光流执行N次光流优化处理,得到所述第一连接光流对应的第一优化光流,以及第二连接光流对应的第二优化光流;Perform N times of optical flow optimization processing on the first connected optical flow and the second connected optical flow respectively, to obtain the first optimized optical flow corresponding to the first connected optical flow, and the second optimized optical flow corresponding to the second connected optical flow light flow;
根据所述第一优化光流得到每个第一正向光流对应的第二正向光流,以及根据所述第二优化光流得到每个第一反向光流对应的第二反向光流;The second forward optical flow corresponding to each first forward optical flow is obtained according to the first optimized optical flow, and the second reverse corresponding to each first reverse optical flow is obtained according to the second optimized optical flow light flow;
其中,N为大于或者等于1的正整数。Wherein, N is a positive integer greater than or equal to 1.
优选地,所述分别对所述第一连接光流和第二连接光流执行N次光流优化处理,包括:Preferably, performing N times of optical flow optimization processing on the first connection optical flow and the second connection optical flow respectively includes:
对所述第一连接光流和第二连接光流执行第一次光流优化处理,得到所述第一连接光流对应的第一优化子光流,以及第二连接光流对应的第一优化子光流;以及Perform the first optical flow optimization process on the first connected optical flow and the second connected optical flow to obtain the first optimized sub-optical flow corresponding to the first connected optical flow, and the first optimized sub-optical flow corresponding to the second connected optical flow. optimize the sub-optical flow; and
分别对所述第一连接光流和所述第二连接光流的第i优化子光流执行第i+1次光流优化处理,得到所述第一连接光流对应的第i+1优化子光流,以及第二连接光流对应的第i+1优化子光流;Perform the (i+1)th optical flow optimization process on the i-th optimized sub-optical flow of the first connected optical flow and the second connected optical flow respectively, to obtain the (i+1)th optimized sub-optical flow corresponding to the first connected optical flow sub-optical flow, and the i+1th optimized sub-optical flow corresponding to the second connected optical flow;
其中,i为大于1且小于N的正整数;通过第N次优化处理,将得到的所述第一连接光流的第N优化子光流确定为所述第一优化光流,以及将得到的所述第二连接光流的第N优化子光流确定为所述第二优化光流;各次光流优化处理包括残差处理和上采样处理。Wherein, i is a positive integer greater than 1 and less than N; through the Nth optimization process, the Nth optimized sub-optical flow of the first connected optical flow obtained is determined as the first optimized optical flow, and will be obtained The Nth optimized sub-optical flow of the second connected optical flow is determined as the second optimized optical flow; each optical flow optimization process includes residual processing and upsampling processing.
优选地,根据所述多时刻的肺叶图像的正向时间顺序,确定所述肺运动序列图像中相邻图像的所述第一正向光流,以及根据多时刻的肺叶图像的反向时间顺序,确定所述肺运动序列图像中相邻图像的所述第一反向光流。Preferably, according to the forward time sequence of the lung lobe images at multiple times, the first forward optical flow of adjacent images in the lung motion sequence images is determined, and according to the reverse time sequence of the lung lobe images at multiple times , determining the first reverse optical flow of adjacent images in the lung motion sequence images.
第二方面,本发明提供一种肺叶分割装置,其特征在于,包括:In a second aspect, the present invention provides a lung lobe segmentation device, which is characterized in that it includes:
获取单元,用于获取呼吸过程中多时刻的肺图像;An acquisition unit, configured to acquire lung images at multiple moments in the breathing process;
确定单元,用于确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像;A determining unit, configured to determine a lung image to be segmented among the lung images at multiple times, and a lung image other than the image to be segmented is used as a first lung image;
融合单元,用于利用至少一个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像,所述至少两个第一肺图像包括至少一个在所述待分割图像之前时刻的肺图像以及/或至少一个在所述待分割图像之后时刻的肺图像;A fusion unit, configured to use at least one first lung image to fuse the lung image to be segmented to obtain a fused lung image, and the at least two first lung images include at least one lung image at a moment before the image to be segmented and/or at least one lung image at a time subsequent to the image to be segmented;
分割单元,用于利用预设肺叶分割模型对所述融合肺图像进行分割,得到所述待分割肺图像的肺叶图像。A segmentation unit, configured to segment the fused lung image by using a preset lung lobe segmentation model to obtain a lung lobe image of the lung image to be segmented.
第三方面,本发明提供一种存储介质,所述计算机程序指令被处理器执行时实现上述的方法,包括:In a third aspect, the present invention provides a storage medium. When the computer program instructions are executed by a processor, the above method is implemented, including:
获取呼吸过程中多时刻的肺图像;Obtain lung images at multiple moments during breathing;
确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像;Determining the lung images to be segmented in the lung images at multiple moments, and the lung images other than the images to be segmented as the first lung images;
利用至少一个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像,所述至少两个第一肺图像包括至少一个在所述待分割图像之前时刻的肺图像以及/或至少一个在所述待分割图像之后时刻的肺图像;Using at least one first lung image to fuse the lung image to be segmented to obtain a fused lung image, the at least two first lung images include at least one lung image at a time before the image to be segmented and/or at least one a lung image at a time after the image to be segmented;
利用预设肺叶分割模型对所述融合肺图像进行分割,得到所述待分割肺图像的肺叶图像。The fused lung image is segmented using a preset lung lobe segmentation model to obtain a lung lobe image of the lung image to be segmented.
本发明至少具有如下有益效果:The present invention has at least the following beneficial effects:
本发明提供一种肺叶分割方法、装置和存储介质,以解决目前肺(叶)的特征信息不足,导致分割效果差的问题。The present invention provides a lung lobe segmentation method, device and storage medium to solve the problem of poor segmentation effect caused by insufficient characteristic information of the current lung (lobe).
附图说明Description of drawings
通过以下参考附图对本发明实施例的描述,本发明的上述以及其它目的、特征和优点更为清楚,在附图中:Through the following description of the embodiments of the present invention with reference to the accompanying drawings, the above-mentioned and other objects, features and advantages of the present invention are more clear, in the accompanying drawings:
图1是本发明实施例一种肺叶分割方法的流程示意图。FIG. 1 is a schematic flowchart of a lung lobe segmentation method according to an embodiment of the present invention.
具体实施方式Detailed ways
以下基于实施例对本发明进行描述,但是值得说明的是,本发明并不限于这些实施例。在下文对本发明的细节描述中,详尽描述了一些特定的细节部分。然而,对于没有详尽描述的部分,本领域技术人员也可以完全理解本发明。The present invention will be described below based on examples, but it should be noted that the present invention is not limited to these examples. In the following detailed description of the invention, some specific details are set forth in detail. However, the present invention can be fully understood by those skilled in the art about the parts that are not described in detail.
此外,本领域普通技术人员应当理解,所提供的附图只是为了说明本发明的目的、特征和优点,附图并不是实际按照比例绘制的。In addition, those of ordinary skill in the art should understand that the provided drawings are only for illustrating the objects, features and advantages of the present invention, and the drawings are not actually drawn to scale.
同时,除非上下文明确要求,否则整个说明书和权利要求书中的“包括”、“包含”等类似词语应当解释为包含的含义而不是排他或穷举的含义;也就是说,是“包含但不限于”的含义。At the same time, unless the context clearly requires, the words "include", "include" and other similar words in the entire specification and claims should be interpreted as an inclusive meaning rather than an exclusive or exhaustive meaning; that is, "include but not limited to the meaning of ".
本公开实施例提供的肺叶分割方法的执行主体可以为任意的图像处理装置,例如肺叶分割方法可以由终端设备或服务器执行,其中,终端设备可以为用户设备(UserEquipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字处理(PersonalDigital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等。服务器可以为本地服务器或者云端服务器。在一些可能的实现方式中,该肺叶分割方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。The execution subject of the lung lobe segmentation method provided by the embodiments of the present disclosure may be any image processing device. For example, the lung lobe segmentation method may be executed by a terminal device or a server, wherein the terminal device may be a user equipment (UserEquipment, UE), a mobile device, a user Terminals, Terminals, Cellular Phones, Cordless Phones, Personal Digital Assistant (PDA), Handheld Devices, Computing Devices, Vehicle Devices, Wearable Devices, etc. The server can be a local server or a cloud server. In some possible implementation manners, the lung lobe segmentation method may be implemented by a processor invoking computer-readable instructions stored in a memory.
图1是本发明实施例一种肺叶分割方法的流程示意图。如图1所示,一种肺叶分割方法,包括:步骤101:获取呼吸过程中多时刻的肺图像;步骤102:确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像;步骤103:利用至少一个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像,所述至少两个第一肺图像包括至少一个在所述待分割图像之前时刻的肺图像以及/或至少一个在所述待分割图像之后时刻的肺图像;步骤104:利用预设肺叶分割模型对所述融合肺图像进行分割,得到所述待分割肺图像的肺叶图像。以解决目前肺(叶)的特征信息不足,导致分割效果差的问题。FIG. 1 is a schematic flowchart of a lung lobe segmentation method according to an embodiment of the present invention. As shown in Figure 1, a lung lobe segmentation method includes: Step 101: Acquire lung images at multiple moments in the breathing process; Step 102: Determine the lung image to be segmented in the lung images at multiple moments, the image to be segmented Other lung images are used as the first lung image; Step 103: Use at least one first lung image to fuse the lung image to be segmented to obtain a fused lung image, and the at least two first lung images include at least one in the A lung image at a time before the image to be segmented and/or at least one lung image at a time after the image to be segmented; Step 104: Using a preset lung lobe segmentation model to segment the fused lung image to obtain the lung image to be segmented image of the lung lobes. In order to solve the problem of insufficient feature information of the current lung (lobe), resulting in poor segmentation effect.
步骤101:获取呼吸过程中多时刻的肺图像。Step 101: Acquire lung images at multiple moments in the breathing process.
在本公开实施例中,获取呼吸过程中多时刻的肺图像可以为吸气过程中的多时刻的肺图像,或呼吸过程中的多时刻的肺图像,或吸气及呼吸过程中的多时刻的肺图像;上述多时刻的肺叶图像为同一患者在在呼气和/或吸气过程中的多个时刻分别获得的多时刻的肺图像。本公开实施例中的时刻可以表示为一个时间段,即采集一组肺图像的时间信息。具体的采集过程,可以按照影像医生的指导进行;例如,在呼吸过程中,可以在深吸气的时刻采集至少一套肺图像,也可以在深呼气的时刻采集至少一套肺图像,在平静状态下采集至少一套肺图像,其中平静状态为正常呼气后采集的一套肺图像。又例如,在呼吸到呼气过程中,让患者在吸气或者呼气阶段的不同时刻进行屏住呼吸,以采集多时刻的肺图像。In the embodiment of the present disclosure, the acquisition of lung images at multiple moments in the breathing process may be lung images at multiple moments in the inspiration process, or lung images at multiple moments in the breathing process, or multiple moments in the inspiration and breathing process The lung images at multiple moments; the above-mentioned multi-moment lung lobe images are multi-moment lung images respectively obtained by the same patient at multiple moments during exhalation and/or inhalation. The moment in the embodiments of the present disclosure may be expressed as a time period, that is, the time information of collecting a group of lung images. The specific acquisition process can be carried out according to the guidance of the imaging doctor; for example, during the breathing process, at least one set of lung images can be collected at the moment of deep inhalation, or at least one set of lung images can be collected at the moment of deep exhalation, Collect at least one set of lung images in a calm state, where the calm state is a set of lung images collected after normal exhalation. For another example, in the process from breathing to exhaling, the patient is asked to hold his breath at different moments in the inhalation or exhalation phase, so as to collect multi-moment lung images.
分割结果可以包括识别出的肺图像中的各个分区(肺叶)对应的位置信息。例如,肺图像可以包括五个肺叶区域,分别为右上叶、右中叶、右下叶、左上叶和左下叶,得到分割结果中可以包括上述五个肺叶在肺图像中分别所在的位置信息。本公开实施例可以通过掩码特征的方式表示分割结果,也就是说,本公开实施例得到的分割结果可以是表示为掩码形式的特征,例如,本公开实施例可以为上述五个肺叶区域分别分配唯一对应的掩码值,如1、2、3、4和5,每个掩码值形成的区域即为相应的肺叶所在的位置区域。上述掩码值仅为示例性说明,在其他实施例中也可以配置其他的掩码值。The segmentation result may include position information corresponding to each partition (lung lobe) in the identified lung image. For example, the lung image may include five lung lobe regions, which are the upper right lobe, the middle right lobe, the lower right lobe, the upper left lobe, and the lower left lobe, and the obtained segmentation results may include location information of the five lung lobes in the lung image. The embodiment of the present disclosure can represent the segmentation result by means of mask features, that is to say, the segmentation result obtained by the embodiment of the present disclosure can be a feature expressed in the form of a mask, for example, the embodiment of the present disclosure can be the above-mentioned five lung lobe regions Assign unique corresponding mask values, such as 1, 2, 3, 4, and 5, respectively, and the area formed by each mask value is the position area where the corresponding lung lobe is located. The foregoing mask values are only illustrative, and other mask values may also be configured in other embodiments.
在一些可能的实施方式中,本公开实施例可以通过拍摄CT(ComputedTomography,计算机断层影像)的方式得到在多时刻的肺图像。具体方法,包括:确定所述多时刻的肺叶图像的扫描层数、层厚以及层间距离;按照所述扫描层数、层厚以及层间距离采集所述多时刻的肺图像。其中,本公开实施例得到肺图像由多层图像构成,可以看成三维图像结构。In some possible implementation manners, the embodiments of the present disclosure may obtain lung images at multiple moments by taking CT (Computed Tomography, computerized tomography). The specific method includes: determining the number of scanning layers, layer thickness and interlayer distance of the multi-time lung lobe image; and acquiring the multi-time lung image according to the scanning layer number, layer thickness and interlayer distance. Wherein, the lung image obtained in the embodiment of the present disclosure is composed of multi-layer images, which can be regarded as a three-dimensional image structure.
在一些可能的实施方式中,可以从其他的电子设备或者服务器中请求获取多时刻的肺图像,即可以得到多套肺图像,每套肺图像对应于一个时刻,多套肺图像构成多个时刻的肺图像。另外,本公开实施例中,为了减少其他特征的影像,可以在获得肺图像的情况下,对肺图像执行肺实质分割处理,确定出肺图像中的肺区域所在的位置,并利用该位置区域的图像作为肺图像执行后续处理。其中肺实质分割可以根据现有方式获得,例如通过深度学习神经网络,或者也可以通过肺实质分割算法实现,本公开对此不作具体限定。In some possible implementations, multiple time lung images can be requested from other electronic devices or servers, that is, multiple sets of lung images can be obtained, each set of lung images corresponds to a time, and multiple sets of lung images constitute multiple time points lung image. In addition, in the embodiment of the present disclosure, in order to reduce images with other features, lung parenchyma segmentation processing can be performed on the lung image when the lung image is obtained, the location of the lung region in the lung image is determined, and the location region is used to Subsequent processing of the images is performed as lung images. The lung parenchyma segmentation can be obtained in an existing manner, for example, through a deep learning neural network, or through a lung parenchyma segmentation algorithm, which is not specifically limited in the present disclosure.
步骤102:确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像。Step 102: Determine the lung images to be segmented in the lung images at multiple times, and use the lung images other than the images to be segmented as the first lung images.
在一些可能的实施方式中,可以将多时刻的肺图像中任意一个时刻的肺图像确定为待分割肺图像,或者也可以接收输入的时刻信息,将该时刻信息对应的肺图像确定为待分割肺图像。In some possible implementations, the lung image at any time among the lung images at multiple times can be determined as the lung image to be segmented, or the input time information can also be received, and the lung image corresponding to the time information can be determined as the lung image to be segmented Lung image.
或者,在本公开实施例中,所述确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像的方法,也可以包括:分别计算所述多时刻的肺图像中各肺图像的肺体积,确定所述肺体积最大的肺图像为所述待分割肺图像。Alternatively, in the embodiment of the present disclosure, the method of determining the lung image to be segmented in the lung images at multiple times, and the lung image other than the image to be segmented as the first lung image may also include: calculating the lung images respectively The lung volume of each lung image in the lung images at the multiple time points is determined, and the lung image with the largest lung volume is determined as the lung image to be segmented.
也就是说,本公开实施例中,可以将肺体积最大的肺图像确定为待分割肺图像,从而可以更充分的体现肺叶特征,提高肺叶分割精度。That is to say, in the embodiment of the present disclosure, the lung image with the largest lung volume can be determined as the lung image to be segmented, so that the characteristics of the lung lobe can be more fully reflected, and the accuracy of lung lobe segmentation can be improved.
在本公开实施例中,所述确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像的方法,还包括:在计算所述多时刻的肺图像中的肺体积之前,分别提取所述多时刻的肺图像的左肺和右肺,分别计算所述多时刻的肺图像的所述左肺的第一体积和右肺的第二体积,分别根据所述第一体积及所述第二体积计算所述多时刻的肺图像中的肺体积。具体地说,所述多时刻的肺图像中的肺体积为各自的所述左肺的第一体积和右肺的第二体积之和。其中,可以利用肺实质提取算法或者用于肺实质分割的神经网络执行上述左右肺的提取,得到左右肺区域。计算左、右肺体积可以分别利用肺图像的每层图像中提取的左、右肺的面积之和得到。本领域技术人员也可以利用其它方式计算,本公开对此不作具体限定。In an embodiment of the present disclosure, the method of determining the lung image to be segmented in the lung images at multiple times, and the lung image other than the image to be segmented as the first lung image further includes: when calculating the multi-time Before the lung volume in the lung image, respectively extract the left lung and the right lung of the multi-moment lung image, respectively calculate the first volume of the left lung and the second volume of the right lung of the multi-moment lung image , calculating lung volumes in the multi-moment lung images according to the first volume and the second volume, respectively. Specifically, the lung volume in the multi-moment lung image is the sum of the respective first volume of the left lung and the second volume of the right lung. Wherein, the extraction of the left and right lungs may be performed by using a lung parenchyma extraction algorithm or a neural network for lung parenchyma segmentation to obtain the left and right lung regions. The volumes of the left and right lungs can be calculated by using the sum of the areas of the left and right lungs extracted from each layer of the lung image respectively. Those skilled in the art can also use other calculation methods, which are not specifically limited in the present disclosure.
步骤103:利用至少一个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像,所述至少两个第一肺图像包括至少一个在所述待分割图像之前时刻的肺图像以及/或至少一个在所述待分割图像之后时刻的肺图像。Step 103: Using at least one first lung image to fuse the lung image to be segmented to obtain a fused lung image, the at least two first lung images include at least one lung image at a time before the image to be segmented and/or Or at least one lung image at a time after the image to be segmented.
在一些可能的实施方式中,可以利用待分割肺图像之前时刻的至少一组肺图像和/或待分割肺图像之后时刻的至少一组肺图像,对待分割图像的特征进行补充修正以及融合,得到融合肺图像。或者,本公开实施例中也可以将待分割肺图像以外的肺图像均作为第一肺图像,从而可以保留呼吸过程中提取的肺图像的全部特征信息。In some possible implementations, at least one group of lung images at the time before the lung image to be segmented and/or at least one group of lung images at the time after the lung image to be segmented can be used to perform supplementary correction and fusion on the features of the image to be segmented, to obtain Fusion of lung images. Alternatively, in the embodiment of the present disclosure, all lung images other than the lung image to be segmented may be used as the first lung image, so that all feature information of the lung image extracted during breathing can be retained.
在本公开实施例中,所述利用至少一个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像的方法,包括:In an embodiment of the present disclosure, the method of using at least one first lung image to fuse the lung image to be segmented to obtain a fused lung image includes:
执行所述第一肺图像到所述待分割肺图像的配准操作,得到待融合肺图像;将所述待融合肺图像及所述待分割肺图像进行融合,得到融合肺图像。Executing a registration operation of the first lung image to the lung image to be segmented to obtain a lung image to be fused; fusing the lung image to be fused with the lung image to be segmented to obtain a fused lung image.
在本发明的一些体实施例中,配准操作一方面是为了找到所述待分割肺图像所述某一时刻的前一时刻以及/或后一时刻的肺图像与所述待分割肺图像的对应点,完成所述待分割肺图像与所述第一肺图像的匹配过程,另一方面可以通过配准过程进一步融合各时刻的第一肺图像的图像特征。其中,可以利用配准算法实现各第一肺图像和待分割肺图像之间的配准,将第一肺图像配准到待分割肺图像。配准算法可以使用弹性配准算法或者利用深度学习中的VGG网络(VGG-net)进行配准,如论文Deformable image registrationusing convolutional nerual networks或者U网络(U-net)进行配准,如论文PulmonaryCT Registration through Supervised Learning with Convolutional NeuralNetworks。本发明不对具体的配准算法进行限定。In some embodiments of the present invention, on the one hand, the registration operation is to find the difference between the lung image at the moment before and/or at the moment after the lung image to be segmented and the lung image to be segmented. Correspondingly, the matching process between the lung image to be segmented and the first lung image is completed, and on the other hand, image features of the first lung image at each moment can be further fused through a registration process. Wherein, a registration algorithm may be used to realize the registration between each first lung image and the lung image to be segmented, and register the first lung image to the lung image to be segmented. The registration algorithm can use the elastic registration algorithm or use the VGG network (VGG-net) in deep learning for registration, such as the paper Deformable image registration using convolutional neural networks or the U network (U-net) for registration, such as the paper PulmonaryCT Registration through Supervised Learning with Convolutional Neural Networks. The present invention does not limit the specific registration algorithm.
在本公开的另一些实施例中,所述执行所述第一肺图像到所述待分割肺图像的配准操作,得到待融合肺图像的方法,包括:从所述至少两个第一肺图像以及所述待分割图像中的相同位置提取图像,得到所述相同位置提取的图像形成的肺运动序列图像;分别计算所述肺运动序列图像中相邻图像的肺位移,根据所述肺位移执行所述至少一个第一肺图像到所述待分割肺图像的配准操作。In other embodiments of the present disclosure, the method of performing the registration operation of the first lung image to the lung image to be segmented to obtain the lung image to be fused includes: from the at least two first lung images Extracting an image at the same position in the image and the image to be segmented to obtain a lung motion sequence image formed by the image extracted at the same position; respectively calculating the lung displacement of adjacent images in the lung motion sequence image, and according to the lung displacement A registration operation of the at least one first lung image to the lung image to be segmented is performed.
本公开实施例中,相同位置可以表示为相同层数,如上述实施例所述,每组肺图像可以包括多层图像,从第一肺图像和待分割肺图像中每组肺图像中选择出相同层数的图像,构成一组肺运动序列图像。也就是说,本公开实施例可以得到与层数相同组数的肺运动序列图像,即为每个位置的肺运动序列图像。In the embodiment of the present disclosure, the same position can be represented as the same number of layers. As described in the above embodiment, each group of lung images can include multiple layers of images, and the lung images selected from the first lung image and each group of lung images to be segmented Images with the same number of layers constitute a group of lung motion sequence images. That is to say, the embodiments of the present disclosure can obtain the lung motion sequence images with the same number of layers as the number of layers, that is, the lung motion sequence images at each position.
在本公开实施例中,所述从所述至少两个第一肺图像以及所述待分割图像中的相同位置提取图像,得到所述相同位置提取的图像形成的肺运动序列图像的方法,包括:确定所述多时刻的肺图像的层数;根据所述层数确定所述至少两个第一肺图像以及所述待分割图像在相同位置的肺图像;根据所述在相同位置的肺图像得到所述肺运动序列图像。In an embodiment of the present disclosure, the method of extracting images from the same position in the at least two first lung images and the image to be segmented, and obtaining a lung motion sequence image formed by the images extracted at the same position includes : Determining the number of layers of the lung images at multiple moments; determining the at least two first lung images and the lung images at the same position of the image to be segmented according to the layers; according to the lung images at the same position Obtain the lung motion sequence images.
在本发明具体的实施例中,在获取呼吸过程中多时刻的肺图像时,已经确定有所述多时刻的肺图像的扫描层数、层厚以及层间距离;因此,可以根据所述层数确定所述多时刻的肺图像在相同位置的肺图像,在所述多时刻肺图像中选择出在相同位置的肺图像得到所述肺运动序列图像,例如,在第一时刻的肺图像第N层对应的位置与第二时刻以及第M时刻的肺图像的第N层对应的位置相同,都是一个肺平面,所有时刻的相同肺平面组合在一起就是所述肺运动序列图像,M为大于1的整数,用于表示时刻数或者组数,N表示任一层数值。In a specific embodiment of the present invention, when acquiring lung images at multiple moments in the respiratory process, the number of scanning layers, layer thicknesses, and interlayer distances of the lung images at multiple moments have been determined; therefore, according to the layers Determine the lung images at the same position of the multiple time lung images, select the lung images at the same position from the multiple time lung images to obtain the lung motion sequence image, for example, the lung image at the first time The position corresponding to the N layer is the same as the position corresponding to the Nth layer of the lung image at the second moment and the Mth moment, which is a lung plane, and the same lung plane at all times is combined to form the lung motion sequence image, and M is An integer greater than 1, used to represent the number of moments or groups, and N represents the value of any layer.
在得到多个肺运动序列图像的情况下,可以确定肺运动序列中与待分割图像对应的图像,其余为与第一肺图像对应的图像。肺运动序列图像中的各图像按照时刻的顺序排列。由于在前述实施例中已经确定出待分割图像,对应的也可以获取该待分割图像对应的时刻,在肺运动序列图像中可以根据该时刻确定出待分割图像对应的图像,以及第一肺图像对应的图像。在肺运动序列图像中包括的是各肺图像中的一层图像,为了方便后续实施例的描述,将该一层图像以待分割图像或者第一分割图像说明,但是这里需要指出的是,肺运动序列图像中的图像仅为待分割肺图像和第一肺图像中的相应层的图像。In the case of obtaining multiple lung motion sequence images, the image corresponding to the image to be segmented in the lung motion sequence may be determined, and the rest are images corresponding to the first lung image. The images in the lung motion sequence images are arranged in order of time. Since the image to be segmented has been determined in the foregoing embodiments, the time corresponding to the image to be segmented can also be obtained correspondingly, and the image corresponding to the image to be segmented can be determined in the lung motion sequence image according to this time point, as well as the first lung image corresponding image. Included in the lung motion sequence images is a layer of images in each lung image. For the convenience of description in subsequent embodiments, this layer of images is described as the image to be segmented or the first segmented image. However, it should be pointed out here that the lung The images in the motion sequence images are only images of the lung image to be segmented and corresponding layers in the first lung image.
本公开实施例中,在得到肺运动序列图像的情况下,可以执行其中第一肺图像与待分割肺图像之间的运动情况。即可以分别计算所述肺运动序列图像中相邻图像的肺位移,根据所述肺位移执行所述至少一个第一肺图像到所述待分割肺图像的配准操作。其中,通过确定相邻图像之间的肺位移,可以确定第一肺图像与待分割肺图像之间的肺位移,继而执行第一肺图像和待分割肺图像的配准操作。其中肺位移可以表示待分割图像与待分割肺图像中肺部特征点之间的位移。In the embodiment of the present disclosure, in the case of obtaining the lung motion sequence images, the motion between the first lung image and the lung image to be segmented may be implemented. That is, lung displacements of adjacent images in the lung motion sequence images may be calculated respectively, and a registration operation of the at least one first lung image to the lung image to be segmented is performed according to the lung displacements. Wherein, by determining the lung displacement between adjacent images, the lung displacement between the first lung image and the lung image to be segmented can be determined, and then the registration operation of the first lung image and the lung image to be segmented is performed. The lung displacement may represent the displacement between the image to be segmented and the lung feature points in the lung image to be segmented.
在本公开实施例中,所述分别计算所述肺运动序列图像中相邻图像的肺位移的方法,包括:分别确定所述肺运动序列图像中相邻图像的第一正向光流;分别根据所述第一正向光流确定所述相邻图像的肺位移。In an embodiment of the present disclosure, the method for separately calculating the lung displacements of adjacent images in the lung motion sequence images includes: respectively determining the first forward optical flow of adjacent images in the lung motion sequence images; A lung displacement of the adjacent image is determined based on the first forward optical flow.
在本发明具体的实施例中,光流(optical flow)可以用于表示运动图像之间的变化,是指时变图像中模式运动速度。当肺在运动时,它在图像上对应点的亮度模式也在运动,因此光流可以用于表示图像之间的变化,由于它包含了肺运动的信息,因此可被观察者用来确定肺的运动情况。本公开实施例中,对肺运动序列图像中的各相邻图像进行光流评估,可以得到该相邻图像之间的光流信息。其中,假定多时刻肺图像对应的时刻分别为t1,t2,…,tM,M表示组数。第N个肺运动序列图像可以分别包括M组肺图像中的第N层图像F1N,F2N,…,FMN,表示第1至M组中肺图像内第N层图像。In a specific embodiment of the present invention, optical flow (optical flow) can be used to represent changes between moving images, which refers to the movement speed of patterns in time-varying images. When the lungs are moving, the brightness pattern of its corresponding point on the image is also moving, so the optical flow can be used to represent the changes between images. Since it contains the information of the lung motion, it can be used by the observer to determine the of sports conditions. In the embodiment of the present disclosure, the optical flow evaluation is performed on each adjacent image in the lung motion sequence image, and the optical flow information between the adjacent images can be obtained. Wherein, it is assumed that the times corresponding to the lung images at multiple times are t1, t2, ..., tM, and M represents the number of groups. The Nth lung motion sequence image may respectively include Nth layer images F1N, F2N, .
在执行光流估计时,按照1至M组的正向顺序,分别得到每个肺运动序列图像内两个相邻图像的第一正向光流,例如可以得到F1N到F2N的第一正向光流,F2N到F3N的第一正向光流,依次类推,得到F(M-1)到FMN的第一正向光流。其中,第一正向光流表示按照时间的正向顺序排列,相邻的肺图像中各特征点的运动速度信息。具体地,可以将肺运动序列图像输入到光流估计模型中,用于得到相邻图像之间的第一正向光流,该光流估计模型可以为FlowNet2.0,或者也可以为其他光流估计模型,本公开对此不作具体限定。或者也可以采用稀疏光流估计算法、稠密光流估计算法等光流估计算法对相邻图像进行光流评估,本公开同样对此不做具体限定。When performing optical flow estimation, according to the forward sequence of groups 1 to M, the first forward optical flow of two adjacent images in each lung motion sequence image is respectively obtained, for example, the first forward optical flow of F1N to F2N can be obtained Optical flow, the first forward optical flow from F2N to F3N, and so on, to obtain the first forward optical flow from F(M-1) to FMN. Wherein, the first forward optical flow indicates that the moving speed information of each feature point in the adjacent lung image is arranged in the forward order of time. Specifically, the lung motion sequence images can be input into the optical flow estimation model to obtain the first forward optical flow between adjacent images. The optical flow estimation model can be FlowNet2.0, or other optical flow estimation models The flow estimation model, which is not specifically limited in the present disclosure. Alternatively, an optical flow estimation algorithm such as a sparse optical flow estimation algorithm or a dense optical flow estimation algorithm may be used to evaluate the optical flow of adjacent images, which is also not specifically limited in the present disclosure.
在本发明具体的实施例中,根据所述第一正向光流确定所述相邻图像的肺位移的方法,包括:利用所述第一正向光流的速度信息以及所述肺叶运动序列图像中相邻图像的时间信息得到所述相邻图像的肺位移。利用CT采集的肺图像中的dicom文件内具有扫描时间以及层数,扫描时间除以层数可近似得到所述肺运动序列图像中相邻图像的时间信息。In a specific embodiment of the present invention, the method for determining the lung displacement of the adjacent image according to the first forward optical flow includes: using the velocity information of the first forward optical flow and the lung lobe motion sequence Temporal information of adjacent images in the image yields lung displacements of the adjacent images. The scan time and the number of slices are included in the dicom file in the lung image collected by CT, and the time information of adjacent images in the lung motion sequence images can be obtained approximately by dividing the scan time by the slice number.
在本公开实施例中,采集的肺图像中的每层图像都可以具有相应的采集时间信息,利用肺运动序列图像中两个相邻图像的采集时间的时间差值和第一正向光流的乘积,可以得到两个相邻图像在该时间差值范围内的肺位移。In the embodiment of the present disclosure, each layer image in the acquired lung image can have corresponding acquisition time information, using the time difference of the acquisition time of two adjacent images in the lung motion sequence image and the first forward optical flow The product of , the lung displacement of two adjacent images within the time difference range can be obtained.
另外,由于所述肺运动序列图像中相邻图像的时间信息较小,本公开实施例中,也可以将光流对应的速度信息约等于肺位移。In addition, since the time information of adjacent images in the lung motion sequence images is small, in the embodiment of the present disclosure, the velocity information corresponding to the optical flow may also be approximately equal to the lung displacement.
其中,由于预先确定了待分割图像和第一肺图像,因此可以对应的依次确定出肺运动序列图像中第一肺图像和待分割图像的第一正向光流以及第一肺图像和待分割图像之间的时间信息,对应地,可以通过第一正向光流和时间信息的乘积得到第一肺图像到待分割肺图像之间的肺位移。Wherein, since the image to be segmented and the first lung image are determined in advance, the first forward optical flow of the first lung image and the image to be segmented in the lung motion sequence image and the first forward optical flow of the first lung image and the image to be segmented can be determined in sequence correspondingly. The time information between images, correspondingly, the lung displacement between the first lung image and the lung image to be segmented can be obtained by multiplying the first forward optical flow and the time information.
在本公开实施例中,所述分别计算所述肺运动序列图像中相邻图像的肺位移的方法,还包括:分别确定所述第一正向光流对应的第一反向光流;分别根据所述第一反向光流以及/或所述第一反向光流确定所述相邻图像的肺位移。In an embodiment of the present disclosure, the method for separately calculating the lung displacements of adjacent images in the lung motion sequence images further includes: respectively determining the first reverse optical flow corresponding to the first forward optical flow; The lung displacement of the adjacent image is determined according to the first reverse optical flow and/or the first reverse optical flow.
在本公开实施例中,根据所述多时刻肺图像的正向时间顺序,确定所述肺运动序列图像中相邻图像的所述第一正向光流,以及可以根据多时刻肺图像的反向时间顺序,确定所述肺运动序列图像中相邻图像的所述第一反向光流。In an embodiment of the present disclosure, the first forward optical flow of adjacent images in the lung motion sequence images is determined according to the forward time sequence of the multi-time lung images, and the reverse optical flow of the multi-time lung images may be determined. In time order, determine the first reverse optical flow of adjacent images in the lung motion sequence images.
对应的,在执行光流估计时,按照M至1组的反向顺序,分别得到每个肺运动序列图像内两个相邻图像的第一反向光流,例如可以得到FMN到F(M-1)N的第一反向光流,F(M-2)N到F(M-1)N的第一反向光流,依次类推,得到F2N到F1N的第一反向光流。其中,第一反向光流表示按照时间的反向顺序排列,相邻的肺图像中各特征点的运动速度信息。同样,可以将肺运动序列图像输入到光流估计模型中,用于得到相邻图像之间的第一反向光流,或者也可以采用稀疏光流估计算法、稠密光流估计算法等光流估计算法对相邻图像进行光流评估,本公开同样对此不做具体限定。Correspondingly, when performing optical flow estimation, according to the reverse sequence from M to 1 group, the first reverse optical flow of two adjacent images in each lung motion sequence image is respectively obtained, for example, FMN to F(M -1) the first reverse optical flow of N, the first reverse optical flow from F(M-2)N to F(M-1)N, and so on, to obtain the first reverse optical flow from F2N to F1N. Wherein, the first reverse optical flow indicates that the moving speed information of each feature point in the adjacent lung image is arranged in reverse order of time. Similarly, lung motion sequence images can be input into the optical flow estimation model to obtain the first reverse optical flow between adjacent images, or sparse optical flow estimation algorithms, dense optical flow estimation algorithms, etc. The estimation algorithm performs optical flow evaluation on adjacent images, which is also not specifically limited in the present disclosure.
在本公开具体的实施例中,根据所述第一反向光流确定所述相邻图像的肺位移的方法,包括:利用所述第一反向光流的速度信息以及所述肺叶运动序列图像中相邻图像的时间信息得到所述相邻图像的肺位移。利用CT采集的肺图像中的dicom文件内具有扫描时间以及层数,扫描时间除以层数可近似得到所述肺叶运动序列图像中相邻图像的时间信息。In a specific embodiment of the present disclosure, the method for determining the lung displacement of the adjacent image according to the first reverse optical flow includes: using the velocity information of the first reverse optical flow and the lung lobe motion sequence Temporal information of adjacent images in the image yields lung displacements of the adjacent images. The scan time and the number of slices are included in the dicom file in the lung image collected by CT, and the time information of adjacent images in the lung lobe motion sequence images can be obtained approximately by dividing the scan time by the slice number.
在本公开实施例中,采集的肺图像中的每个图像都可以具有相应的采集时间信息,利用肺叶运动序列图像中两个相邻图像的采集时间的时间差值和第一反向光流的乘积,可以得到两个相邻图像在该时间差值范围内的肺位移。另外,由于所述肺叶运动序列图像中相邻图像的时间信息较小,本公开实施例中,也可以将光流对应的速度信息约等于肺叶位移。In the embodiment of the present disclosure, each image in the acquired lung images can have corresponding acquisition time information, using the time difference of the acquisition time of two adjacent images in the lung lobe motion sequence image and the first reverse optical flow The product of , the lung displacement of two adjacent images within the time difference range can be obtained. In addition, since the time information of adjacent images in the lung lobe motion sequence images is small, in the embodiment of the present disclosure, the velocity information corresponding to the optical flow may also be approximately equal to the lung lobe displacement.
其中,由于预先确定了待分割图像和第一肺图像,因此可以对应的依次确定出肺运动序列图像中第一肺图像和待分割图像的第一反向光流以及第一肺图像和待分割图像之间的时间信息,对应地,可以通过第一反向光流和时间信息的乘积得到第一肺图像到待分割肺图像之间的肺位移。Wherein, since the image to be segmented and the first lung image are pre-determined, the first reverse optical flow of the first lung image and the image to be segmented in the lung motion sequence image and the first lung image and the image to be segmented can be correspondingly determined in sequence. The time information between images, correspondingly, the lung displacement between the first lung image and the lung image to be segmented can be obtained by multiplying the first reverse optical flow and the time information.
在本公开实施例中,所述分别计算所述肺运动序列图像中相邻图像的肺位移的方法,还包括:分别对所述第一正向光流和第一反向光流执行光流优化处理,得到与各所述第一正向光流对应的第二正向光流,以及与各所述第一反向光流对应的第二反向光流;分别根据所述第二正向光流以及/或所述第二反向光流确定所述相邻图像的肺位移。In an embodiment of the present disclosure, the method for separately calculating lung displacements of adjacent images in the lung motion sequence images further includes: respectively performing optical flow on the first forward optical flow and the first reverse optical flow Optimizing processing to obtain a second forward optical flow corresponding to each of the first forward optical flows, and a second reverse optical flow corresponding to each of the first reverse optical flows; respectively according to the second forward optical flow The lung displacement of the adjacent image is determined towards the optical flow and/or the second reverse optical flow.
在本发明的具体实施例中,所述分别根据所述第一反向光流以及所述第一反向光流确定所述相邻图像的肺位移的方法,包括:分别对所述第二正向光流以及所述第二反向光流进行运算,得到矫正光流;分别根据所述矫正光流确定所述相邻图像的肺位移。In a specific embodiment of the present invention, the method for determining the lung displacement of the adjacent image according to the first reverse optical flow and the first reverse optical flow respectively includes: Performing operations on the forward optical flow and the second reverse optical flow to obtain a corrected optical flow; respectively determining the lung displacement of the adjacent image according to the corrected optical flow.
在本发明具体的实施例中,分别对所述第二正向光流以及所述第二反向光流进行运算,得到矫正光流的方法,包括:对所述第二正向光流以及所述第二反向光流执行加法操作得到两向光流和,然后求取所述两向光流和的均值得到矫正光流。即,求取所述第二正向光流以及所述第二反向光流的均值,矫正光流=(第二正向光流+第二反向光流)/2。In a specific embodiment of the present invention, calculating the second forward optical flow and the second reverse optical flow respectively to obtain a method for correcting optical flow includes: calculating the second forward optical flow and the second reverse optical flow An addition operation is performed on the second reverse optical flow to obtain a two-way optical flow sum, and then an average value of the two-way optical flow sum is calculated to obtain a corrected optical flow. That is, the average value of the second forward optical flow and the second reverse optical flow is calculated, and corrected optical flow=(second forward optical flow+second reverse optical flow)/2.
在本发明的具体实施例中,所述分别对所述第一正向光流和第一反向光流执行光流优化处理,得到与各所述第一正向光流对应的第二正向光流,以及与各所述第一反向光流对应的第二反向光流的方法,包括:连接各所述第一正向光流得到第一连接光流,以及连接各所述第一反向光流得到第二连接光流;分别对所述第一连接光流和第二连接光流执行N次光流优化处理,得到所述第一连接光流对应的第一优化光流,以及第二连接光流对应的第二优化光流;根据所述第一优化光流得到每个第一正向光流对应的第二正向光流,以及根据所述第二优化光流得到每个第一反向光流对应的第二反向光流;其中,N为大于或者等于1的正整数。In a specific embodiment of the present invention, the optical flow optimization processing is performed on the first forward optical flow and the first reverse optical flow respectively, and the second forward optical flow corresponding to each of the first forward optical flows is obtained. To the optical flow, and the method for the second reverse optical flow corresponding to each of the first reverse optical flows, comprising: connecting each of the first forward optical flows to obtain a first connection optical flow, and connecting each of the first forward optical flows The first reverse optical flow obtains the second connection optical flow; perform N times of optical flow optimization processing on the first connection optical flow and the second connection optical flow respectively, and obtain the first optimized light corresponding to the first connection optical flow flow, and the second optimized optical flow corresponding to the second connection optical flow; according to the first optimized optical flow, the second forward optical flow corresponding to each first forward optical flow is obtained, and according to the second optimized optical flow flow to obtain the second reverse optical flow corresponding to each first reverse optical flow; wherein, N is a positive integer greater than or equal to 1.
其中,连接各所述第一正向光流得到第一连接光流,以及连接各所述第一反向光流得到第二连接光流包括:依次连接肺运动序列图像中各相邻图像之间的第一正向光流,得到该组肺运动序列图像对应的第一连接光流,以及依次连接肺运动序列图像中各相邻图像之间的第一反向光流,得到该组肺运动序列图像对应的第二连接光流。这里的连接为深度方向上的拼接。Wherein, connecting each of the first forward optical flows to obtain a first connection optical flow, and connecting each of the first reverse optical flows to obtain a second connection optical flow includes: sequentially connecting the adjacent images in the lung motion sequence images The first forward optical flow among the lung motion sequence images is obtained to obtain the first connection optical flow corresponding to the group of lung motion sequence images, and the first reverse optical flow between adjacent images in the lung motion sequence images is sequentially connected to obtain the group of lung motion sequence images. The second connection optical flow corresponding to the motion sequence image. The connection here is splicing in the depth direction.
在获得第一连接光流和第二连接光流之后,可以分别对第一连接光流和第二连接光流执行光流优化处理,本公开实施例可以执行至少一次光流优化处理过程。例如本公开实施例中每次的光流优化处理可以利用光流优化模块执行,该光流优化模块可以由神经网络构成,或者也可以利用对应的优化算法执行优化操作。对应的,在执行N次光流优化处理时,可以包括N个依次相连的光流优化网络模块,后一个光流优化网络模块的输入为前一光流优化网络模块的输出,最后一个光流优化网络模块的输出即为对第一连接光流和第二连接光流的优化结果。After the first connection optical flow and the second connection optical flow are obtained, an optical flow optimization process may be performed on the first connection optical flow and the second connection optical flow respectively, and the embodiment of the present disclosure may perform the optical flow optimization process at least once. For example, each optical flow optimization process in the embodiments of the present disclosure may be performed by using an optical flow optimization module, and the optical flow optimization module may be composed of a neural network, or may also use a corresponding optimization algorithm to perform optimization operations. Correspondingly, when performing N times of optical flow optimization processing, it may include N sequentially connected optical flow optimization network modules, the input of the latter optical flow optimization network module is the output of the previous optical flow optimization network module, and the last optical flow optimization network module The output of the optimized network module is the optimization result of the first connection optical flow and the second connection optical flow.
具体的,在仅包括一个光流优化网络模块时,可以利用该光流优化网络模块对第一连接光流执行优化处理得到第一连接光流对应的第一优化光流,以及通过光流优化网络模块对第二连接光流执行优化处理,得到第二连接光流对应的第二优化光流。其中光流优化处理可以包括残差处理和上采样处理。即光流优化网络模块中可以进一步包括残差单元和上采样单元,通过残差单元对输入的第一连接光流或者第二连接光流执行残差处理,其中残差单元可以包括多个卷积层,每个卷积层采用的卷积核本公开实施例不作具体限定,通过残差单元残差处理后的第一连接光流的尺度变小,如减小为输入的连接光流的尺度的四分之一,本公开对此不作具体限定,可以根据需求设定。在执行残差处理之后,可以对残差处理后的第一连接光流或者第二连接光流执行上采样处理,通过上采样处理可以将输出的第一优化子光流的尺度调整成第一连接光流的尺度,以及将输出的第二优化子光流的尺度调整成第二连接光流的尺度。且通过光流优化过程可以融合各光流的特征,同时可以提高光流精度。Specifically, when only one optical flow optimization network module is included, the optical flow optimization network module can be used to perform optimization processing on the first connection optical flow to obtain the first optimized optical flow corresponding to the first connection optical flow, and through the optical flow optimization The network module performs optimization processing on the second connection optical flow to obtain a second optimized optical flow corresponding to the second connection optical flow. The optical flow optimization processing may include residual processing and upsampling processing. That is, the optical flow optimization network module may further include a residual unit and an upsampling unit, and perform residual processing on the input first connected optical flow or the second connected optical flow through the residual unit, wherein the residual unit may include multiple volumes Convolution layer, the convolution kernel used by each convolution layer is not specifically limited in the embodiment of the present disclosure, the scale of the first connection optical flow after residual processing by the residual unit becomes smaller, such as reduced to the input connection optical flow A quarter of the scale, which is not specifically limited in the present disclosure, and can be set according to requirements. After the residual processing is performed, upsampling processing can be performed on the first connected optical flow or the second connected optical flow after the residual processing, and the scale of the output first optimized sub-optical flow can be adjusted to the first The scale of the connected optical flow, and the scale of the output second optimized sub-optical flow is adjusted to the scale of the second connected optical flow. And through the optical flow optimization process, the characteristics of each optical flow can be integrated, and the accuracy of the optical flow can be improved at the same time.
在另一些实施例中,光流优化模块也可以包括多个光流优化网络模块,如N个光流优化网络模块。其中第一个光流优化网络模块可以接收第一连接光流和第二连接光流,并分别对第一连接光流和第二连接光流执行第一次光流优化处理,该第一次光流优化处理包括残差处理和升采样处理,其中具体过程与上述实施例相同,在此不再赘述。通过该第一次光流优化处理可以得到第一连接光流的第一优化子光流以及第二连接光流的第一优化子光流。In some other embodiments, the optical flow optimization module may also include multiple optical flow optimization network modules, such as N optical flow optimization network modules. Wherein the first optical flow optimization network module can receive the first connection optical flow and the second connection optical flow, and respectively perform the first optical flow optimization process on the first connection optical flow and the second connection optical flow, the first time Optical flow optimization processing includes residual processing and upsampling processing, and the specific process is the same as that of the above-mentioned embodiment, and will not be repeated here. The first optimized sub-optical flow of the first connected optical flow and the first optimized sub-optical flow of the second connected optical flow can be obtained through the first optical flow optimization process.
同理,可以利用每个光流优化网络模块执行一次光流优化过程,即可以利用第i+1个光流优化网络模块对所述第一连接光流和所述第二连接光流的第i优化子光流执行第i+1次光流优化处理,得到所述第一连接光流对应的第i+1优化子光流,以及第二连接光流对应的第i+1优化子光流,其中i为大于1且小于N的正整数。最终可以通过第N个光流优化网络模块执行的第N次优化处理,得到第一连接光流的第N优化子光流以及第二连接光流的第N优化子光流,并且可以将得到的所述第一连接光流的第N优化子光流确定为所述第一优化光流,以及将得到的所述第二连接光流的第N优化子光流确定为所述第二优化光流。本公开实施例中,每个光流优化网络模块执行的光流优化处理过程可以残差处理和上采样处理。即每个光流优化网络模块可以为相同的光流优化模块。Similarly, each optical flow optimization network module can be used to perform an optical flow optimization process, that is, the i+1th optical flow optimization network module can be used to perform the first connection optical flow and the second connection optical flow The i optimized sub-optical flow executes the i+1th optical flow optimization process to obtain the i+1th optimized sub-optical flow corresponding to the first connected optical flow, and the i+1th optimized sub-optical flow corresponding to the second connected optical flow stream, where i is a positive integer greater than 1 and less than N. Finally, the Nth optimized sub-optical flow of the first connected optical flow and the Nth optimized sub-optical flow of the second connected optical flow can be obtained through the Nth optimization process performed by the Nth optical flow optimization network module, and the obtained The Nth optimized sub-optical flow of the first connected optical flow is determined as the first optimized optical flow, and the obtained Nth optimized sub-optical flow of the second connected optical flow is determined as the second optimized light flow. In the embodiment of the present disclosure, the optical flow optimization process performed by each optical flow optimization network module may be residual processing and upsampling processing. That is, each optical flow optimization network module can be the same optical flow optimization module.
在得到每个肺运动序列图像的第一优化光流和第二优化光流的情况下,可以利用第一优化光流得到每个第一正向光流对应的第二正向光流,以及根据所述第二优化光流得到每个第一反向光流对应的第二反向光流。In the case of obtaining the first optimized optical flow and the second optimized optical flow of each lung motion sequence image, the first optimized optical flow can be used to obtain the second forward optical flow corresponding to each first forward optical flow, and A second reverse optical flow corresponding to each first reverse optical flow is obtained according to the second optimized optical flow.
在经过N次光流优化处理后,得到第一优化光流的尺度和第一连接光流的尺度相同,可以按照深度方向将该第一优化光流拆分成M-1个第二正向光流,该M-1个第二正向光流分别对应的为各第一正向光流的优化结果。同样的,在经过N次光流优化处理后,得到第二优化光流的尺度和第二连接光流的尺度相同,可以按照深度方向将该第二优化光流拆分成M-1个第二反向光流,该M-1个第二反向光流分别对应的为各第一反向光流的优化结果。After N times of optical flow optimization processing, the scale of the first optimized optical flow is the same as the scale of the first connected optical flow, and the first optimized optical flow can be split into M-1 second forwards according to the depth direction Optical flow, the M-1 second forward optical flows correspond to the optimization results of the first forward optical flows. Similarly, after N times of optical flow optimization processing, the scale of the second optimized optical flow is the same as the scale of the second connected optical flow, and the second optimized optical flow can be split into M-1 first Two reverse optical flows, the M-1 second reverse optical flows correspond to the optimization results of the first reverse optical flows.
通过上述实施例,即可以得到肺运动序列图像的各相邻图像之间的第一正向光流优化后的第二正向光流,以及肺运动序列图像中各相邻图像之间的第一反向光流优化后的第二反向光流。Through the above-mentioned embodiment, the optimized second forward optical flow between the first forward optical flow between adjacent images of the lung motion sequence images and the second forward optical flow between adjacent images in the lung motion sequence images can be obtained. A second reverse optical flow optimized by reverse optical flow.
在得到第二正向光流和/或第二反向光流的情况下,可以利用第二正向光流和/或第二反向光流确定相邻图像对应的肺叶的运动位移,继而可以得到肺分割图像和第一肺图像之间的肺位移,具体参照上述第一正向光流和/或第一反向光流确定运动位移的方式,在此不做重复说明。In the case of obtaining the second forward optical flow and/or the second reverse optical flow, the second forward optical flow and/or the second reverse optical flow can be used to determine the motion displacement of the lung lobe corresponding to the adjacent image, and then The lung displacement between the lung segmentation image and the first lung image can be obtained. For details, refer to the above-mentioned manner of determining the motion displacement by the first forward optical flow and/or the first reverse optical flow, which will not be repeated here.
基于上述,本公开实施例可以得到肺图像中每层图像在各时间范围内的运动位移(肺叶位移),在对肺图像的每层图像执行关键点检测的情况下,可以得到匹配的关键点在各时间范围内的运动轨迹,从而可以得到整个肺在各时间范围内的运动状态和运动轨迹。Based on the above, the embodiment of the present disclosure can obtain the motion displacement (displacement of lung lobe) of each layer image in the lung image in each time range, and in the case of performing key point detection on each layer image of the lung image, the matching key point can be obtained The motion trajectory in each time range, so that the motion state and motion trajectory of the entire lung in each time range can be obtained.
通过上述实施例,可以得到第一肺图像和待分割肺图像之间的肺位移,而后可以利用该根据肺位移执行第一肺图像到所述待分割肺图像的配准操作。其中,本公开实施例的肺位移中可以包括第一肺图像中的任一像素点和待分割肺图像之间的位移值,通过将第一肺图像与肺位移相加既可以得到与该第一肺图像对应的配准结果,即待融合肺图像。继而本公开实施例可以得到每个第一肺图像与待分割肺图像的配准操作对应的待融合肺图像。Through the above embodiment, the lung displacement between the first lung image and the lung image to be segmented can be obtained, and then the registration operation of the first lung image to the lung image to be segmented can be performed according to the lung displacement. Wherein, the lung displacement in the embodiment of the present disclosure may include the displacement value between any pixel in the first lung image and the lung image to be segmented, and the first lung image and the lung displacement can be obtained by adding the first lung image A registration result corresponding to a lung image, that is, the lung image to be fused. Then, the embodiment of the present disclosure can obtain the lung image to be fused corresponding to the registration operation of each first lung image and the lung image to be segmented.
在得到待融合肺图像的情况下,可以直接通过待融合肺图像和待分割肺图像之间的加和处理,得到融合肺图像,或者也可以为待融合肺图像设置不同的权重,利用设定的权重得到融合肺图像。In the case of obtaining the lung image to be fused, the fused lung image can be obtained directly through the addition process between the lung image to be fused and the lung image to be segmented, or different weights can be set for the lung image to be fused, using the setting weights to get the fused lung image.
在本公开实施例中,所述将所述待融合肺图像及所述待分割肺图像进行融合,得到融合肺图像的方法,包括:确定所述待融合肺图像的权重值;根据所述权重值及所述待融合肺图像得到权重肺图像;对所述权重肺图像与所述待分割肺图像进行融合,得到所述融合肺图像。In an embodiment of the present disclosure, the method of fusing the lung image to be fused and the lung image to be segmented to obtain a fused lung image includes: determining a weight value of the lung image to be fused; value and the lung image to be fused to obtain a weighted lung image; and to fuse the weighted lung image and the lung image to be segmented to obtain the fused lung image.
在本公开的一些实施例中,可以为待融合肺图像预先配置有对应的权重值。每个待融合肺图像的权重值可以相同,或者也可以不同,例如待融合肺图像的权重值可以为1/k,其中k为待融合肺图像的个数。或者配置的该权重值也可以根据待融合肺图像的图像质量确定,例如可以通过单刺激连续质量评价方法(Single Stimulus Continuous QualityEvaluation,SSCQE)确定每个待融合肺图像的图像质量评分,并将该评分归一化处理到[0,1]范围内,得到每个待融合肺图像的权重值。或者,也可以通过图像质量评估模型NIMA(Neural Image Assessment)对输入的待融合肺图像进行评价,得到相应的权重值。In some embodiments of the present disclosure, corresponding weight values may be pre-configured for the lung images to be fused. The weight value of each lung image to be fused may be the same or different, for example, the weight value of the lung image to be fused may be 1/k, where k is the number of lung images to be fused. Or the configured weight value can also be determined according to the image quality of the lung image to be fused, for example, the image quality score of each lung image to be fused can be determined by Single Stimulus Continuous Quality Evaluation (SSCQE), and the The score is normalized to the range [0,1] to obtain the weight value of each lung image to be fused. Alternatively, the input lung image to be fused can also be evaluated by an image quality assessment model NIMA (Neural Image Assessment) to obtain corresponding weight values.
或者,在本公开的另一些实施例中,所述确定所述待融合肺图像的权重值的方法,包括:确定所述待融合肺图像的配准点,配准点以外的点为非配准点,所述配准点的权重值大于非配准点。也就是说,本公开实施例中,待融合肺图像中每个像素点的权重值可以不同,可以设定配准点的权重值大于非配准点的权重值,从而突出配准点的特征信息,其中,配准点为突出肺特征的特征点。在本发明的具体实施例中,确定所述待融合肺图像的配准点可以通过SIFT(尺度不变特征变换,Scale-invariant feature transform)检测出所述待融合肺图像以及所述融合肺图像的关键点(配准点)。得到的关键点的权重可以为大于0.5的数值a,非配准点的权重值可以为1-a,或者任意其他比a小的正数值。Or, in other embodiments of the present disclosure, the method for determining the weight value of the lung image to be fused includes: determining registration points of the lung image to be fused, and points other than registration points are non-registration points, The weight value of the registration point is greater than that of the non-registration point. That is to say, in the embodiment of the present disclosure, the weight value of each pixel in the lung image to be fused can be different, and the weight value of the registration point can be set to be greater than the weight value of the non-registration point, so as to highlight the feature information of the registration point, where , the registration point is the feature point that highlights the lung feature. In a specific embodiment of the present invention, determining the registration point of the lung image to be fused may detect the lung image to be fused and the fused lung image through SIFT (Scale-invariant feature transform). Keypoints (registration points). The weight of the obtained key points can be a value greater than 0.5, and the weight value of non-registered points can be 1-a, or any other positive value smaller than a.
或者,也可以通过注意力机制(attention)的神经网络来实现权重值的设定。该注意力机制的神经网络可以包括至少一层卷积层,以及与卷积层连接的注意力机制模块(attention模块),通过卷积层对待融合图像执行卷积处理,得到卷积特征,将卷积特征输入到attention模块中,得到每个待融合图像对应的注意力特征图,该注意力特征图中包括待融合图像中每个像素点对应的注意力值,该注意力值可以作为相应像素点的权重值,其中注意力值大于0.5的像素点即为配准点。本领域技术人员可以根据需求选择适当的方式得到待融合肺图像的权重值,本公开对此不作具体限定。本发明的具体实施例中,确定所述待融合肺图像的配准点可以通过SIFT(尺度不变特征变换,Scale-invariant featuretransform)检测出所述待融合肺图像以及所述融合肺图像的关键点(配准点)Alternatively, the setting of the weight value may also be realized through a neural network of an attention mechanism. The neural network of the attention mechanism may include at least one layer of convolutional layer, and an attention mechanism module (attention module) connected to the convolutional layer, through which the convolutional layer performs convolution processing on the image to be fused to obtain convolutional features, and The convolution feature is input into the attention module to obtain the attention feature map corresponding to each image to be fused. The attention feature map includes the attention value corresponding to each pixel in the image to be fused. The attention value can be used as the corresponding The weight value of the pixel point, where the pixel point with the attention value greater than 0.5 is the registration point. Those skilled in the art can select an appropriate method to obtain the weight value of the lung image to be fused according to requirements, which is not specifically limited in the present disclosure. In a specific embodiment of the present invention, determining the registration point of the lung image to be fused may detect key points of the lung image to be fused and the fused lung image through SIFT (Scale-invariant feature transform) (registration point)
在得到待融合肺图像的权重的情况下,可以利用该权重与待融合肺图像的乘积得到权重肺图像。When the weight of the lung image to be fused is obtained, the weighted lung image can be obtained by multiplying the weight by the lung image to be fused.
在本发明的具体实施例中,所述对所述权重肺图像与所述待分割肺图像进行融合,得到所述融合肺图像的方法,包括:所述权重肺图像加上所述待分割肺图像,得到所述融合肺图像。In a specific embodiment of the present invention, the method of fusing the weighted lung image and the lung image to be segmented to obtain the fused lung image includes: adding the weighted lung image to the lung image to be segmented image to obtain the fused lung image.
在本发明的具体实施例中,所述对所述权重肺图像与所述待分割肺图像进行融合,得到所述融合肺图像的方法,还可以利用以下实施例进行实现,包括:利用第一预设神经网络对所述将所述待融合肺图像及所述待分割肺图像进行融合,得到融合肺图像的方法,包括:连接权重肺图像和待分割肺图像,得到连接肺图像;对所述连接肺图像执行至少一层卷积处理,得到连接肺图像的融合特征,该融合特征对应的图像为融合肺图像。第一预设神经网络为预先经过训练能够实现肺部特征信息融合各提取的网络,例如可以为残差网络、Unet、特征金子塔网络等,本公开对此不作具体限定。In a specific embodiment of the present invention, the method of fusing the weighted lung image and the lung image to be segmented to obtain the fused lung image can also be implemented by using the following embodiments, including: using the first The preset neural network is used to fuse the lung image to be fused with the lung image to be segmented to obtain a fused lung image, comprising: connecting the weighted lung image and the lung image to be segmented to obtain a connected lung image; Perform at least one layer of convolution processing on the connected lung image to obtain a fusion feature of the connected lung image, and the image corresponding to the fusion feature is a fused lung image. The first preset neural network is a network that has been trained in advance and can realize the fusion and extraction of lung feature information, such as residual network, Unet, feature pyramid network, etc., which is not specifically limited in the present disclosure.
步骤104:利用预设肺叶分割模型对所述融合肺图像进行分割,得到所述待分割肺图像的肺叶图像。Step 104: Using a preset lung lobe segmentation model to segment the fused lung image to obtain a lung lobe image of the lung image to be segmented.
在本公开实施例中,预设肺叶分割模型可以为传统的机器学习的肺叶分割模型,或者深度学习中的2018年体素科技提出的progressive dense V-network(PDV-NET)肺叶分割模型。在本发明中,融合肺图像为所述待分割肺图像所述某一时刻的前一时刻以及/或后一时刻的肺图像以及待分割肺图像的全部信息,因此保证了待分割肺图像信息量,以便更好地进行肺叶分割。In the embodiment of the present disclosure, the preset lung lobe segmentation model can be a traditional machine learning lung lobe segmentation model, or a progressive dense V-network (PDV-NET) lung lobe segmentation model proposed by Voxel Technology in deep learning in 2018. In the present invention, the fused lung image is the lung image at a moment before and/or at a moment after the lung image to be segmented and all information of the lung image to be segmented, thus ensuring the information of the lung image to be segmented for better segmentation of lung lobes.
或者,在本公开实施例中,预设肺叶分割模型也可以为通过神经网络实现,可以包括残差网络Resnet、Unet、Vnet中的至少一种,本公开对此不作具体限定。本公开实施例中的预设肺叶分割模型能够用于实现至少一种肺叶的分割检测,得到的分割结果中包括所检测的肺叶的位置信息,如可以通过预设掩码表示检测的肺叶在肺图像中的位置区域。Alternatively, in the embodiments of the present disclosure, the preset lung lobe segmentation model may also be implemented by a neural network, which may include at least one of residual networks Resnet, Unet, and Vnet, which is not specifically limited in the present disclosure. The preset lung lobe segmentation model in the embodiment of the present disclosure can be used to realize the segmentation detection of at least one type of lung lobe, and the obtained segmentation result includes the position information of the detected lung lobe, for example, the detected lung lobe can be represented by a preset mask in the lung The location area in the image.
在本公开实施例中,肺叶分割方法,还包括:所述预设肺叶分割模型至少为2个,将所述预设肺叶分割模型得到的肺叶分割图像的特征进行融合得到融合特征,对所述融合特征进行分类处理得到最终的肺叶图像。在本公开实施例中,所述将所述预设肺叶分割模型得到的肺叶分割图像的特征进行融合得到融合特征的方法,包括:In an embodiment of the present disclosure, the lung lobe segmentation method further includes: there are at least two preset lung lobe segmentation models, and the features of the lung lobe segmentation images obtained by the preset lung lobe segmentation models are fused to obtain fusion features, and the The fusion features are classified and processed to obtain the final lung lobe image. In an embodiment of the present disclosure, the method of fusing features of the lung lobe segmentation image obtained by the preset lung lobe segmentation model to obtain fusion features includes:
分别对所述预设肺叶分割模型得到的所述肺叶分割图像进行拼接得到拼接特征,将所述拼接特征输入第二预设神经网进行卷积操作得到所述融合特征。Splicing the lung lobe segmentation images obtained by the preset lung lobe segmentation model respectively to obtain splicing features, and inputting the splicing features into a second preset neural network for convolution operation to obtain the fusion features.
其中,该两个预设分割模型可以为不同的分割模型。例如,第一预设分割模型可以为Resnet,第二预设分割模型可以为Unet,但不作为本公开的具体限定,任意两个不同的能够用于肺叶分割的神经网络均可以作为预设肺叶分割模型。将融合肺图像输入到第一预设分割模型和第二预设分割模型,分别得到第一分割结果和第二分割结果。其中,第一分割结果和第二分割结果中可以分别包括所检测的肺叶区域的位置信息。由于通过不同的预设分割模型执行分割处理得到的分割结果可能存在差异,本公开实施例可以通过两个分割结果的结合进一步提高分割精度。其中,可以将第一分割结果和第二分割结果的位置信息取均值得到最终的肺叶分割结果。Wherein, the two preset segmentation models may be different segmentation models. For example, the first preset segmentation model can be Resnet, and the second preset segmentation model can be Unet, but it is not a specific limitation of the present disclosure. Any two different neural networks that can be used for lung lobe segmentation can be used as the preset lung lobe Split the model. The fused lung image is input to the first preset segmentation model and the second preset segmentation model to obtain the first segmentation result and the second segmentation result respectively. Wherein, the first segmentation result and the second segmentation result may respectively include position information of the detected lung lobe region. Since there may be differences in the segmentation results obtained by performing segmentation processing through different preset segmentation models, the embodiment of the present disclosure can further improve the segmentation accuracy by combining the two segmentation results. Wherein, the position information of the first segmentation result and the second segmentation result may be averaged to obtain the final lung lobe segmentation result.
或者,在一些实施方式中,可以将第一预设分割模型输出第一分割结果之前的卷积层输出的第一特征图和第二预设分割模型输出第二分割结果之前的卷积层输出的第二特征图进行融合,得到融合特征。其中,第一预设分割模型和第二预设分割模型可以分别包括对应的特征提取模块和分类模块,其中分类模块得到最终的第一分割结果和第二分割结果,特征提取模块可以包括多个卷积层,最后一层卷积层输出的特征图用于输入到分类模块,得到第一分割结果或者第二分割结果。其中本公开实施例可以得到第一预设分割模型中特征提取模块的最后一层卷积层输出的第一特征图和第二预设分割模型中特征提取模块的最后一层卷积层输出的第二特征图。并将所述预设肺叶分割模型得到的肺叶分割图像的第一特征图和第二图像进行融合得到融合特征,对所述融合特征进行分类处理得到最终的肺叶图像。具体地说,可以分别对第一特征图和第二特征图进行拼接得到拼接特征,将所述拼接特征输入到至少一层卷积层,得到融合特征。而后,通过分类网络对融合特征分类处理,得到所要检测的肺叶的分类(分割)结果,即得到所要检测的肺图像对应的肺叶分割结果。Alternatively, in some implementations, the first feature map output by the convolutional layer before the first segmentation result is output by the first preset segmentation model and the convolutional layer output before the second segmentation result is output by the second preset segmentation model The second feature map is fused to obtain the fusion feature. Wherein, the first preset segmentation model and the second preset segmentation model may include corresponding feature extraction modules and classification modules respectively, wherein the classification module obtains the final first segmentation result and the second segmentation result, and the feature extraction module may include multiple In the convolutional layer, the feature map output by the last convolutional layer is input to the classification module to obtain the first segmentation result or the second segmentation result. The embodiment of the present disclosure can obtain the first feature map output by the last convolutional layer of the feature extraction module in the first preset segmentation model and the output of the last convolutional layer of the feature extraction module in the second preset segmentation model. The second feature map. The first feature map and the second image of the lung lobe segmentation image obtained by the preset lung lobe segmentation model are fused to obtain a fusion feature, and the fusion feature is classified to obtain a final lung lobe image. Specifically, the first feature map and the second feature map can be concatenated to obtain concatenated features, and the concatenated features can be input to at least one convolutional layer to obtain fusion features. Then, the fusion feature is classified and processed through the classification network to obtain the classification (segmentation) result of the lung lobe to be detected, that is, the segmentation result of the lung lobe corresponding to the lung image to be detected is obtained.
在本公开实施例中,通常采用肺呼吸过程中的静态肺数据进行临床分析,而未考虑到肺的运动信息,势必会影像肺部特征数据的分析精度。如果能够结合在不同时间段的肺特征之间关联性,将会提高肺运动数据的检测精度。本公开实施例可以解决目前肺(叶)的特征信息不足,导致分割效果差的问题。In the embodiments of the present disclosure, static lung data during lung breathing are usually used for clinical analysis, without taking into account the motion information of the lungs, which will definitely affect the analysis accuracy of the lung characteristic data. If the correlation between lung features in different time periods can be combined, the detection accuracy of lung motion data will be improved. The embodiments of the present disclosure can solve the current problem of insufficient feature information of the lung (lobe), resulting in poor segmentation effect.
本发明还提供一种肺叶分割装置,包括:获取单元,用于获取呼吸过程中多时刻的肺图像;确定单元,用于确定所述多时刻的肺图像中某一时刻的待分割肺图像;融合单元,用于利用所述待分割肺图像所述某一时刻的前一时刻以及/或后一时刻的肺图像对所述待分割肺图像进行融合,得到融合肺图像;分割单元,用于利用预设肺叶分割模型对所述融合肺图像进行分割,得到所述待分割肺图像的肺叶图像。其具体实现方式可以参照一种肺叶分割方法中的详细描述。The present invention also provides a lung lobe segmentation device, comprising: an acquisition unit, configured to acquire lung images at multiple moments in the breathing process; a determination unit, configured to determine a lung image to be segmented at a certain moment in the lung images at multiple moments; The fusion unit is used to fuse the lung image to be segmented by using the lung image at a time before and/or at a time after the lung image to be segmented to obtain a fused lung image; the segmentation unit is used to The fused lung image is segmented using a preset lung lobe segmentation model to obtain a lung lobe image of the lung image to be segmented. For its specific implementation, refer to the detailed description in a lung lobe segmentation method.
另,本发明提供一种存储介质,所述计算机程序指令被处理器执行时实现上述的方法,包括:获取呼吸过程中多时刻的肺图像;确定所述多时刻的肺图像中的待分割肺图像,所述待分割图像以外的肺图像作为第一肺图像;利用至少一个第一肺图像对所述待分割肺图像进行融合,得到融合肺图像,所述至少两个第一肺图像包括至少一个在所述待分割图像之前时刻的肺图像以及/或至少一个在所述待分割图像之后时刻的肺图像;利用预设肺叶分割模型对所述融合肺图像进行分割,得到所述待分割肺图像的肺叶图像。In addition, the present invention provides a storage medium. When the computer program instructions are executed by a processor, the above method is implemented, including: acquiring lung images at multiple moments in the breathing process; determining the lung to be segmented in the lung images at multiple moments images, lung images other than the image to be segmented are used as the first lung image; at least one first lung image is used to fuse the lung image to be segmented to obtain a fused lung image, and the at least two first lung images include at least A lung image at a time before the image to be segmented and/or at least one lung image at a time after the image to be segmented; using a preset lung lobe segmentation model to segment the fused lung image to obtain the lung to be segmented Image of the lung lobes.
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the present disclosure are implemented by executing computer readable program instructions.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present disclosure above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or technical improvement in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.
以上所述实施例仅为表达本发明的实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形、同等替换、改进等,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are only to express the implementation of the present invention, and the descriptions thereof are more specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be noted that those skilled in the art can make several modifications, equivalent replacements, improvements, etc. without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (27)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010534722.0A CN111724360B (en) | 2020-06-12 | 2020-06-12 | Lung lobe segmentation method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010534722.0A CN111724360B (en) | 2020-06-12 | 2020-06-12 | Lung lobe segmentation method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111724360A CN111724360A (en) | 2020-09-29 |
CN111724360B true CN111724360B (en) | 2023-06-02 |
Family
ID=72568049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010534722.0A Active CN111724360B (en) | 2020-06-12 | 2020-06-12 | Lung lobe segmentation method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111724360B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113808082B (en) * | 2021-08-19 | 2023-10-03 | 东北大学 | Lung image processing method and device, electronic equipment and storage medium |
CN114038561A (en) * | 2021-11-08 | 2022-02-11 | 数聚工研(北京)科技有限公司 | Bronchiectasis scoring method and system |
CN114913196A (en) * | 2021-12-28 | 2022-08-16 | 天翼数字生活科技有限公司 | Attention-based dense optical flow calculation method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1418353A (en) * | 2000-01-18 | 2003-05-14 | 芝加哥大学 | Automated method and system for segmentation of lung regions in computed tomography scans |
EP1447772A1 (en) * | 2003-02-11 | 2004-08-18 | MeVis GmbH | A method of lung lobe segmentation and computer system |
CN108985345A (en) * | 2018-06-25 | 2018-12-11 | 重庆知遨科技有限公司 | A kind of detection device based on the classification of lung's Medical image fusion |
CN109598727A (en) * | 2018-11-28 | 2019-04-09 | 北京工业大学 | A kind of CT image pulmonary parenchyma three-dimensional semantic segmentation method based on deep neural network |
CN109658425A (en) * | 2018-12-12 | 2019-04-19 | 上海联影医疗科技有限公司 | A kind of lobe of the lung dividing method, device, computer equipment and storage medium |
CN109727251A (en) * | 2018-12-29 | 2019-05-07 | 上海联影智能医疗科技有限公司 | The system that lung conditions are divided a kind of quantitatively, method and apparatus |
CN110033005A (en) * | 2019-04-08 | 2019-07-19 | 北京市商汤科技开发有限公司 | Image processing method and device, electronic equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005055008A2 (en) * | 2003-11-26 | 2005-06-16 | Viatronix Incorporated | Automated segmentation, visualization and analysis of medical images |
-
2020
- 2020-06-12 CN CN202010534722.0A patent/CN111724360B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1418353A (en) * | 2000-01-18 | 2003-05-14 | 芝加哥大学 | Automated method and system for segmentation of lung regions in computed tomography scans |
EP1447772A1 (en) * | 2003-02-11 | 2004-08-18 | MeVis GmbH | A method of lung lobe segmentation and computer system |
CN108985345A (en) * | 2018-06-25 | 2018-12-11 | 重庆知遨科技有限公司 | A kind of detection device based on the classification of lung's Medical image fusion |
CN109598727A (en) * | 2018-11-28 | 2019-04-09 | 北京工业大学 | A kind of CT image pulmonary parenchyma three-dimensional semantic segmentation method based on deep neural network |
CN109658425A (en) * | 2018-12-12 | 2019-04-19 | 上海联影医疗科技有限公司 | A kind of lobe of the lung dividing method, device, computer equipment and storage medium |
CN109727251A (en) * | 2018-12-29 | 2019-05-07 | 上海联影智能医疗科技有限公司 | The system that lung conditions are divided a kind of quantitatively, method and apparatus |
CN110033005A (en) * | 2019-04-08 | 2019-07-19 | 北京市商汤科技开发有限公司 | Image processing method and device, electronic equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
Lung image segmentation and registration for quantitative image analysis;H. Haneishi 等;《2001 IEEE Nuclear Science Symposium Conference Record》;1390-1393 * |
PRF-RW: a progressive random forest-based random walk approach for interactive semi-automated pulmonary lobes segmentation;Qiang Li等;《International Journal of Machine Learning and Cybernetics》;第11卷;2221–2235 * |
基于CT图像的肺实质分割和肺结节检测方法研究;侍新;《中国优秀硕士学位论文全文数据库医药卫生科技辑》(第02期);E072-256 * |
基于医学图像分割技术的计算机辅助肺功能评估系统;解德芳;《中国优秀硕士学位论文全文数据库信息科技辑》(第12期);I138-1474 * |
Also Published As
Publication number | Publication date |
---|---|
CN111724360A (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11861829B2 (en) | Deep learning based medical image detection method and related device | |
US10470510B1 (en) | Systems and methods for full body measurements extraction using multiple deep learning networks for body feature measurements | |
CN111724360B (en) | Lung lobe segmentation method, device and storage medium | |
JP7022195B2 (en) | Machine learning equipment, methods and programs and recording media | |
CN111640120B (en) | An automatic segmentation method for pancreatic CT based on saliency densely connected dilated convolutional network | |
CN111724364B (en) | Method and device, electronic equipment and storage medium based on lung lobe and tracheal tree | |
CN115424209A (en) | Crowd counting method based on spatial pyramid attention network | |
CN110287760A (en) | A method for occlusion detection of facial facial features based on deep learning | |
CN110047081A (en) | Example dividing method, device, equipment and the medium of chest x-ray image | |
CN114170133B (en) | Intelligent focus positioning method, system, device and medium based on medical image | |
CN113256605B (en) | A breast cancer image recognition and classification method based on deep neural network | |
WO2021027152A1 (en) | Image synthesis method based on conditional generative adversarial network, and related device | |
CN110796659A (en) | Method, device, equipment and storage medium for identifying target detection result | |
CN116130090A (en) | Ejection fraction measuring method and device, electronic device, and storage medium | |
CN107616796B (en) | Lung nodule benign and malignant detection method and device based on deep neural network | |
CN112837304B (en) | A skin detection method, computer storage medium and computing device | |
CN117710317A (en) | Training method and detection method of detection model | |
KR102732585B1 (en) | Apparatus and method for generating laryngeal cancer diagnosis information using image data and audio data | |
CN111724359B (en) | Method, device and storage medium for determining motion trail of lung lobes | |
CN106934785B (en) | A Medical Image Segmentation Method for Liver Model in Robotic Virtual Training System | |
WO2024098379A1 (en) | Fully automatic cardiac magnetic resonance imaging segmentation method based on dilated residual network | |
Hsu et al. | Deep hybrid network for automatic quantitative analysis of facial paralysis | |
Ruinan et al. | DPCA-Net: dual path with 3D channel attention for pulmonary nodule detection | |
Niu et al. | A Generalized Densely Connected Encoder-Decoder Network for epithelial and stromal regions segmentation in histopathological images | |
CN109934934B (en) | Medical image display method and device based on augmented reality |
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 |