CN115131304A - Pulmonary nodule boundary sphere generation method, device and equipment - Google Patents
Pulmonary nodule boundary sphere generation method, device and equipment Download PDFInfo
- Publication number
- CN115131304A CN115131304A CN202210706664.4A CN202210706664A CN115131304A CN 115131304 A CN115131304 A CN 115131304A CN 202210706664 A CN202210706664 A CN 202210706664A CN 115131304 A CN115131304 A CN 115131304A
- Authority
- CN
- China
- Prior art keywords
- nodule
- target
- target lung
- boundary
- centroid
- 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.)
- Pending
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
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- 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/187—Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
- G06T7/75—Determining position or orientation of objects or cameras using feature-based methods involving models
-
- 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/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30061—Lung
- G06T2207/30064—Lung nodule
-
- 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/30204—Marker
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Quality & Reliability (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Apparatus For Radiation Diagnosis (AREA)
Abstract
本申请提供一种肺结节边界球生成方法、装置及设备,该方法包括:响应于边界球生成指令,获取目标肺部的CT值信息;根据所述CT值信息生成目标肺部的三维模型,及确定目标肺部的三维模型中目标肺结节的位置信息,并在显示界面上显示所述三维模型及所述目标肺结节的位置信息;确定采用边界球自动生成方式时,基于目标肺结节的位置信息,确定目标肺结节的质心,并确定目标肺结节表面点与质心的最大距离;生成目标肺结节的边界球并显示在显示界面上,通过上述方法,可以通过基于CT、MR等设备拍摄的图像,针对肺结节病灶自动生成边界球,为手术方案制作带来了便利。
The present application provides a method, device and device for generating a boundary sphere of a pulmonary nodule. The method includes: acquiring CT value information of a target lung in response to a boundary sphere generation instruction; and generating a three-dimensional model of the target lung according to the CT value information , and determine the position information of the target lung nodule in the three-dimensional model of the target lung, and display the three-dimensional model and the position information of the target lung nodule on the display interface; The position information of the lung nodule, determine the centroid of the target lung nodule, and determine the maximum distance between the surface point of the target lung nodule and the centroid; generate the bounding sphere of the target lung nodule and display it on the display interface. Based on images captured by CT, MR and other equipment, the boundary spheres are automatically generated for pulmonary nodule lesions, which brings convenience to the preparation of surgical plans.
Description
技术领域technical field
本申请涉及影像信息处理技术领域,尤其涉及一种肺结节边界球生成方法、装置及设备。The present application relates to the technical field of image information processing, and in particular, to a method, device and device for generating a boundary sphere of a pulmonary nodule.
背景技术Background technique
随着医学成像技术的发展,CT(computed tomography,电子计算机X射线断层扫描技术)、MR(magnetic resonance,磁共振)等设备普遍应用于日常临床诊断过程中,基于CT、MR等设备拍摄的图像,可以自动或手动的重建出人体组织器官的三维结构,通过三维可视化技术进行显示,可以直观的展现病灶周围组织器官的分布情况,并可以根据组织器官分布情况制定和模拟手术方案,在外科手术中具有绝对优势,在基础研究和临床应用等方面也发挥了极其重要的作用。With the development of medical imaging technology, CT (computed tomography, electronic computer X-ray tomography), MR (magnetic resonance, magnetic resonance) and other equipment are widely used in the daily clinical diagnosis process, based on the images taken by CT, MR and other equipment It can automatically or manually reconstruct the three-dimensional structure of human tissues and organs, and display it through three-dimensional visualization technology. It has an absolute advantage in basic research and clinical applications.
肺结节作为一种较为常见的肺部病灶,近年来随着医学发展,可以通过器官重建的方式,获取结节病灶与血管、肺、肺叶等器官的相对位置关系,并根据结节病灶的边界位置,为医生提供合理的手术方案,但目前,还不能准确的确定出结节病灶的边界位置。Pulmonary nodules are a relatively common pulmonary lesion. With the development of medicine in recent years, the relative positional relationship between nodule lesions and blood vessels, lungs, lung lobes and other organs can be obtained by means of organ reconstruction. The boundary position provides doctors with a reasonable surgical plan, but at present, the boundary position of nodular lesions cannot be accurately determined.
发明内容SUMMARY OF THE INVENTION
本发明提供了一种肺结节边界球生成方法、装置及设备,用于解决目前缺乏有效确定肺结节边界位置的方法的问题。The present invention provides a method, device and device for generating a pulmonary nodule boundary sphere, which are used to solve the problem of the lack of an effective method for determining the boundary position of a pulmonary nodule at present.
本申请提供一种肺结节边界球生成方法,该方法包括:The present application provides a method for generating a pulmonary nodule boundary sphere, the method comprising:
响应于边界球生成指令,获取目标肺部的CT值信息;In response to the boundary sphere generation instruction, obtain CT value information of the target lung;
根据上述CT值信息生成目标肺部的三维模型,及确定上述目标肺部的三维模型中目标肺结节的位置信息,并在显示界面上显示上述三维模型及上述目标肺结节的位置信息;Generate a three-dimensional model of the target lung according to the above-mentioned CT value information, and determine the position information of the target lung nodule in the three-dimensional model of the above-mentioned target lung, and display the above-mentioned three-dimensional model and the above-mentioned position information of the target lung nodule on the display interface;
确定采用边界球自动生成方式时,基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离;When it is determined that the automatic generation method of the boundary sphere is adopted, the centroid of the above-mentioned target lung nodule is determined based on the position information of the above-mentioned target lung nodule, and the maximum distance between the surface point of the above-mentioned target lung nodule and the above-mentioned centroid is determined;
基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球并显示在显示界面上。Based on the centroid and the maximum distance between the surface point of the target lung nodule and the centroid, a bounding sphere of the target lung nodule is generated and displayed on the display interface.
一种可选的实施方式为,该方法还包括:An optional embodiment is that the method further includes:
在显示界面上显示边界球生成方式选项;Display the options of how to generate bounding spheres on the display interface;
根据对上述边界球生成方式选项的选择,确定采用边界球手动生成方式时,根据用户操作确定选择的质心位置,及通过输入参数方式/鼠标拖动方式确定边界球半径;According to the selection of the above-mentioned boundary sphere generation method options, when it is determined to adopt the boundary sphere manual generation method, the selected centroid position is determined according to the user operation, and the boundary sphere radius is determined by the input parameter method/mouse drag method;
基于用户选择的质心位置以及确定的边界球半径,生成上述目标肺结节的边界球并显示在显示界面上。Based on the centroid position selected by the user and the determined radius of the bounding sphere, the bounding sphere of the target lung nodule is generated and displayed on the display interface.
一种可选的实施方式为,基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离,包括:An optional implementation manner is, based on the position information of the above-mentioned target pulmonary nodule, determine the centroid of the above-mentioned target pulmonary nodule, and determine the maximum distance between the surface point of the above-mentioned target lung nodule and the above-mentioned centroid, including:
根据上述目标肺结节的每个点的位置信息,确定出距离最大的两个点,将上述距离最大的两个点的中点确定为上述目标肺结节的质心;According to the position information of each point of the target lung nodule, determine the two points with the largest distance, and determine the midpoint of the two points with the largest distance as the centroid of the target lung nodule;
获取上述目标肺结节的每个点与上述质心的距离,将获取的最大距离确定为上述目标肺结节表面点与上述质心的最大距离。The distance between each point of the target lung nodule and the centroid is obtained, and the obtained maximum distance is determined as the maximum distance between the surface point of the target lung nodule and the centroid.
一种可选的实施方式为,生成上述目标肺结节的边界球之前,还包括:An optional implementation manner is, before generating the bounding sphere of the above-mentioned target lung nodule, further comprising:
在显示界面上显示安全距离的选项,采集用户输入的安全距离;Display the option of safety distance on the display interface, and collect the safety distance input by the user;
基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球,包括:Based on the centroid and the maximum distance between the surface point of the target lung nodule and the centroid, the bounding sphere of the target lung nodule is generated, including:
以上述质心为球心,上述目标肺结节表面点与上述质心的最大距离与采集到的安全距离之和为半径,生成上述目标肺结节的边界球。Taking the centroid as the center of the sphere, and the sum of the maximum distance between the surface point of the target lung nodule and the centroid and the collected safety distance as the radius, a bounding sphere of the target lung nodule is generated.
一种可选的实施方式为,该方法还包括:An optional embodiment is that the method further includes:
根据除上述目标肺结节外其他部位中每个点的位置信息,确定每个点与上述质心的距离,与上述边界球半径进行比对;According to the position information of each point in other parts except the above-mentioned target lung nodule, determine the distance between each point and the above-mentioned centroid, and compare it with the above-mentioned boundary sphere radius;
确定存在小于上述边界球半径的距离时,在上述显示界面上显示风险提醒,并显示安全距离更改选项或边界球生成方式切换选项。When it is determined that there is a distance smaller than the radius of the above-mentioned boundary sphere, a risk reminder is displayed on the above-mentioned display interface, and the option of changing the safe distance or switching the method of generating the boundary sphere is displayed.
一种可选的实施方式为,在显示界面上显示边界球生成方式选项,包括:An optional implementation is to display the options of the boundary sphere generation method on the display interface, including:
确定上述目标肺部存在多发肺结节时,在显示界面上显示边界球生成方式选项及目标肺结节列表,以使用户根据边界球生成方式选项选择边界球的生成方式,及根据目标肺结节列表选择对应边界球的生成方式下的目标肺结节。When it is determined that there are multiple pulmonary nodules in the above-mentioned target lungs, the boundary sphere generation method option and the list of target pulmonary nodules are displayed on the display interface, so that the user can select the boundary sphere generation method according to the boundary sphere generation method option, and select the boundary sphere generation method according to the target lung nodules. Select the target lung nodule corresponding to the generation method of the bounding sphere from the section list.
一种可选的实施方式为,确定上述目标肺部存在多发肺结节时,确定目标肺结节的位置信息,包括:An optional implementation manner is, when it is determined that there are multiple pulmonary nodules in the above-mentioned target lung, the location information of the target pulmonary nodule is determined, including:
根据上述目标肺部的CT值信息确定存在多发肺结节时,利用连通域标记算法确定出连通区域;When it is determined that there are multiple pulmonary nodules according to the CT value information of the target lung, the connected region is determined by using the connected domain labeling algorithm;
将每个连通区域的点的集合确定为一个目标肺结节,得到每个目标肺结节的位置信息。The set of points in each connected region is determined as a target lung nodule, and the position information of each target lung nodule is obtained.
上述方法,通过基于CT、MR等设备拍摄的图像,针对肺结节病灶自动生成边界球,为手术方案制作带来了便利。The above method automatically generates boundary spheres for pulmonary nodule lesions based on images captured by CT, MR and other equipment, which brings convenience to the preparation of surgical plans.
本申请还提供一种肺结节边界球生成装置,该装置包括:The present application also provides a device for generating pulmonary nodule boundary spheres, the device comprising:
获取模块,用于响应于边界球生成指令,获取目标肺部的CT值信息;an acquisition module, used for acquiring the CT value information of the target lung in response to the boundary sphere generation instruction;
三维模型显示模块,用于根据上述CT值信息生成目标肺部的三维模型,及确定上述目标肺部的三维模型中目标肺结节的位置信息,并在显示界面上显示上述三维模型及上述目标肺结节的位置信息;The three-dimensional model display module is used to generate a three-dimensional model of the target lung according to the above-mentioned CT value information, and determine the position information of the target lung nodule in the three-dimensional model of the above-mentioned target lung, and display the above-mentioned three-dimensional model and the above-mentioned target on the display interface. Location information of pulmonary nodules;
确定模块,用于确定采用边界球自动生成方式时,基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离;A determination module, configured to determine the centroid of the target lung nodule based on the position information of the target lung nodule when the boundary sphere is automatically generated, and determine the maximum distance between the surface point of the target lung nodule and the centroid;
边界球显示模块,用于基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球并显示在显示界面上。The boundary sphere display module is used for generating the boundary sphere of the target lung nodule based on the centroid and the maximum distance between the surface point of the target lung nodule and the centroid and displaying it on the display interface.
本申请还提供一种肺结节边界球生成设备,该设备包括至少一个处理器;以及与上述至少一个处理器通信连接的存储器;The present application also provides a device for generating a pulmonary nodule boundary sphere, the device comprising at least one processor; and a memory communicatively connected to the at least one processor;
其中,上述存储器存储有可被上述至少一个处理器执行的指令,上述指令被上述至少一个处理器执行,以使上述至少一个处理器能够执行上述肺结节边界球生成方法中任意一项上述的步骤。Wherein, the memory stores an instruction executable by the at least one processor, and the instruction is executed by the at least one processor, so that the at least one processor can execute any one of the above-mentioned methods for generating a pulmonary nodule boundary sphere. step.
本申请提供一种计算机存储介质,计算机存储介质存储有计算机程序,上述计算机程序用于使计算机执行上述肺结节边界球生成方法中任意一项上述的步骤。The present application provides a computer storage medium, where a computer program is stored in the computer storage medium, and the computer program is used to cause a computer to execute any one of the above steps in the above-mentioned method for generating a pulmonary nodule boundary sphere.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本申请实施例提供的一种肺结节边界球生成方法的流程示意图;1 is a schematic flowchart of a method for generating a pulmonary nodule boundary sphere according to an embodiment of the present application;
图2为本申请实施例提供的一种边界球生成按钮的示意图;2 is a schematic diagram of a boundary ball generation button provided by an embodiment of the present application;
图3为本申请实施例提供的一种边界球生成方式选项的示意图;3 is a schematic diagram of a boundary sphere generation mode option provided by an embodiment of the present application;
图4为本申请实施例提供的一种目标肺结节的边界球的示意图;4 is a schematic diagram of a boundary sphere of a target lung nodule provided by an embodiment of the present application;
图5为本申请实施例提供的一种目标肺结节的边界球的位置信息显示方式的示意图;5 is a schematic diagram of a display mode of position information of a boundary sphere of a target pulmonary nodule according to an embodiment of the present application;
图6为本申请实施例提供的一种肺结节边界球生成方法的具体流程的示意图;6 is a schematic diagram of a specific flow of a method for generating a pulmonary nodule boundary sphere according to an embodiment of the present application;
图7为本申请实施例提供的一种目标肺部的dicom图像的示意图;7 is a schematic diagram of a dicom image of a target lung provided by an embodiment of the present application;
图8为本申请实施例提供的一种目标肺部的dicom图像放大过程的示意图;8 is a schematic diagram of a dicom image enlargement process of a target lung provided by an embodiment of the present application;
图9为本申请实施例提供的一种边界球的球心选项以及半径选项的示意图;9 is a schematic diagram of a center option and a radius option of a boundary sphere provided by an embodiment of the present application;
图10为本申请实施例提供的一种目标肺结节的质心以及目标肺结节表面点与上述质心的最大距离的确定方法的流程示意图;10 is a schematic flowchart of a method for determining a centroid of a target lung nodule and a method for determining the maximum distance between a surface point of a target lung nodule and the centroid according to an embodiment of the present application;
图11为本申请实施例提供的一种安全距离选项的示意图;11 is a schematic diagram of a safe distance option provided by an embodiment of the present application;
图12为本申请实施例提供的一种风险提醒方法的流程示意图;12 is a schematic flowchart of a risk reminder method provided by an embodiment of the present application;
图13为本申请实施例提供的一种风险提醒界面的示意图;13 is a schematic diagram of a risk reminder interface provided by an embodiment of the present application;
图14为本申请实施例提供的一种目标肺结节的选项的示意图;14 is a schematic diagram of options for a target pulmonary nodule provided by an embodiment of the present application;
图15为本申请实施例提供的一种肺结节边界球自动生成方法的整体流程示意图;15 is a schematic overall flowchart of a method for automatically generating a pulmonary nodule boundary sphere according to an embodiment of the present application;
图16为本申请实施例提供的一种肺结节掩膜数据的示意图;16 is a schematic diagram of a pulmonary nodule mask data provided by an embodiment of the present application;
图17为本申请实施例提供的一种加载肺结节掩膜数据的dicom图像的示意图;17 is a schematic diagram of a dicom image loaded with pulmonary nodule mask data according to an embodiment of the present application;
图18为本申请实施例提供的另一种目标肺结节的边界球的示意图;FIG. 18 is a schematic diagram of a boundary sphere of another target pulmonary nodule according to an embodiment of the present application;
图19为本申请实施例提供的一种肺结节边界球生成装置的流程示意图;19 is a schematic flowchart of a device for generating a pulmonary nodule boundary sphere according to an embodiment of the present application;
图20为本申请实施例提供的一种肺结节边界球生成设备的流程示意图。FIG. 20 is a schematic flowchart of a device for generating a pulmonary nodule boundary sphere according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。本申请实施例中对数据的获取、存储、使用、处理等均符合国家法律法规的相关规定。The technical solutions in the embodiments of the present application will be described clearly and in detail below with reference to the accompanying drawings. Obviously, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention. The acquisition, storage, use, and processing of data in the embodiments of this application all comply with the relevant provisions of national laws and regulations.
随着医学成像技术的发展,CT、MR等设备普遍应用于日常临床诊断过程中,基于CT、MR等设备拍摄的图像,可以自动或手动的重建出人体组织器官的三维结构,通过三维可视化技术进行显示,可以直观的展现病灶周围组织器官的分布情况,并可以根据组织器官分布情况制定和模拟手术方案,在外科手术中具有绝对优势,在基础研究和临床应用等方面发挥极其重要的作用。With the development of medical imaging technology, CT, MR and other equipment are widely used in the daily clinical diagnosis process. Based on the images captured by CT, MR and other equipment, the three-dimensional structure of human tissues and organs can be automatically or manually reconstructed. Through three-dimensional visualization technology It can visually display the distribution of tissues and organs around the lesion, and can formulate and simulate surgical plans according to the distribution of tissues and organs. It has an absolute advantage in surgery and plays an extremely important role in basic research and clinical applications.
肺结节作为一种较为常见的肺部病灶,近年来随着医学发展,可以通过器官重建的方式,获取结节病灶与血管、肺、肺叶等器官的相对位置关系,从而为医生提供合理的手术方案。Pulmonary nodules are a relatively common pulmonary lesion. In recent years, with the development of medicine, the relative positional relationship between nodule lesions and blood vessels, lungs, lung lobes and other organs can be obtained by means of organ reconstruction, so as to provide doctors with reasonable information. surgical plan.
目前,医生在进行肺结节的切除手术时,首先会根据肺部的三维模型,以及肺结节的大致位置,根据经验来确定是否对检测出的肺结节进行切除,这种方法对医生的经验的依赖性较高,也存在一定的不确定性。At present, when doctors perform pulmonary nodule resection, they first determine whether to remove the detected pulmonary nodules based on the three-dimensional model of the lung and the approximate location of the pulmonary nodule based on experience. The dependence of the experience is high, and there is also a certain uncertainty.
本申请针对上述问题,提出了一种肺结节边界球的生成方法,该方法基于使用dicom(Digital Imaging and Communications in Medicine,医学数字成像和通信)数据重建获取的病灶、血管、肺以及肺叶等器官的三维模型,支持手工绘制和自动生成两种生成肺结节边界球的方式。In view of the above-mentioned problems, the present application proposes a method for generating a pulmonary nodule boundary sphere, which is based on reconstructed lesions, blood vessels, lungs, and lobes obtained by using dicom (Digital Imaging and Communications in Medicine) data. The 3D model of the organ supports both manual drawing and automatic generation of lung nodule boundary spheres.
手工绘制即是指在dicom图像横截面上,通过鼠标拖拽抬起等方式生成肺结节的边界球,自动生成则是指通过选中目标器官,将目标器官(一般是一到多个结节)通过连通域算法生成多个独立的肺结节,针对每个独立的肺结节进行边界球的自动生成,并且在自动生成边界球时考虑设置的安全距离,在安全距离范围内存在血管或者其它组织器官时进行提示。Manual drawing refers to generating the boundary sphere of pulmonary nodules by dragging and lifting the mouse on the cross section of the dicom image, while automatic generation refers to selecting the target organ and placing the target organ (usually one or more nodules). ) Generate multiple independent pulmonary nodules through the connected domain algorithm, automatically generate a boundary sphere for each independent pulmonary nodule, and consider the set safety distance when automatically generating the boundary sphere. Other tissues and organs are prompted.
通过上述方法,能够针对每个肺结节,准确生成包围该肺结节的边界球,以便辅助医生制定手术切除方案,为医生的手术操作提供便利。Through the above method, a boundary sphere surrounding the pulmonary nodule can be accurately generated for each pulmonary nodule, so as to assist the doctor in formulating a surgical resection plan and provide convenience for the doctor's surgical operation.
图1为本申请实施例提供的肺结节边界球生成方法的流程示意图,如图1所示,本申请实施例提供一种肺结节边界球生成方法,包括:1 is a schematic flowchart of a method for generating a pulmonary nodule boundary sphere provided by an embodiment of the present application. As shown in FIG. 1 , an embodiment of the present application provides a method for generating a pulmonary nodule boundary sphere, including:
步骤101,响应于边界球生成指令,获取目标肺部的CT值信息;
接收用户发送的边界球生成指令,获取与该指令对应的目标病例的dicom图像信息,并确定与指令对应的目标肺部的CT值信息。Receive the boundary sphere generation instruction sent by the user, obtain the dicom image information of the target case corresponding to the instruction, and determine the CT value information of the target lung corresponding to the instruction.
如图2所示,上述边界球生成指令的获取方式可以为,在显示界面上显示边界球生成按钮,通过采集用户对该边界球生成按钮的点击,获取用户的边界球生成指令。As shown in FIG. 2 , the method for obtaining the above-mentioned boundary sphere generation instruction may be: displaying a boundary sphere generation button on the display interface, and acquiring the user's boundary sphere generation instruction by collecting user clicks on the boundary sphere generation button.
在一些实施例中,在进行前期配置时,预先将患者的信息录入肺结节边界球生成系统,并同时记录该信息对应的时间;在肺结节边界球生成系统的初始界面上显示边界球生成按钮的同时,还可以显示目标对象选择选项和/或CT值信息的采集日期选项,以便用户选择需要生成肺结节边界球的患者的编号或姓名,和/或,选择需要获取的CT值信息的采集日期。In some embodiments, during the preliminary configuration, the information of the patient is pre-entered into the pulmonary nodule boundary sphere generation system, and the time corresponding to the information is recorded at the same time; the boundary sphere is displayed on the initial interface of the pulmonary nodule boundary sphere generation system At the same time as the generation button, the target object selection option and/or the acquisition date option of the CT value information can also be displayed, so that the user can select the number or name of the patient whose lung nodule boundary sphere needs to be generated, and/or, select the CT value to be obtained. Date the information was collected.
步骤102,根据上述CT值信息生成目标肺部的三维模型,及确定上述目标肺部的三维模型中目标肺结节的位置信息,并在显示界面上显示上述三维模型及上述目标肺结节的位置信息;
根据获取的目标肺部的CT值信息,生成目标肺部的不同器官的三维模型,例如肺部周围血管、肺、肺叶等,并将生成的三维模型加载在页面上,以便于用户的直观查看。According to the obtained CT value information of the target lung, generate three-dimensional models of different organs of the target lung, such as blood vessels around the lung, lungs, lung lobes, etc., and load the generated three-dimensional models on the page for intuitive viewing by users .
在一些实施例中,上述三维模型由多张掩膜组成,其在显示界面上的显示方式可以为显示用户选择的掩膜。In some embodiments, the above-mentioned three-dimensional model is composed of multiple masks, which can be displayed on the display interface in a manner of displaying a mask selected by the user.
同时,获取该三维模型中肺结节的位置信息,并对应在用户的显示界面上进行显示,显示方式可以为在上述三维模型上通过不同颜色标记出肺结节位置等。其中,上述肺结节的位置信息可以为肺结节的三维点云中各个点的三维坐标。在具体实施中,由于肺结节区域的CT值与其他部位的CT值存在区别,因此可通过CT值信息,确定出存在肺结节区域的点的坐标。At the same time, the location information of the pulmonary nodules in the three-dimensional model is acquired, and correspondingly displayed on the user's display interface. The location information of the pulmonary nodule may be the three-dimensional coordinates of each point in the three-dimensional point cloud of the pulmonary nodule. In a specific implementation, since the CT value of the lung nodule region is different from the CT value of other parts, the coordinates of the point where the lung nodule region exists can be determined by the CT value information.
步骤103,确定采用边界球自动生成方式时,基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离;
在一些实施例中,如图3所示,在界面上显示上述三维模型及目标肺结节的位置信息的同时,还在显示界面上显示边界球生成方式的选项,该选项包括自动生成方式以及手动生成方式。In some embodiments, as shown in FIG. 3 , while displaying the above-mentioned three-dimensional model and the location information of the target lung nodule on the interface, an option for generating a boundary sphere is also displayed on the display interface, and the options include an automatic generating method and Generated manually.
根据用户通过鼠标点击等方式对边界球生成方式选项的选择,确定用户采用边界球手动生成方式时,根据获取的目标肺结节的位置信息,确定出目标肺结节的质心,并确定距离球心距离最远的肺结节表面点,并获取该点与质心的距离。According to the user's selection of the boundary sphere generation method options through mouse clicks, etc., it is determined that when the user adopts the manual generation method of the boundary sphere, the center of mass of the target pulmonary nodule is determined according to the obtained position information of the target pulmonary nodule, and the distance sphere is determined. The point on the surface of the lung nodule with the furthest centroid, and the distance from that point to the centroid is obtained.
步骤104,基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球并显示在显示界面上;
将获取的质心作为生成的边界球的球心,将上述距离球心距离最远的肺结节表面点与质心的距离作为边界球的半径,生成目标肺结节的边界球,并在用户的显示界面生显示,如图4所示,图中球形区域即是生成的边界球,边界球中的浅色区域即为目标肺结节。Taking the obtained centroid as the center of the generated bounding sphere, and taking the distance between the surface point of the lung nodule with the farthest distance from the sphere center and the centroid as the radius of the bounding sphere, the bounding sphere of the target lung nodule is generated, and it is displayed in the user's The display interface is displayed, as shown in Figure 4, the spherical area in the figure is the generated boundary sphere, and the light-colored area in the boundary sphere is the target lung nodule.
在一些实施例中,如图5所示,在显示界面上显示边界球时,可以同时显示边界球的位置信息,如边界球的球心坐标等,或者也可以同时显示尺寸信息等,如边界球的半径,又如显示的图片中的距离与实际距离的比例。In some embodiments, as shown in FIG. 5 , when the boundary ball is displayed on the display interface, the position information of the boundary ball, such as the coordinates of the center of the boundary ball, etc., may be displayed at the same time, or the size information may also be displayed at the same time, such as the boundary The radius of the sphere, again as the ratio of the distance in the displayed picture to the actual distance.
上述方法,通过计算肺结节的质心作为边界球的球心,并确定边界球半径,生成一个覆盖肺结节病灶,并且符合安全距离的边界球,为手术方案提供参考,用此种方法计算生成边界球,可以辅助医生制定手术切除方案,降低医生肉眼和经验判定带来的一些不确定性,从而为患者提供最精确的手术方案。The above method, by calculating the center of mass of the pulmonary nodule as the center of the bounding sphere, and determining the radius of the bounding sphere, a bounding sphere that covers the pulmonary nodule lesions and conforms to a safe distance is generated to provide a reference for the surgical plan, and this method is used to calculate Generating a boundary sphere can assist doctors in formulating surgical resection plans, reduce some uncertainties caused by doctors' naked eyes and empirical judgments, and provide patients with the most accurate surgical plan.
在上述步骤103中,为满足医生在肺结节数目较少或者某些特殊场景下的手动绘制边界球的需求,本申请实施例还提供有手动绘制选项,即,在显示界面上显示边界球生成方式的选项,该选项包括自动生成方式以及手动生成方式,如图3所示。由于通常用户会选择自动生成方式,因此可设置默认方式为自动生成方式,即用户在不选择生成方式的情况下默认使用自动生成方式,用户在需要进行手动绘制时,可通过选择手动生成方式进行方式切换,上述默认方式用户可以根据需求自行设置。In the
一种可选的实施方式为,如图6所示,本申请实施例提供的肺结节边界球生成方法还包括以下步骤:An optional implementation manner is, as shown in FIG. 6 , the method for generating a pulmonary nodule boundary sphere provided in the embodiment of the present application further includes the following steps:
步骤601,在显示界面上显示边界球生成方式选项;
步骤602,根据对上述边界球生成方式选项的选择,确定采用边界球手动生成方式时,根据用户操作确定选择的质心位置,及通过输入参数方式/鼠标拖动方式确定边界球半径;
步骤603,基于用户选择的质心位置以及确定的边界球半径,生成上述目标肺结节的边界球并显示在显示界面上。Step 603: Based on the position of the centroid selected by the user and the determined radius of the bounding sphere, the bounding sphere of the target lung nodule is generated and displayed on the display interface.
在一些实施例中,用户在选择手动生成肺结节边界球时,显示界面上会显示出上述目标肺部的dicom图像,并在图像上以其他颜色突出显示肺结节区域,以方便用户进行手动绘制,如图7所示。In some embodiments, when the user chooses to manually generate the lung nodule boundary sphere, the dicom image of the target lung will be displayed on the display interface, and the lung nodule area will be highlighted in other colors on the image to facilitate the user to perform Draw manually, as shown in Figure 7.
在一些实施例中,为便于用户进行绘制,用户还可以通过操作目标肺部的dicom图像的局部图像进行放大,以便于更好的选取球心以及半径,具体实施中,用户可以通过滑动鼠标滚轮、鼠标移动或者输入参数等多种方式对目标肺部的dicom图像的选中区域进行放大,放大后的dicom图像如图8所示。In some embodiments, in order to facilitate the user to draw, the user can also zoom in by manipulating the partial image of the dicom image of the target lung, so as to better select the center and radius of the sphere. In the specific implementation, the user can slide the mouse wheel The selected area of the dicom image of the target lung is enlarged in various ways, such as moving the mouse or inputting parameters. The enlarged dicom image is shown in Figure 8.
在手动绘制肺结节的边界球时,显示界面上会显示边界球的球心选项以及半径选项,如图9所示,用户可以通过在输入栏输入、在下拉栏中选择、在图片上点击等方式选择生成的边界球的球心位置,其中,下拉栏中会显示通过计算确定的推荐球心位置,在通过点击选择球心位置时,图中对应显示如图7所示的所选球心的水平以及竖直辅助线,以便用户进行位置确定;同时用户可以通过输入参数以及鼠标拖动等方式选择生成的边界球的半径。When manually drawing the boundary sphere of a pulmonary nodule, the center and radius options of the boundary sphere will be displayed on the display interface. As shown in Figure 9, the user can input in the input field, select in the drop-down field, and click on the picture. Select the center position of the generated bounding sphere, among which, the recommended center position determined by calculation will be displayed in the drop-down column. When the center position is selected by clicking, the selected ball as shown in Figure 7 will be displayed correspondingly in the figure. The horizontal and vertical auxiliary lines of the center are used for the user to determine the position; at the same time, the user can select the radius of the generated bounding sphere by inputting parameters and dragging the mouse.
以下结合图10对上述步骤103中,目标肺结节的质心,以及目标肺结节表面点与上述质心的最大距离的确定方式进行详细阐述。The following describes in detail the method for determining the centroid of the target lung nodule and the maximum distance between the surface point of the target lung nodule and the centroid in the
一种可选的实施方式为,如图10所示,基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离,包括:An optional implementation is, as shown in FIG. 10 , based on the position information of the target lung nodule, determine the centroid of the target lung nodule, and determine the maximum distance between the surface point of the target lung nodule and the centroid, include:
步骤1001,根据上述目标肺结节的每个点的位置信息,确定出距离最大的两个点,将上述距离最大的两个点的中点确定为上述目标肺结节的质心;
步骤1002,获取上述目标肺结节的每个点与上述质心的距离,将获取的最大距离确定为上述目标肺结节表面点与上述质心的最大距离。Step 1002: Obtain the distance between each point of the target lung nodule and the centroid, and determine the obtained maximum distance as the maximum distance between the surface point of the target lung nodule and the centroid.
具体地,首先求取目标肺结节的最长径,最长径的计算过程如下:Specifically, first obtain the longest diameter of the target pulmonary nodule, and the calculation process of the longest diameter is as follows:
针对目标肺结节中的n个像素点(Xi,Yi,,Zi),首先对每个点(Xi,Yi,,Zi)计算其到另外n-1个点的距离,计算后得到n*(n-1)个距离,从n*(n-1)个距离中获取最大的距离作为最大径d。For the n pixel points (X i ,Y i, ,Z i ) in the target lung nodule, first calculate the distance from each point (X i ,Y i, ,Z i ) to the other n-1 points , after the calculation, n*(n-1) distances are obtained, and the largest distance is obtained from the n*(n-1) distances as the maximum diameter d.
假如最大径对应的两个像素点坐标为(Xa,Ya,Za)和(Xb,Yb,Zb),则质心为该最长径的中点,质心的坐标(X,Y,Z)为:If the coordinates of the two pixel points corresponding to the maximum diameter are (X a , Y a , Z a ) and (X b , Y b , Z b ), then the center of mass is the midpoint of the longest diameter, and the coordinates of the center of mass (X, Y, Z) is:
X=(Xb+Xa)/2;Y=(Yb+Ya)/2;Z=(Zb+Za)/2。X=( Xb + Xa )/2; Y = ( Yb +Ya)/2; Z = ( Zb +Za)/2.
在确定质心后,计算目标肺结节上的每个点与该质心的距离,并获取该距离中的最大值rmax。After the centroid is determined, the distance between each point on the target lung nodule and the centroid is calculated, and the maximum value r max among the distances is obtained.
一种可选的实施方式为,生成上述目标肺结节的边界球之前,还包括:An optional implementation manner is, before generating the bounding sphere of the above-mentioned target lung nodule, further comprising:
在显示界面上显示安全距离的选项,采集用户输入的安全距离;Display the option of safety distance on the display interface, and collect the safety distance input by the user;
基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球,包括:Based on the centroid and the maximum distance between the surface point of the target lung nodule and the centroid, the bounding sphere of the target lung nodule is generated, including:
以上述质心为球心,上述目标肺结节表面点与上述质心的最大距离与采集到的安全距离之和为半径,生成上述目标肺结节的边界球。Taking the centroid as the center of the sphere, and the sum of the maximum distance between the surface point of the target lung nodule and the centroid and the collected safety distance as the radius, a bounding sphere of the target lung nodule is generated.
为了保证目标肺结节全部切除,且目标肺结节与附近血管等保持一定距离,避免在切除肺结节时对周围血管造成损伤,在上述获取的距离中的最大值rmax的基础上增加安全距离d作为边界球的最终半径,即最终确定的半径为r=rmax+d。In order to ensure that the target pulmonary nodule is completely removed and keep a certain distance from the target pulmonary nodule and nearby blood vessels, so as to avoid damage to the surrounding blood vessels during the removal of the pulmonary nodule, increase the maximum value r max of the above obtained distances. The safety distance d is taken as the final radius of the boundary sphere, that is, the final determined radius is r=r max +d.
如图11所示,在显示界面上显示安全距离的选项,用户可通过在输入栏输入、在下拉栏中选择等方式,设置需要的安全距离值。As shown in FIG. 11 , the option of safety distance is displayed on the display interface, and the user can set the required safety distance value by inputting in the input field, selecting in the drop-down field, etc.
一种可选的实施方式为,如图12所示,本申请提供肺结节边界球的生成方法还包括:An optional embodiment is, as shown in FIG. 12 , the method for generating a pulmonary nodule boundary sphere provided by the present application further includes:
步骤1201,根据除上述目标肺结节外其他部位中每个点的位置信息,确定上述每个点与上述质心的距离,与上述边界球半径进行比对;
步骤1202,确定存在小于上述边界球半径的距离时,在上述显示界面上显示风险提醒,并显示安全距离更改选项或边界球生成方式切换选项。
为了进一步保证避免在切除肺结节时对周围血管造成损伤,在生成目标肺结节的边界球时,还需要确定生成的边界球中不存在除该目标肺结节外的血管或者其他组织器官。In order to further ensure that the surrounding blood vessels are not damaged when the pulmonary nodule is resected, when generating the bounding sphere of the target pulmonary nodule, it is also necessary to confirm that there are no blood vessels or other tissues and organs other than the target pulmonary nodule in the generated bounding sphere. .
在具体实施中,在确定了生成的边界球的球心和半径之后,计算位于该目标肺结节周围的除该目标肺结节外的其他的点距离上述质心的距离,并且与计算得到的半径进行比对,在确定不存在与质心的距离小于该半径的点时,确定生成的该边界球中不存在其他血管或组织器官,即按照该边界球执行目标肺结节的切除方案比较安全。In a specific implementation, after the center and radius of the generated bounding sphere are determined, the distances of other points located around the target lung nodule except for the target lung nodule from the above-mentioned center of mass are calculated, and the distances from the above-mentioned center of mass are compared with the calculated value. The radius is compared, and when it is determined that there is no point whose distance from the centroid is less than the radius, it is determined that there are no other blood vessels or tissues and organs in the generated bounding sphere, that is, it is safer to perform the resection plan of the target pulmonary nodule according to the bounding sphere. .
在确定存在与质心的距离小于该半径的点时,确定生成的该边界球中存在其他血管或组织器官,即,按照该边界球执行目标肺结节的切除方案存在损伤其他部位的风险,例如,割破肺结节周围的血管,此时,在显示界面生成如图13所示的风险提醒,用户可根据该风险提醒选择忽略该提醒继续生成边界球,或者采取其他的方式,例如,在目前设置的安全距离过大时修改安全距离,或者改用手动生成方式生成边界球。When it is determined that there is a point whose distance from the centroid is less than the radius, it is determined that there are other blood vessels or tissues and organs in the generated bounding sphere, that is, performing the resection plan of the target pulmonary nodule according to the bounding sphere has the risk of damaging other parts, such as , cut the blood vessels around the pulmonary nodule. At this time, a risk reminder as shown in Figure 13 is generated on the display interface. The user can choose to ignore the reminder and continue to generate the boundary sphere according to the risk reminder, or take other methods, for example, in the If the currently set safety distance is too large, modify the safety distance, or use the manual generation method to generate the boundary sphere.
在一些实施例中,在进行风险提醒的同时,还可以在界面上生成位于边界球内的其他部位的具体位置,以便于用户进行后续的判断。In some embodiments, while performing the risk reminder, specific positions of other parts within the bounding sphere may also be generated on the interface, so as to facilitate the user to make subsequent judgments.
在一些实施例中,由于目标肺部可能存在多发肺结节,即目标肺部的一侧存在不止一个肺结节时,本申请实施例还针对多发肺结节,设计了目标肺结节的选项。In some embodiments, since there may be multiple pulmonary nodules in the target lung, that is, when there is more than one pulmonary nodule on one side of the target lung, the embodiments of the present application also design the target pulmonary nodule for multiple pulmonary nodules. options.
一种可选的实施方式为,在显示界面上显示边界球生成方式选项,包括:An optional implementation is to display the options of the boundary sphere generation method on the display interface, including:
确定上述目标肺部存在多发肺结节时,在显示界面上显示边界球生成方式选项及目标肺结节列表,以使用户根据边界球生成方式选项选择边界球的生成方式,及根据目标肺结节列表选择对应边界球的生成方式下的目标肺结节。When it is determined that there are multiple pulmonary nodules in the above-mentioned target lungs, the boundary sphere generation method option and the list of target pulmonary nodules are displayed on the display interface, so that the user can select the boundary sphere generation method according to the boundary sphere generation method option, and select the boundary sphere generation method according to the target lung nodules. Select the target lung nodule corresponding to the generation method of the bounding sphere from the section list.
如图14所示,当确定目标肺部存在多发肺结节时,在显示界面显示边界球生成方式的同时,还生成目标肺结节的选项,用户可以通过点击该目标肺结节的选项,获取包含目标肺部中所有肺结节的目标肺结节列表,通过从列表中选取需要进行边界球生成的目标肺结节,并选取对应的边界球生成方式,即可以选中的边界球生成方式生成选中的目标肺结节的边界球。As shown in Figure 14, when it is determined that there are multiple pulmonary nodules in the target lung, the display interface displays the generation method of the boundary sphere, and also generates the option of the target pulmonary nodule. The user can click the option of the target pulmonary nodule, Obtain a list of target lung nodules that includes all lung nodules in the target lung, select the target lung nodules that need to generate boundary spheres from the list, and select the corresponding boundary sphere generation method, that is, the boundary sphere generation method that can be selected Generates bounding spheres for selected target lung nodules.
其中,用户根据上述目标肺结节列表选择的目标肺结节可以为一个或多个,当选择的目标肺结节为多个时,用户还可以针对不同的目标肺结节选择相同或不同的边界球生成方式。Wherein, the target lung nodules selected by the user according to the above target lung nodule list may be one or more, and when the selected target lung nodules are multiple, the user may also select the same or different target lung nodules for different target lung nodules. How the bounding sphere is generated.
一种可选的实施方式为,确定上述目标肺部存在多发肺结节时,确定目标肺结节的位置信息,包括:An optional implementation manner is, when it is determined that there are multiple pulmonary nodules in the above-mentioned target lung, the location information of the target pulmonary nodule is determined, including:
根据上述目标肺部的CT值信息确定存在多发肺结节时,利用连通域标记算法确定出连通区域;When it is determined that there are multiple pulmonary nodules according to the CT value information of the target lung, the connected region is determined by using the connected domain labeling algorithm;
将每个连通区域的点的集合确定为一个目标肺结节,得到每个目标肺结节的位置信息。The set of points in each connected region is determined as a target lung nodule, and the position information of each target lung nodule is obtained.
在一些实施例中,当根据CT值信息确定存在多发肺结节时,首先需要根据连通域标记算法,寻找到所有连通域,将每个连通域作为一个独立的肺结节处理。In some embodiments, when it is determined that there are multiple pulmonary nodules according to the CT value information, all connected domains need to be found first according to the connected domain labeling algorithm, and each connected domain is treated as an independent pulmonary nodule.
具体地,本申请实施例以八邻域标记算法为例,对确定每个独立肺结节的步骤进行详细阐述,以下描述中的点是指根据CT值信息确定的属于肺结节区域的点。Specifically, the embodiment of the present application takes the eight-neighbor labeling algorithm as an example to describe the steps of determining each independent lung nodule in detail. The points in the following description refer to the points belonging to the lung nodule area determined according to the CT value information. .
步骤1,遍历肺结节区域的点,并找到第一个非零像素点,从该点开始,判断此点八邻域中的最左、左上、最上以及上右的是否具有其他的点,如果在最左,左上,最上以及上右都没有点,则确定该点属于一个新的连通区域。
步骤2,如果此点八邻域中的最左、上右都有点,则标记此点为其最左点以及上右点中的最小的点的标记点,并修改大标记为小标记。Step 2, if there are points in the leftmost and upper right points in the eight neighborhoods of this point, mark this point as the mark point of the smallest point among the leftmost point and the upper right point, and change the big mark to the small mark.
步骤3,如果此点八邻域的左上、上右都有点,则标记此点为其左上点和上右点中的最小点的标记点,并修改大标记为小标记。Step 3, if there are points on the upper left and upper right of the eight neighborhoods of this point, mark this point as the mark point of the smallest point among the upper left point and the upper right point, and modify the large mark to a small mark.
步骤4,否则按照最左、左上、最上、上右的顺序,标记此点为其最左点、左上点、最上点以及上右点这四个点中的一个。Step 4, otherwise, mark this point as one of the four points of the leftmost point, the upper left point, the uppermost point and the upper right point in the order of the leftmost, upper left, uppermost and upper right.
将肺结节区域的点标记完成后,即可以将肺结节区域分为几个相互独立的连通域,将每个连通域作为一个独立的结节生成目标肺结节列表进行保存。After the points in the lung nodule area are marked, the lung nodule area can be divided into several independent connected domains, and each connected domain is used as an independent nodule to generate a target lung nodule list and save it.
本申请实施例提供的肺结节边界球生成方法,提供了边界球生成方法,即手工绘制与自动生成,如果结节数比较少或者医生有一些特殊需求需要手工绘制,则可选择手工绘制边界球,绘制后进行3D显示,用户可以查看所绘制边界球是否满足手术需求。如果结节数量较多,并且结节位置复杂,或者与血管距离较近,则可选择自动生成边界球。自动生成边界球,主要是通过计算肺结节的中心点作为边界球的球心,并确定边界球半径,并且考虑附近存在较近距离血管的情况,生成一个覆盖肺结节病灶,并且符合安全距离的边界球,为手术方案提供参考,用此种方法计算生成边界球,可以保证切除整个结节的同时,避免对周边血管的损伤。辅助医生制定手术切除方案,降低医生肉眼和经验判定带来的一些不确定性,从而为患者提供最精确的手术方案。The method for generating a pulmonary nodule boundary sphere provided by the embodiment of the present application provides a method for generating a boundary sphere, namely manual drawing and automatic generation. If the number of nodules is relatively small or the doctor has some special needs to draw manually, the boundary can be manually drawn. 3D display of the ball after drawing, users can check whether the drawn boundary ball meets the needs of surgery. If the number of nodules is large and the nodules are complex in location or close to blood vessels, you can choose to automatically generate bounding spheres. Automatically generate a bounding sphere, mainly by calculating the center point of the pulmonary nodule as the center of the bounding sphere, and determining the radius of the bounding sphere, and considering the existence of relatively close blood vessels nearby, a lesion covering the pulmonary nodule is generated and meets the safety requirements. The boundary sphere of the distance provides a reference for the surgical plan. Using this method to calculate and generate the boundary sphere can ensure that the entire nodule is removed while avoiding damage to the surrounding blood vessels. Assist doctors to formulate surgical resection plans, reduce some uncertainties caused by doctors' visual and empirical judgments, and provide patients with the most accurate surgical plan.
以下结合图15对本申请实施例提供的肺结节边界球自动生成方法的整体流程进行详细阐述。The overall flow of the method for automatically generating a pulmonary nodule boundary sphere provided by the embodiment of the present application will be described in detail below with reference to FIG. 15 .
步骤1、响应于边界球生成指令,加载dicom图像信息,并使用人工智能包生成各个器官的stl数据,在显示界面上生成并显示目标肺部的三维模型。
同时,生成目标肺部的三维模型中肺结节部分对应的掩膜数据,如图16所示,图中浅色区域即是肺结节区域,并加载该掩膜数据到dicom图像上,如图17所示。At the same time, the mask data corresponding to the lung nodule part in the 3D model of the target lung is generated, as shown in Figure 16, the light-colored area in the figure is the lung nodule area, and the mask data is loaded into the dicom image, as shown in Figure 16. shown in Figure 17.
步骤2、确定存在多发肺结节时,根据连通域生成算法识别出多个连通域,将每个连通域内的点集保存为一个目标肺结节,并生成目标肺结节列表。Step 2: When it is determined that there are multiple pulmonary nodules, multiple connected domains are identified according to the connected domain generation algorithm, the point set in each connected domain is saved as a target lung nodule, and a target lung nodule list is generated.
步骤3,在显示界面上显示目标肺结节列表,获取用户选取的目标肺结节的位置信息,根据位置信息计算得到质心。In step 3, a list of target pulmonary nodules is displayed on the display interface, the position information of the target pulmonary nodule selected by the user is obtained, and the centroid is calculated according to the position information.
具体的,本申请的前提为已经提取到肺结节的结果数据,结果数据为二维数组,该二维数组的长度为M*N,其中M为dicom图像的分辨率,如果dicom图像的分辨率为512*512,则M=512*512,N为病例dicom图像的总张数。肺结节范围内的点在二维数组中对应的值为1,肺结节范围外的点在二维数组中对应的值为0。Specifically, the premise of this application is that the result data of pulmonary nodules has been extracted, and the result data is a two-dimensional array, and the length of the two-dimensional array is M*N, where M is the resolution of the dicom image. If the resolution of the dicom image is The rate is 512*512, then M=512*512, and N is the total number of dicom images of the case. Points within the range of lung nodules have a corresponding value of 1 in the two-dimensional array, and points outside the range of lung nodules have a corresponding value of 0 in the two-dimensional array.
实施中,将所有为1的点转化为三维点坐标(X,Y,Z),对每个点(Xi,Yi,Zi)计算其到另外n-1个点之间的距离,获取n*(n-1)个距离,在这些距离中获取最大的距离作为最大径,并获取最大径对应的两个点(Xa,Ya,Za)和(Xb,Yb,Zb);则质心为该最长径的中点,质心的坐标(X,Y,Z)为:In the implementation, convert all 1 points into three-dimensional point coordinates (X, Y, Z), and calculate the distance from each point (X i , Y i, Z i ) to other n-1 points, Obtain n*(n-1) distances, obtain the largest distance among these distances as the maximum diameter, and obtain the two points corresponding to the maximum diameter (X a , Y a , Z a ) and (X b , Y b , Z b ); then the center of mass is the midpoint of the longest diameter, and the coordinates (X, Y, Z) of the center of mass are:
X=(Xb+Xa)/2;Y=(Yb+Ya)/2;Z=(Zb+Za)/2。X=( Xb + Xa )/2; Y = ( Yb +Ya)/2; Z = ( Zb +Za)/2.
步骤4,根据目标肺结节的位置信息以及计算得到的质心,确定生成的边界球的半径。Step 4: Determine the radius of the generated bounding sphere according to the position information of the target lung nodule and the calculated centroid.
具体的,计算目标肺结节上的每个点与该质心的距离,并获取该距离中的最大值rmax。Specifically, the distance between each point on the target lung nodule and the centroid is calculated, and the maximum value r max in the distance is obtained.
获取用户输入的安全距离,在上述获取的距离中的最大值rmax的基础上增加安全距离d作为边界球的最终半径,即最终确定的半径为r=rmax+d。The safety distance input by the user is obtained, and the safety distance d is added as the final radius of the boundary sphere on the basis of the maximum value r max in the obtained distances, that is, the final radius is r=r max +d.
步骤5,确定除上述目标肺结节外其他部位中每个点与质心的距离。Step 5: Determine the distance between each point and the centroid in other parts except the target lung nodule.
步骤6,确定是否存在与质心的距离小于该半径的点,若存在,执行步骤7,若不存在,执行步骤8。Step 6, determine whether there is a point whose distance from the centroid is less than the radius, if so, go to Step 7, if not, go to Step 8.
步骤7,进行风险提示,如提示“存在割断血管的风险”。Step 7, carry out a risk prompt, such as prompting "there is a risk of cutting blood vessels".
步骤8,生成边界球,在显示界面上显示,并存储到数据库。Step 8, generate a boundary sphere, display it on the display interface, and store it in the database.
具体的,首先生成掩膜(二维数据),再生成三维模型,掩膜生成方法如下:假如边界球的半径为R,则以球心为中心,边长为2R进行正方体绘制,将该正方体内的所有点作为采样点,计算该点到球心的距离,大于R说明不在该球范围内(标记为1),小于等于R说明在该球范围内(标记为0),生成的二维数组作为掩膜数据,再生成三维模型,保存为边界球即可。Specifically, a mask (two-dimensional data) is first generated, and then a three-dimensional model is generated. The mask generation method is as follows: if the radius of the boundary sphere is R, the center of the sphere is taken as the center, and the side length is 2R to draw a cube, and the cube is drawn. All points within the sphere are used as sampling points, and the distance from the point to the center of the sphere is calculated. If it is greater than R, it means that it is not within the range of the sphere (marked as 1), and if it is less than or equal to R, it means it is within the range of the sphere (marked as 0). The generated two-dimensional The array is used as mask data to generate a 3D model and save it as a boundary sphere.
生成的边界球如图18所示,其中箭头指出的即为生成的边界球。The generated bounding sphere is shown in Figure 18, where the arrows indicate the generated bounding sphere.
步骤9,确定是否遍历完用户选中的全部目标肺结节,若否,则返回步骤3,如是,则结束。Step 9, determine whether all target lung nodules selected by the user have been traversed, if not, return to step 3, if yes, end.
基于相同的公开构思,本申请实施例还提供一种肺结节边界球生成装置,由于该装置即是本申请实施例中的方法中的装置,并且该装置解决问题的原理与该方法相似,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same disclosed concept, an embodiment of the present application also provides a device for generating a pulmonary nodule boundary sphere. Since the device is the device in the method in the embodiment of the present application, and the principle of the device for solving problems is similar to that of the method, Therefore, the implementation of the device may refer to the implementation of the method, and the repeated parts will not be repeated.
如图19所示,本申请实施例提供一种肺结节边界球生成装置,该装置包括:As shown in FIG. 19 , an embodiment of the present application provides a device for generating a pulmonary nodule boundary sphere, which includes:
获取模块1901,用于响应于边界球生成指令,获取目标肺部的CT值信息;an
三维模型显示模块1902,用于根据上述CT值信息生成目标肺部的三维模型,及确定上述目标肺部的三维模型中目标肺结节的位置信息,并在显示界面上显示上述三维模型及上述目标肺结节的位置信息;The three-dimensional
确定模块1903,用于确定采用边界球自动生成方式时,基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离;The determining
边界球显示模块1904,用于基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球并显示在显示界面上。The boundary
可选的,上述肺结节边界球生成装置还包括边界球手动生成模块,用于:Optionally, the above-mentioned device for generating boundary spheres of pulmonary nodules further includes a manual generation module for boundary spheres, which is used for:
在显示界面上显示边界球生成方式选项;Display the options of how to generate bounding spheres on the display interface;
根据对上述边界球生成方式选项的选择,确定采用边界球手动生成方式时,根据用户操作确定选择的质心位置,及通过输入参数方式/鼠标拖动方式确定边界球半径;According to the selection of the above-mentioned boundary sphere generation method options, when it is determined to adopt the boundary sphere manual generation method, the selected centroid position is determined according to the user operation, and the boundary sphere radius is determined by the input parameter method/mouse drag method;
基于用户选择的质心位置以及确定的边界球半径,生成上述目标肺结节的边界球并显示在显示界面上。Based on the centroid position selected by the user and the determined radius of the bounding sphere, the bounding sphere of the target lung nodule is generated and displayed on the display interface.
可选的,上述确定模块1903用于基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离,包括:Optionally, the above-mentioned determining
根据上述目标肺结节的每个点的位置信息,确定出距离最大的两个点,将上述距离最大的两个点的中点确定为上述目标肺结节的质心;According to the position information of each point of the target lung nodule, determine the two points with the largest distance, and determine the midpoint of the two points with the largest distance as the centroid of the target lung nodule;
获取上述目标肺结节的每个点与上述质心的距离,将获取的最大距离确定为上述目标肺结节表面点与上述质心的最大距离。The distance between each point of the target lung nodule and the centroid is obtained, and the obtained maximum distance is determined as the maximum distance between the surface point of the target lung nodule and the centroid.
可选的,上述边界球显示模块1904用于生成上述目标肺结节的边界球之前,还包括:Optionally, before the above-mentioned boundary
在显示界面上显示安全距离的选项,采集用户输入的安全距离;Display the option of safety distance on the display interface, and collect the safety distance input by the user;
基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球,包括:Based on the centroid and the maximum distance between the surface point of the target lung nodule and the centroid, the bounding sphere of the target lung nodule is generated, including:
以上述质心为球心,上述目标肺结节表面点与上述质心的最大距离与采集到的安全距离之和为半径,生成上述目标肺结节的边界球。Taking the centroid as the center of the sphere, and the sum of the maximum distance between the surface point of the target lung nodule and the centroid and the collected safety distance as the radius, a bounding sphere of the target lung nodule is generated.
可选的,上述肺结节边界球生成装置还包括风险提醒模块,用于:Optionally, the above-mentioned pulmonary nodule boundary sphere generating device further includes a risk reminder module for:
根据除上述目标肺结节外其他部位中每个点的位置信息,确定每个点与上述质心的距离,与上述边界球半径进行比对;According to the position information of each point in other parts except the above-mentioned target lung nodule, determine the distance between each point and the above-mentioned centroid, and compare it with the above-mentioned boundary sphere radius;
确定存在小于上述边界球半径的距离时,在上述显示界面上显示风险提醒,并显示安全距离更改选项或边界球生成方式切换选项。When it is determined that there is a distance smaller than the radius of the above-mentioned boundary sphere, a risk reminder is displayed on the above-mentioned display interface, and the option of changing the safe distance or switching the method of generating the boundary sphere is displayed.
可选的,上述边界球手动生成模块用于在显示界面上显示边界球生成方式选项,包括:Optionally, the above-mentioned boundary sphere manual generation module is used to display the boundary sphere generation method options on the display interface, including:
确定上述目标肺部存在多发肺结节时,在显示界面上显示边界球生成方式选项及目标肺结节列表,以使用户根据边界球生成方式选项选择边界球的生成方式,及根据目标肺结节列表选择对应边界球的生成方式下的目标肺结节。When it is determined that there are multiple pulmonary nodules in the above-mentioned target lungs, the boundary sphere generation method option and the list of target pulmonary nodules are displayed on the display interface, so that the user can select the boundary sphere generation method according to the boundary sphere generation method option, and select the boundary sphere generation method according to the target lung nodules. Select the target lung nodule corresponding to the generation method of the bounding sphere from the section list.
可选的,上述三维模型显示模块1902用于确定上述目标肺部存在多发肺结节时,确定目标肺结节的位置信息,包括:Optionally, the above-mentioned three-dimensional
根据上述目标肺部的CT值信息确定存在多发肺结节时,利用连通域标记算法确定出连通区域;When it is determined that there are multiple pulmonary nodules according to the CT value information of the target lung, the connected region is determined by using the connected domain labeling algorithm;
将每个连通区域的点的集合确定为一个目标肺结节,得到每个目标肺结节的位置信息。The set of points in each connected region is determined as a target lung nodule, and the position information of each target lung nodule is obtained.
基于相同的公开构思,本申请实施例中还提供了一种肺结节边界球生成设备,由于该设备即是本申请实施例中的方法中的设备,并且该设备解决问题的原理与该方法相似,因此该设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same disclosed concept, the embodiment of the present application also provides a device for generating a pulmonary nodule boundary sphere, because the device is the device in the method in the embodiment of the present application, and the principle of the device to solve the problem is the same as that of the method. Similar, therefore, the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。As will be appreciated by one skilled in the art, various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application can be embodied in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system".
在一些可能的实施方式中,根据本申请的设备可以至少包括至少一个处理器、以及至少一个存储器。其中,存储器存储有程序代码,当程序代码被处理器执行时,使得处理器执行本说明书上述描述的根据本申请各种示例性实施方式的肺结节边界球生成方法中的步骤。In some possible implementations, a device according to the present application may include at least one processor and at least one memory. The memory stores program codes, which, when executed by the processor, cause the processor to execute the steps in the method for generating a pulmonary nodule boundary sphere according to various exemplary embodiments of the present application described above in this specification.
下面参照图20来描述根据本申请的这种肺结节边界球生成设备200。图20显示的设备200仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Such a lung nodule boundary
如图20所示,设备200以通用设备的形式表现。设备200的组件可以包括但不限于:上述至少一个处理器201、上述至少一个存储器202、连接不同系统组件(包括存储器202和处理器201)的总线203,其中,存储器存储有程序代码,当程序代码被处理器执行时,使得处理器执行以下步骤:As shown in FIG. 20,
响应于边界球生成指令,获取目标肺部的CT值信息;In response to the boundary sphere generation instruction, obtain CT value information of the target lung;
根据上述CT值信息生成目标肺部的三维模型,及确定上述目标肺部的三维模型中目标肺结节的位置信息,并在显示界面上显示上述三维模型及上述目标肺结节的位置信息;Generate a three-dimensional model of the target lung according to the above-mentioned CT value information, and determine the position information of the target lung nodule in the three-dimensional model of the above-mentioned target lung, and display the above-mentioned three-dimensional model and the above-mentioned position information of the target lung nodule on the display interface;
确定采用边界球自动生成方式时,基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离;When it is determined that the automatic generation method of the boundary sphere is adopted, the centroid of the above-mentioned target lung nodule is determined based on the position information of the above-mentioned target lung nodule, and the maximum distance between the surface point of the above-mentioned target lung nodule and the above-mentioned centroid is determined;
基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球并显示在显示界面上。Based on the centroid and the maximum distance between the surface point of the target lung nodule and the centroid, a bounding sphere of the target lung nodule is generated and displayed on the display interface.
总线203表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器、外围总线、处理器或者使用多种总线结构中的任意总线结构的局域总线。Bus 203 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus structures.
存储器202可以包括易失性存储器形式的可读介质,例如随机存取存储器(RAM)2021和/或高速缓存存储器2022,还可以进一步包括只读存储器(ROM)2023。
存储器202还可以包括具有一组(至少一个)程序模块2024的程序/实用工具2025,这样的程序模块2024包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
设备200也可以与一个或多个外部设备204(例如键盘、指向设备等)通信,还可与一个或者多个使得用户能与设备200交互的设备通信,和/或与使得该设备200能与一个或多个其它设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口205进行。并且,设备200还可以通过网络适配器206与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器206通过总线203与用于设备200的其它模块通信。应当理解,尽管图中未示出,可以结合设备200使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The
可选的,上述处理器还用于:Optionally, the above processor is also used for:
在显示界面上显示边界球生成方式选项;Display the options of how to generate bounding spheres on the display interface;
根据对上述边界球生成方式选项的选择,确定采用边界球手动生成方式时,根据用户操作确定选择的质心位置,及通过输入参数方式/鼠标拖动方式确定边界球半径;According to the selection of the above-mentioned boundary sphere generation method options, when it is determined to adopt the boundary sphere manual generation method, the selected centroid position is determined according to the user operation, and the boundary sphere radius is determined by the input parameter method/mouse drag method;
基于用户选择的质心位置以及确定的边界球半径,生成上述目标肺结节的边界球并显示在显示界面上。Based on the centroid position selected by the user and the determined radius of the bounding sphere, the bounding sphere of the target lung nodule is generated and displayed on the display interface.
可选的,上述处理器用于基于上述目标肺结节的位置信息,确定上述目标肺结节的质心,并确定上述目标肺结节表面点与上述质心的最大距离,包括:Optionally, the above-mentioned processor is configured to determine the centroid of the above-mentioned target pulmonary nodule based on the position information of the above-mentioned target pulmonary nodule, and determine the maximum distance between the surface point of the above-mentioned target pulmonary nodule and the above-mentioned centroid, including:
根据上述目标肺结节的每个点的位置信息,确定出距离最大的两个点,将上述距离最大的两个点的中点确定为上述目标肺结节的质心;According to the position information of each point of the target lung nodule, determine the two points with the largest distance, and determine the midpoint of the two points with the largest distance as the centroid of the target lung nodule;
获取上述目标肺结节的每个点与上述质心的距离,将获取的最大距离确定为上述目标肺结节表面点与上述质心的最大距离。The distance between each point of the target lung nodule and the centroid is obtained, and the obtained maximum distance is determined as the maximum distance between the surface point of the target lung nodule and the centroid.
可选的,上述处理器用于生成上述目标肺结节的边界球之前,还用于:Optionally, before the above-mentioned processor is used to generate the boundary sphere of the above-mentioned target pulmonary nodule, it is further used to:
在显示界面上显示安全距离的选项,采集用户输入的安全距离;Display the option of safety distance on the display interface, and collect the safety distance input by the user;
基于上述质心以及目标肺结节表面点与上述质心的最大距离,生成上述目标肺结节的边界球,包括:Based on the centroid and the maximum distance between the surface point of the target lung nodule and the centroid, the bounding sphere of the target lung nodule is generated, including:
以上述质心为球心,上述目标肺结节表面点与上述质心的最大距离与采集到的安全距离之和为半径,生成上述目标肺结节的边界球。Taking the centroid as the center of the sphere, and the sum of the maximum distance between the surface point of the target lung nodule and the centroid and the collected safety distance as the radius, a bounding sphere of the target lung nodule is generated.
可选的,上述处理器还用于:Optionally, the above processor is also used for:
根据除上述目标肺结节外其他部位中每个点的位置信息,确定每个点与上述质心的距离,与上述边界球半径进行比对;According to the position information of each point in other parts except the above-mentioned target lung nodule, determine the distance between each point and the above-mentioned centroid, and compare it with the above-mentioned boundary sphere radius;
确定存在小于上述边界球半径的距离时,在上述显示界面上显示风险提醒,并显示安全距离更改选项或边界球生成方式切换选项。When it is determined that there is a distance smaller than the radius of the above-mentioned boundary sphere, a risk reminder is displayed on the above-mentioned display interface, and the option of changing the safe distance or switching the method of generating the boundary sphere is displayed.
可选的,上述处理器用于在显示界面上显示边界球生成方式选项,包括:Optionally, the above-mentioned processor is used to display the options for generating the boundary sphere on the display interface, including:
确定上述目标肺部存在多发肺结节时,在显示界面上显示边界球生成方式选项及目标肺结节列表,以使用户根据边界球生成方式选项选择边界球的生成方式,及根据目标肺结节列表选择对应边界球的生成方式下的目标肺结节。When it is determined that there are multiple pulmonary nodules in the above-mentioned target lungs, the boundary sphere generation method option and the list of target pulmonary nodules are displayed on the display interface, so that the user can select the boundary sphere generation method according to the boundary sphere generation method option, and select the boundary sphere generation method according to the target lung nodules. Select the target lung nodule corresponding to the generation method of the bounding sphere from the section list.
可选的,上述处理器用于确定上述目标肺部存在多发肺结节时,确定目标肺结节的位置信息,包括:Optionally, the above-mentioned processor is configured to determine the location information of the target pulmonary nodule when it is determined that there are multiple pulmonary nodules in the above-mentioned target lung, including:
根据上述目标肺部的CT值信息确定存在多发肺结节时,利用连通域标记算法确定出连通区域;When it is determined that there are multiple pulmonary nodules according to the CT value information of the target lung, the connected region is determined by using the connected domain labeling algorithm;
将每个连通区域的点的集合确定为一个目标肺结节,得到每个目标肺结节的位置信息。The set of points in each connected region is determined as a target lung nodule, and the position information of each target lung nodule is obtained.
在一些可能的实施方式中,本申请提供的一种肺结节边界球生成方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在计算机设备上运行时,程序代码用于使计算机设备执行本说明书上述描述的根据本申请各种示例性实施方式的一种肺结节边界球生成方法中的步骤。In some possible implementations, various aspects of the method for generating a pulmonary nodule boundary sphere provided by the present application can also be implemented in the form of a program product, which includes program code, and when the program product runs on a computer device, The program code is used to cause the computer device to execute the steps in a method for generating a pulmonary nodule boundary sphere according to various exemplary embodiments of the present application described above in this specification.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
本申请的实施方式的用于监控的程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在设备上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The program product for monitoring of embodiments of the present application may employ a portable compact disk read only memory (CD-ROM) and include program code, and may be executed on a device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户设备上部分在远程设备上执行、或者完全在远程设备或服务端上执行。在涉及远程设备的情形中,远程设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户设备,或者,可以连接到外部设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device, or entirely on the remote device or server. In the case of a remote device, the remote device may be connected to the user device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external device (eg, using an Internet service provider via Internet connection).
应当注意,尽管在上文详细描述中提及了装置的若干单元或子单元,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元的特征和功能可以在一个单元中具体化。反之,上文描述的一个单元的特征和功能可以进一步划分为由多个单元来具体化。It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, this division is merely exemplary and not mandatory. Indeed, according to embodiments of the present application, the features and functions of two or more units described above may be embodied in one unit. Conversely, the features and functions of one unit described above may be further subdivided to be embodied by multiple units.
此外,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。Furthermore, although the operations of the methods of the present application are depicted in the figures in a particular order, this does not require or imply that the operations must be performed in the particular order, or that all illustrated operations must be performed to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined to be performed as one step, and/or one step may be decomposed into multiple steps to be performed.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和方框图来描述的。应理解可由计算机程序指令实现流程图和方框图中的每一流程和/或方框、以及流程图和方框图中的流程和方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the flowchart and block diagrams, and combinations of processes and blocks in the flowchart and block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in one or more of the flowcharts and one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions specified in one or more of the flowcharts and one or more blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and the block or blocks of the block diagrams.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiments of the present application have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of this application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210706664.4A CN115131304A (en) | 2022-06-21 | 2022-06-21 | Pulmonary nodule boundary sphere generation method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210706664.4A CN115131304A (en) | 2022-06-21 | 2022-06-21 | Pulmonary nodule boundary sphere generation method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115131304A true CN115131304A (en) | 2022-09-30 |
Family
ID=83380539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210706664.4A Pending CN115131304A (en) | 2022-06-21 | 2022-06-21 | Pulmonary nodule boundary sphere generation method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115131304A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763644A (en) * | 2010-03-10 | 2010-06-30 | 华中科技大学 | Pulmonary nodule three-dimensional segmentation and feature extraction method and system thereof |
CN109146854A (en) * | 2018-08-01 | 2019-01-04 | 东北大学 | A kind of analysis method of Lung neoplasm and pulmonary vascular association relationship |
CN109255782A (en) * | 2018-09-03 | 2019-01-22 | 图兮深维医疗科技(苏州)有限公司 | A kind of processing method, device, equipment and the storage medium of Lung neoplasm image |
CN111657985A (en) * | 2020-06-30 | 2020-09-15 | 杭州依图医疗技术有限公司 | Lung image information processing method, lung image information display method and readable storage medium |
CN113724177A (en) * | 2021-09-07 | 2021-11-30 | 北京大学深圳医院 | Pulmonary nodule information fusion method, device, equipment and storage medium thereof |
-
2022
- 2022-06-21 CN CN202210706664.4A patent/CN115131304A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763644A (en) * | 2010-03-10 | 2010-06-30 | 华中科技大学 | Pulmonary nodule three-dimensional segmentation and feature extraction method and system thereof |
CN109146854A (en) * | 2018-08-01 | 2019-01-04 | 东北大学 | A kind of analysis method of Lung neoplasm and pulmonary vascular association relationship |
CN109255782A (en) * | 2018-09-03 | 2019-01-22 | 图兮深维医疗科技(苏州)有限公司 | A kind of processing method, device, equipment and the storage medium of Lung neoplasm image |
CN111657985A (en) * | 2020-06-30 | 2020-09-15 | 杭州依图医疗技术有限公司 | Lung image information processing method, lung image information display method and readable storage medium |
CN113724177A (en) * | 2021-09-07 | 2021-11-30 | 北京大学深圳医院 | Pulmonary nodule information fusion method, device, equipment and storage medium thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240206760A1 (en) | System and method for lung visualization using ultrasound | |
US20240006053A1 (en) | Systems and methods for planning medical procedures | |
CN109035234B (en) | Nodule detection method, device and storage medium | |
JP4345959B2 (en) | Method, system and computer product for cardiac interventional treatment planning | |
CN107067398B (en) | Completion method and device for missing blood vessels in three-dimensional medical model | |
US20120093388A1 (en) | Medical image processing apparatus, method, and program | |
CN106572827A (en) | Intelligent display | |
US20220277477A1 (en) | Image-based guidance for navigating tubular networks | |
JP2012085833A (en) | Image processing system for three-dimensional medical image data, image processing method for the same, and program | |
JP6734111B2 (en) | Finding information creation device and system | |
WO2014155916A1 (en) | Surgical assistance device, method and program | |
CN115131304A (en) | Pulmonary nodule boundary sphere generation method, device and equipment | |
CN116778138A (en) | Pulmonary nodule positioning system | |
WO2014155917A1 (en) | Surgical assistance device, method and program | |
JP5159195B2 (en) | Medical image processing device | |
CN109242964A (en) | The treating method and apparatus of 3 D medical model | |
CN102819657A (en) | Image-guided device for ablation therapies | |
CN202815841U (en) | Ablation treatment image guiding device with image segmentation apparatus | |
CN202694343U (en) | Image guiding equipment used for melting cure | |
CN102609621A (en) | Ablation image guiding equipment with image registration device | |
CN120280090A (en) | Operation planning system, method, electronic device and storage medium | |
CN119251331A (en) | Image generation method, image processing method, system, device and medium | |
CN116993713A (en) | Evagination type kidney tumor excision difficulty evaluation method and device | |
CN117237536A (en) | A three-dimensional reconstruction method of blood vessels based on image segmentation and centerline extraction |
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 |