[go: up one dir, main page]

CN106373168A - Medical image based segmentation and 3D reconstruction method and 3D printing system - Google Patents

Medical image based segmentation and 3D reconstruction method and 3D printing system Download PDF

Info

Publication number
CN106373168A
CN106373168A CN201611045004.7A CN201611045004A CN106373168A CN 106373168 A CN106373168 A CN 106373168A CN 201611045004 A CN201611045004 A CN 201611045004A CN 106373168 A CN106373168 A CN 106373168A
Authority
CN
China
Prior art keywords
segmentation
image
model
reconstruction
dimensional reconstruction
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
Application number
CN201611045004.7A
Other languages
Chinese (zh)
Inventor
吴怀宇
吴挺
陈春阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Three High Technology Co Ltd
Original Assignee
Beijing Three High Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Three High Technology Co Ltd filed Critical Beijing Three High Technology Co Ltd
Priority to CN201611045004.7A priority Critical patent/CN106373168A/en
Publication of CN106373168A publication Critical patent/CN106373168A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T12/30
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10081Computed x-ray tomography [CT]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30008Bone
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2211/00Image generation
    • G06T2211/40Computed tomography
    • G06T2211/416Exact reconstruction

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The invention discloses a medical image based segmentation and 3D reconstruction method and a 3D printing system. The method comprises segmenting a medical image and carrying out 3D reconstruction. The 3D printing system carries out 3D printing on a reconstruction model by utilizing a fused decomposition modeling (FDM) method. In the image segmentation part, a unique segmentation algorithm based on medical image (DICOM) preprocessing is provided, and a segmentation task is completed effectively. In the reconstruction part, an MC (Marching Cubes) algorithm is optimized, and the model in the invention is improved greatly. In an interactive interface, a visualization tool enables interaction between a user and the model to certain extent. Finally, a 3D printer prints the obtained model and obtains a simulated entity of bones, and doctors can touch and make interaction with the simulated entity.

Description

一种基于医疗图像的分割与三维重建方法、3D打印系统A medical image-based segmentation and three-dimensional reconstruction method, 3D printing system

技术领域technical field

本发明涉及医学影像处理及其三维重建技术以及3D打印领域,特别涉及一种基于医疗图像的分割与三维重建方法、3D打印系统。The invention relates to the field of medical image processing and its three-dimensional reconstruction technology and 3D printing, in particular to a medical image-based segmentation and three-dimensional reconstruction method and a 3D printing system.

背景技术Background technique

目前,世界上有很多国家的研究机构正致力于这个领域的研发工作,并且已经研究出一些面向临床的、功能简单的医学影像三维可视化系统。其主要特点如下:一是主要运行在大型机和工作站上(如SGI,SUN等图形工作站),或是作为某些专用设备(如CT,MRI等)的配套软件,价格昂贵,不适合我国国情,而且大多数只生成二维图像,极少使用三维软件;而是基本都是国外商用软件,针对病灶,、人体组织的三维体绘制技术,国内还没有完全掌握。同时也应注意到尽管这些系统仅能提供有限的临床功能,但在临床研究中已经发挥了重要作用。正是由于医学影像处理及其三维重建技术对临床医学发挥着巨大的促进作用,因此受到世界许多国家的重视,使得医学图像处理及其可视化技术成为生物医学工程研究的热点之一,也称为科学计算可视化最引人注意和发展最快的领域之一。尽管国内外的研究者在这个领域已经取得了丰硕的成果,但由于它的研究对象如此复杂神秘,研究所涉及的领域和学科如此的宽广,因此,还有许多地方值得进一步的探索和研究。除此之外,传统的3D模型只能投影于电脑屏幕上,这样就限制了人体三维视觉的直观感受,还会造成某些信息的缺失。而最近出现的一种新型技术:3D打印,则可以克服这些限制,产生可触摸的三维模型,从而更加准确的模拟出病人的身体状况以及病变程度。不仅有利于医生更加精准的诊断,同时可以在临床手术前进行仿真操作,从而尽可能多地减少真实手术中的操作失误。未来,基于图像处理,3D重建的3D打印将成为医学领域一个全新并且重要的热门方向。At present, research institutions in many countries in the world are devoting themselves to research and development in this field, and have developed some clinical-oriented, simple-function 3D visualization systems for medical images. Its main features are as follows: First, it mainly runs on mainframes and workstations (such as SGI, SUN and other graphics workstations), or as supporting software for some special equipment (such as CT, MRI, etc.), which is expensive and not suitable for my country's national conditions , and most of them only generate two-dimensional images, and rarely use three-dimensional software; instead, they are basically foreign commercial software, and the three-dimensional volume rendering technology for lesions and human tissues has not been fully mastered in China. It should also be noted that although these systems provide only limited clinical functionality, they have already played an important role in clinical research. It is precisely because medical image processing and its three-dimensional reconstruction technology play a huge role in promoting clinical medicine, so it has been valued by many countries in the world, making medical image processing and its visualization technology one of the hot spots in biomedical engineering research, also known as Visualization in scientific computing is one of the most interesting and fastest growing fields. Although researchers at home and abroad have achieved fruitful results in this field, there are still many places worthy of further exploration and research because of its complex and mysterious research objects and the broad fields and subjects involved in the research. In addition, the traditional 3D model can only be projected on the computer screen, which limits the intuitive experience of the human body's 3D vision and causes some information loss. A new technology that has emerged recently: 3D printing, can overcome these limitations and produce a touchable three-dimensional model, thereby more accurately simulating the patient's physical condition and lesion degree. Not only is it beneficial for doctors to diagnose more accurately, but it can also perform simulation operations before clinical operations, so as to reduce as many operational errors as possible in real operations. In the future, 3D printing based on image processing and 3D reconstruction will become a new and important hot direction in the medical field.

图像分割是计算机视觉(Computer Vision)领域中重要的的组成部分,其目标是将图像中的物体与背景分割开,从而更好地为之后的检测识别打好基础。在过去的几十年中,本领域学者提出了许许多多的分割算法:其中Kass提出的snake算法通过动态轮廓线来不断逼近分割目标;Sethian和Osher提出的level set算法将低维闭合曲线演化的问题转化为高维空间中水平集函数全面演化的隐含方程来求解,许多人在基本的level set方法中融合其他信息,如中科院自动化所的汪老师添加了聚类信息,从而在MRI图像的分割中达到了较好的效果;Boykov在2000年和2001年分别在MICCAI和ICCV中提出的Graph Cuts也是分割算法中十分经典的一种,其将图像中的像素视为图的节点,像素间的关系代表图中边的权重,通过最小割求解来得到物体的边界。之后Boykov及其学生有在此基础上进一步研究了能量优化算法,彩色图像分割算法(Grab Cuts)等等。Image segmentation is an important part of the field of computer vision (Computer Vision), and its goal is to separate the objects in the image from the background, so as to better lay the foundation for subsequent detection and recognition. In the past few decades, scholars in this field have proposed many segmentation algorithms: among them, the snake algorithm proposed by Kass continuously approaches the segmentation target through dynamic contour lines; the level set algorithm proposed by Sethian and Osher evolves the low-dimensional closed curve The problem is transformed into the implicit equation of the overall evolution of the level set function in the high-dimensional space to solve. Many people integrate other information in the basic level set method. For example, Mr. Wang from the Institute of Automation, Chinese Academy of The segmentation achieved better results; Graph Cuts proposed by Boykov in MICCAI and ICCV in 2000 and 2001 respectively is also a very classic segmentation algorithm, which regards the pixels in the image as the nodes of the graph, and the pixels The relationship between represents the weight of the edge in the graph, and the boundary of the object is obtained by the minimum cut solution. After that, Boykov and his students further studied the energy optimization algorithm, color image segmentation algorithm (Grab Cuts) and so on on this basis.

而三维重建则是计算机图形学(Computer Graphics)的重要研究方向,其方法常被用作三维设计,CAD建模,并通常与计算机视觉中的一些内容联系紧密。重建算法主要分为面重建与体重建,由于本文仅专注于面重建,因此体重建的算法就不再详细介绍了。面重建是通过算法得到三维立体模型的表面结构,其中最常用的是MC(Marching Cube)算法。这是一种高效的面重建算法,通过体数据的分类得到三角面片,最终将相邻三角面片连接从而得到重建结果。在经典的MC算法之上,Ju Tao提出了交互式的拓扑结构修改来纠正模型的一些错误;Jiantao Pu通过puzzle game将MC得到的结果进一步匹配,从而成功得到了肺部气管的重建结构。除此之外,还有Kazhdan提出的泊松重建,可以将有向点集通过苏托克斯公式重建为水密结构的三维模型。And 3D reconstruction is an important research direction of Computer Graphics. Its method is often used in 3D design, CAD modeling, and is usually closely related to some content in computer vision. Reconstruction algorithms are mainly divided into surface reconstruction and volume reconstruction. Since this article only focuses on surface reconstruction, the volume reconstruction algorithm will not be introduced in detail. Surface reconstruction is to obtain the surface structure of the three-dimensional model through algorithms, the most commonly used of which is the MC (Marching Cube) algorithm. This is an efficient surface reconstruction algorithm. The triangular patches are obtained through the classification of volume data, and finally the adjacent triangular patches are connected to obtain the reconstruction result. On top of the classic MC algorithm, Ju Tao proposed an interactive topology modification to correct some errors in the model; Jiantao Pu further matched the results obtained by MC through the puzzle game, and successfully obtained the reconstructed structure of the lung trachea. In addition, there is also the Poisson reconstruction proposed by Kazhdan, which can reconstruct the directed point set into a three-dimensional model of watertight structure through Sutokes formula.

发明内容Contents of the invention

本发明要解决的技术问题是,如何对医疗图像进行优化式的图像分割和三维重建,同时如何将模型进行3D打印后提高医学领域中广泛应用的程度。The technical problem to be solved by the present invention is how to perform optimized image segmentation and three-dimensional reconstruction of medical images, and at the same time, how to 3D print the model to improve the degree of wide application in the medical field.

解决上述技术问题,本发明提供了一种基于医疗图像的分割与三维重建方法,包括如下步骤:对原始医疗图像中冗余信息进行处理,剔除像素值的上、下阈值范围内的信息;通过增大图像的对比度,抽取上述图像中的骨骼与背景的交界信息,得到梯度图;高斯平滑化操作所述梯度图后采用canny算法检测图像的边缘后确定轮廓并添加轮廓限制;根据上述图像分割后得到的图像通过MC算法进行三维重建。To solve the above technical problems, the present invention provides a medical image-based segmentation and three-dimensional reconstruction method, comprising the following steps: processing redundant information in the original medical image, removing information within the upper and lower threshold ranges of pixel values; Increase the contrast of the image, extract the boundary information between the bones and the background in the above image, and obtain a gradient map; use the canny algorithm to detect the edge of the image after Gaussian smoothing operation on the gradient map, determine the contour and add contour restrictions; segment the above image The obtained images are reconstructed in 3D by MC algorithm.

更进一步,方法还包括如下可视化及图形界面的操作步骤:Further, the method also includes the following operation steps of visualization and graphical interface:

采用VTK实现上述三维重新后三维模型的可视化,通过Qt作为GUI;VTK is used to realize the visualization of the 3D model after the above 3D reconstruction, and Qt is used as GUI;

以及,通过第一图形界面显示二维图像以及处理与用户的交互;And, displaying a two-dimensional image and processing interaction with a user through the first graphical interface;

通过第二图形界面显示生成的三维模型以及处理与用户的交互。The generated three-dimensional model is displayed and the interaction with the user is processed through the second graphical interface.

更进一步,通过所述MC算法进行三维重建时,包括如下优化步骤:Furthermore, when performing three-dimensional reconstruction by the MC algorithm, the following optimization steps are included:

采用三角带连接分散的三角面片,减少内存占用;Use triangular strips to connect scattered triangular patches to reduce memory usage;

根据单个的三角面片需要存储三个顶点的坐标,则N个三角形需要存储3N个点,According to the coordinates of three vertices that need to be stored in a single triangular patch, N triangles need to store 3N points,

若将这些三角面片连成三角带,则需要N+2个点。If these triangular faces are connected into a triangular strip, N+2 points are needed.

更进一步,通过所述MC算法进行三维重建时,包括如下优化步骤:Furthermore, when performing three-dimensional reconstruction by the MC algorithm, the following optimization steps are included:

采用削减三角面片的数量,减少时间与空间复杂度;Reduce the time and space complexity by reducing the number of triangle faces;

首先,确定每个三角面片属于哪种类型,然后根据每种类型的三角面片的属性,决定删除哪一个三角面片;First, determine which type each triangle belongs to, and then decide which triangle to delete according to the attributes of each type of triangle;

其次,再定位生成的洞,补全这些孔洞,直到达到用户设定的削减比例。Second, relocate the resulting holes and fill them in until the user-set reduction ratio is reached.

更进一步,通过所述MC算法进行三维重建时,包括如下优化步骤:Furthermore, when performing three-dimensional reconstruction by the MC algorithm, the following optimization steps are included:

采用连接性检测过滤离散的噪声区域,去除杂质;Use connectivity detection to filter discrete noise regions and remove impurities;

首先,将所有三角面片排成序列,然后以第一个三角面片作为树根;First, arrange all the triangular faces in sequence, and then use the first triangular face as the root of the tree;

其次,逐步找到所有连在一起的三角面片作为一个整体;Second, gradually find all connected triangles as a whole;

最终,将整个模型分为几个不相交的区域,并计算每个区域三角面片的数量,选取最大的两个区域。Finally, the entire model is divided into several disjoint regions, and the number of triangles in each region is calculated, and the two largest regions are selected.

更进一步,通过所述MC算法进行三维重建时,包括如下优化步骤:Furthermore, when performing three-dimensional reconstruction by the MC algorithm, the following optimization steps are included:

检测出孔洞,并通过补洞对模型精细化处理;Detect holes and refine the model by filling holes;

首先,遍历所有的边,如果一条边没有同时被两个及以上的三角面片利用到,则存储该条条边后,得到该种单边的集合,从所述集合中找出能首尾相连的子集即为空洞的轮廓;First, traverse all the edges. If an edge is not used by two or more triangular patches at the same time, after storing the edges, get the set of such single edges, and find out from the set that can be connected end to end The subset of is the hollow contour;

然后,将该区域三角化,形成新的三角面片后补齐孔洞;Then, triangulate the area to form a new triangular patch and fill the holes;

最后,通过计算所有三角面片与相邻面片的夹角,找出其中的异常面片,构成异常面片集合,然后再搜索其中的闭合区域,即可自动定位这些凹陷区域,之后再通过在此区域增加三角面片的方法,最终完成模型的修补。Finally, by calculating the angles between all triangular patches and adjacent patches, finding the abnormal patches among them, forming a set of abnormal patches, and then searching for the closed areas, these depressed areas can be automatically located, and then through The method of adding triangular faces in this area finally completes the repair of the model.

基于上述方法,本发明还提供了一种基于医疗图像的分割与三维重建的系统,包括:Based on the above method, the present invention also provides a system for segmentation and three-dimensional reconstruction based on medical images, including:

图像分割模块和三维重建模块,Image segmentation module and 3D reconstruction module,

所述图像分割模块,用以对原始医疗图像中冗余信息进行处理,剔除像素值的上、下阈值范围内的信息;通过增大图像的对比度,抽取上述图像中的骨骼与背景的交界信息,得到梯度图;高斯平滑化操作所述梯度图后采用canny算法检测图像的边缘后确定轮廓并添加轮廓限制;The image segmentation module is used to process redundant information in the original medical image, and remove information within the upper and lower threshold ranges of pixel values; by increasing the contrast of the image, extract the boundary information between the bone and the background in the above image , to obtain a gradient map; after the Gaussian smoothing operation of the gradient map, the canny algorithm is used to detect the edge of the image, and then the contour is determined and the contour limit is added;

所述三维重建模块,用以接收上述图像分割模块的处理结果,并通过第二图形界面显示生成的三维模型以及处理与用户的交互。The 3D reconstruction module is used to receive the processing result of the above-mentioned image segmentation module, display the generated 3D model through the second graphical interface and process the interaction with the user.

更进一步,方法还包括3D打印模块,用以接收所述三维重建模块的处理结果,并通过逐层打印的方式来构造所述三维重建模块中的重建模型。Furthermore, the method further includes a 3D printing module, configured to receive the processing result of the 3D reconstruction module, and construct the reconstruction model in the 3D reconstruction module by layer-by-layer printing.

基于上述,本发明提供了一种可视化及带有图形界面的系统,包括所述的分割与三维重建系统,还包括,显示器,Based on the above, the present invention provides a visualization and a system with a graphical interface, including the segmentation and three-dimensional reconstruction system, and also includes a display,

所述显示器被配置为:The display is configured as:

采用VTK实现上述三维重新后三维模型的可视化,通过Qt作为GUI;VTK is used to realize the visualization of the 3D model after the above 3D reconstruction, and Qt is used as GUI;

以及,通过第一图形界面显示二维图像以及处理与用户的交互;And, displaying a two-dimensional image and processing interaction with a user through the first graphical interface;

通过第二图形界面显示生成的三维模型以及处理与用户的交互。The generated three-dimensional model is displayed and the interaction with the user is processed through the second graphical interface.

基于上述,本发明还提供了一种3D打印系统,采用所述的分割与三维重建方法得到重建模型,其特征在于,通过FDM熔融沉积制造法对所述重建模型进行3D打印,其中,所述FDM法中采用:ABS丙烯腈-丁二烯-苯乙烯共聚物和/或PLA生物降解塑料聚乳酸中的一种材料Based on the above, the present invention also provides a 3D printing system, which adopts the segmentation and three-dimensional reconstruction method to obtain the reconstruction model, which is characterized in that the reconstruction model is 3D printed by FDM fused deposition manufacturing method, wherein the Used in the FDM method: one of ABS acrylonitrile-butadiene-styrene copolymer and/or PLA biodegradable plastic polylactic acid

本发明的有益效果:Beneficial effects of the present invention:

本发明在图像分割部分,提出了自己独特的基于医学文件(DICOM)预处理的分割算法,有效完成了分割任务。对于重建部分,对移动立方体(Marching Cubes,MC)算法进行了优化,从而最终使本发明中的模型得到极大的完善。对于交互式界面,可视化工具使用户与模型可以进行一定程度的交互。最后,通过3D打印机将得到的模型进行打印,最终得到了骨骼的仿真实体,从而可以让医生进行触摸交互。In the image segmentation part, the present invention proposes its own unique segmentation algorithm based on medical file (DICOM) preprocessing, and effectively completes the segmentation task. For the reconstruction part, the moving cube (Marching Cubes, MC) algorithm is optimized, so that the model in the present invention is finally greatly improved. For interactive interfaces, visualization tools enable a certain level of interaction between the user and the model. Finally, the obtained model is printed by a 3D printer, and finally a simulated body of the skeleton is obtained, so that the doctor can perform touch interaction.

附图说明Description of drawings

图1是本发明的基于医疗图像的分割与三维重建方法流程示意图;Fig. 1 is a schematic flow chart of the medical image-based segmentation and three-dimensional reconstruction method of the present invention;

图2(a)-图2(b)是过滤离散的噪声区域效果对比图;Figure 2(a)-Figure 2(b) is a comparison of the effects of filtering discrete noise areas;

图3(a)-图3(b)是补洞后效果对比图;Figure 3(a)-Figure 3(b) is a comparison of the effect after filling holes;

图4(a)-图4(d)是一种补洞后效果对比图;图4(c)-图4(d)是不同分割算法效果对比图;Figure 4(a)-Figure 4(d) is a comparison diagram of the effect after hole filling; Figure 4(c)-Figure 4(d) is a comparison diagram of the effect of different segmentation algorithms;

图5(a)-图5(c)是Graph Cuts改进算法效果示意图;Figure 5(a)-Figure 5(c) is a schematic diagram of the effect of the Graph Cuts improved algorithm;

图6(a)-图6(b)是采用auto-graph cuts的分割结果,对于相邻物体的分割效果示意图;Figure 6(a)-Figure 6(b) are the segmentation results using auto-graph cuts, and a schematic diagram of the segmentation effect on adjacent objects;

图7(a)-图7(b)分别是原图与剔除冗余信息后的效果图对比;Figure 7(a)-Figure 7(b) are the comparison between the original image and the effect image after removing redundant information;

图8(a)-图8(b)分别为求取梯度后的显示效果以及拉伸梯度范围小时效果示意图;Fig. 8(a)-Fig. 8(b) are respectively the display effect after obtaining the gradient and the effect of stretching the gradient range for hours;

图9 canny运算后的结果示意图;Figure 9 is a schematic diagram of the result after the canny operation;

图10(a)-图10(b)分别是最外层轮廓示意图以及将结果投射回原图后,的分割效果示意图;Figure 10(a)-Figure 10(b) are schematic diagrams of the outermost contour and the segmentation effect after projecting the result back to the original image, respectively;

图11分割方法的效果对比图;Figure 11 Comparison of the effect of the segmentation method;

图12是本发明的基于医疗图像的分割与三维重建系统的结构示意图。Fig. 12 is a schematic structural diagram of the medical image-based segmentation and three-dimensional reconstruction system of the present invention.

具体实施方式detailed description

现在将参考一些示例实施例描述本公开的原理。可以理解,这些实施例仅出于说明并且帮助本领域的技术人员理解和实施例本公开的目的而描述,而非建议对本公开的范围的任何限制。在此描述的本公开的内容可以以下文描述的方式之外的各种方式实施。The principles of the disclosure will now be described with reference to some example embodiments. It can be understood that these embodiments are described only for the purpose of illustrating and helping those skilled in the art to understand and implement the present disclosure, rather than suggesting any limitation to the scope of the present disclosure. The disclosure described herein may be implemented in various ways other than those described below.

如本文中所述,术语“包括”及其各种变体可以被理解为开放式术语,其意味着“包括但不限于”。术语“基于”可以被理解为“至少部分地基于”。术语“一个实施例”可以被理解为“至少一个实施例”。术语“另一实施例”可以被理解为“至少一个其它实施例”。As used herein, the term "comprising" and its variations may be understood as open-ended terms meaning "including but not limited to". The term "based on" may be understood as "based at least in part on". The term "one embodiment" can be read as "at least one embodiment". The term "another embodiment" may be understood as "at least one other embodiment".

CT(computed tomography)是指计算机断层扫描技术,它通过计算机控制仪器发出X射线,然后根据人体不同组织对X射线的吸收与通过率,采用灵敏程度极高的仪器对人体进行测量。将测量数据输入电子计算机进行处理,即可显示出人体被检查部位的断面图像,从而使医生不需切开伤口,就可以知道病人病变症状及程度。CT (computed tomography) refers to computerized tomography, which emits X-rays through computer-controlled instruments, and then uses highly sensitive instruments to measure the human body according to the absorption and transmission rates of X-rays by different tissues of the human body. Input the measurement data into the electronic computer for processing, and then the cross-sectional image of the inspected part of the human body can be displayed, so that the doctor can know the symptoms and degree of the patient's disease without cutting the wound.

X射线的吸收和通过情况会由计算机反映在图像上从而供医生进行诊疗,其中最常用的就是DICOM(Digital Imaging and Communication in Medicine).DICOM文件是医学数字成像和通讯的国际标准,是目前唯一为光大医疗影像设备厂家所严格遵守的规范。主要有DICOM文件头和像素数据两大部分组成,其中像素数据部分存储12位的灰度图像信息,即-2048~2048。由于普通电脑只能显示28,即255个像素深度,因此需要一定的转换才能显示在我们的屏幕上,本文中我们采用一种全新算法处理CT图像,并显示于屏幕上。The absorption and passage of X-rays will be reflected on the image by the computer for doctors to diagnose and treat. The most commonly used one is DICOM (Digital Imaging and Communication in Medicine). DICOM files are international standards for medical digital imaging and communication, and are currently the only It is a specification strictly followed by Everbright medical imaging equipment manufacturers. It mainly consists of DICOM file header and pixel data. The pixel data part stores 12-bit grayscale image information, namely -2048~2048. Since ordinary computers can only display 28, that is, 255 pixel depths, certain conversions are required to display on our screens. In this paper, we use a new algorithm to process CT images and display them on the screen.

现行的主要分割方法包括阈值分割,snake轮廓模型,Level Set模型,Chan-Vese分割,Graph Cut图割等方法。由于阈值分割最为简单,因此笔者主要介绍一下后面的几种分割方法。The current main segmentation methods include threshold segmentation, snake contour model, Level Set model, Chan-Vese segmentation, Graph Cut and other methods. Since the threshold segmentation is the simplest, the author mainly introduces the following segmentation methods.

2.2.1 Snake模型2.2.1 Snake model

Snake模型首先要在感兴区域附近给出一条初始曲线,接下来定义能量函数,然后不断收敛,从而使曲线在图像中发生形变并不断逼近目标轮廓。Kass等提出的Snake模型由一组控制点组成:The snake model must first give an initial curve near the area of interest, then define the energy function, and then continue to converge, so that the curve deforms in the image and continuously approaches the target contour. The Snake model proposed by Kass et al. consists of a set of control points:

v(s)=[x(s),y(s)],s∈[0,1]v(s) = [x(s), y(s)], s ∈ [0, 1]

然后,在这些控制点上定义能量函数(反映能量与轮廓之间的关系):Then, an energy function (reflecting the relationship between energy and contour) is defined on these control points:

EE. tt oo tt aa ll == ∫∫ sthe s {{ αα || ∂∂ ∂∂ sthe s vv || 22 ++ ββ || ∂∂ 22 ∂∂ sthe s 22 vv || 22 ++ EE. ee xx tt (( vv (( sthe s )) )) }} dd sthe s

第一项称为弹性能量,第二项为弯曲能量,第三项是外部能量,至于控制点周边的图像局部信息则多采用梯度特征,也称为图像力。最终通过求解能量函数Etotal(v)的极小值,求得最终的分割轮廓。The first term is called elastic energy, the second term is bending energy, and the third term is external energy. As for the local image information around the control point, gradient features are often used, also known as image force. Finally, the final segmentation contour is obtained by solving the minimum value of the energy function Etotal(v).

EE. ee xx tt (( vv (( sthe s )) )) == PP (( vv (( sthe s )) )) == -- || ▿▿ II (( vv )) || 22

2.2.2 Level Set Function算法2.2.2 Level Set Function algorithm

Level Set方法把低维的一些计算上升到更高一维,把N维的描述看成是N+1维的一个水平。举例来说,一个二维平面的圆,如x2+y2=1可以看成是二元函数f(x,y)=x2+y2的1水平,因此,计算这个圆的变化时就可以先求f(x,y)的变化,再求其1水平集。The Level Set method raises some low-dimensional calculations to a higher dimension, and regards the N-dimensional description as a level of N+1 dimensions. For example, a circle on a two-dimensional plane, such as x2+y2=1, can be regarded as the level 1 of the binary function f(x, y)=x2+y2. Therefore, when calculating the change of this circle, you can first find The change of f(x,y), and then seek its 1 level set.

水平集方法将平面闭合曲线隐含的表达为连续函数曲面φ(x,y,t)的一个具有相同函数值的同值曲线。通常将目标曲线隐含表示在零水平集函数{φ(x,y,t)}中,即t时刻对应的零水平集:The level set method implicitly expresses the planar closed curve as an equivalent curve of the continuous function surface φ(x, y, t) with the same function value. Usually, the target curve is implicitly expressed in the zero level set function {φ(x,y,t)}, that is, the zero level set corresponding to time t:

CC (( pp ,, 00 )) == {{ (( xx ,, ythe y )) || φφ (( xx ,, ythe y ,, 00 )) == 00 }} CC (( pp ,, tt )) == {{ (( xx ,, ythe y )) || φφ (( xx ,, ythe y ,, 00 )) == 00 }} ,,

设用于演化的平面闭合曲线为C(p,t)=(x(p,t),y(p,t)),p为任意的参数化变量,t为时间。设曲线的内向法向量为N,曲率为k,则曲线沿其法向量方向的演化可以用下面的偏微分方程表示:Suppose the plane closed curve used for evolution is C(p,t)=(x(p,t),y(p,t)), p is any parameterized variable, and t is time. Assuming that the inward normal vector of the curve is N and the curvature is k, the evolution of the curve along its normal vector direction can be expressed by the following partial differential equation:

∂∂ CC ∂∂ tt == VV (( kk )) NN

对t进行全微分,得到而内向法向量整理得到:Depend on Totally differentiating with respect to t, we get while the inward normal vector Organized to get:

这就是用水平集进行曲线演化的方程。用水平集方法实现主动轮廓线模型有如下优点:演化曲线可以随φ的演化自然地改变拓扑结构,可以分裂、合并、形成尖角等;由于φ在演化过程中始终保持为一个完整的函数,因此容易实现近似数值计算;水平集方法可以扩展到高维曲面的演化,简化了三维分割理论和应用的复杂性。然而水平集函数同样也存在着许许多多的问题,如初始化的选择问题。由于水平集定义的能量函数并不一定是凸函数,因此得到的往往是局部极小值而非全局极小值。除非初始化选择位置很好,可以使函数收敛到全局极值才能得到较好的效果。与此同时,LSF的收敛过程往往伴随着大量的迭代,这一过程十分耗时,一张稍大的图片(512X 512)迭代1000次大约需要一分钟,这样的速度对于数以千计的医疗图像而言是不能让人满意的。This is the equation for curve evolution with level sets. Using the level set method to realize the active contour model has the following advantages: the evolution curve can naturally change the topological structure with the evolution of φ, and can split, merge, form sharp corners, etc.; since φ always remains a complete function during the evolution process, Therefore, it is easy to realize approximate numerical calculation; the level set method can be extended to the evolution of high-dimensional surfaces, which simplifies the complexity of three-dimensional segmentation theory and application. However, there are also many problems in the level set function, such as the choice of initialization. Since the energy function defined by the level set is not necessarily a convex function, the result is often a local minimum rather than a global minimum. Unless the initial selection position is very good, you can make the function converge to the global extremum to get better results. At the same time, the convergence process of LSF is often accompanied by a large number of iterations. This process is very time-consuming. It takes about one minute for a slightly larger image (512X 512) to iterate 1000 times. This speed is necessary for thousands of medical Graphics are not satisfactory.

2.2.3 Chan–Vese轮廓模型2.2.3 Chan–Vese contour model

该方法利用轮廓曲线的几何特性,建立轮廓曲线运动(变形)的能量函数,通过最小化这个能量函数,使轮廓曲线逐渐逼近图像中目标边界,并利用水平集函数将轮廓曲线运动方程转化成求解数值偏微分方程问题。在这类方法中,Chan和Vese基于Mumford-Shah分割模型提出的Chan-Vese模型是研究的热点。这个模型将原始图像视为由不连续集和分片常数图像组成的简单形式,停止函数不再依赖于图像的局部梯度,而是同质区域的全局信息。This method uses the geometric characteristics of the contour curve to establish the energy function of the contour curve movement (deformation). By minimizing this energy function, the contour curve gradually approaches the target boundary in the image, and uses the level set function to transform the contour curve motion equation into a solution Numerical partial differential equation problems. Among these methods, the Chan-Vese model proposed by Chan and Vese based on the Mumford-Shah segmentation model is a research hotspot. This model treats the original image as a simple form consisting of discontinuous sets and piecewise constant images, and the stopping function no longer depends on the local gradient of the image, but the global information of homogeneous regions.

Mumford-Shah模型的数学表述如下:设u(x,y)为定义于区域Ω上的图像函数,C为图像的边界,将图像分割成若干个同质区域,得到分割图像μ0(x,y)。M-S模型就是寻找正确的光滑图像边界C0,使得到的分割图像μ0MS(x,y)和原图像u(x,y)之间的误差为最小,即最小化如下能量函数:、The mathematical expression of the Mumford-Shah model is as follows: Let u(x,y) be the image function defined on the region Ω, C is the boundary of the image, divide the image into several homogeneous regions, and obtain the segmented image μ0(x,y ). The M-S model is to find the correct smooth image boundary C0, so that the error between the obtained segmented image μ0MS(x, y) and the original image u(x, y) is minimized, that is, the following energy function is minimized:,

(( CC 00 ,, uu 00 Mm SS )) == minFminF Mm SS (( uu 00 ,, CC )) == μμ LL ee nno gg tt hh (( CC )) ++ λλ ∫∫ ∫∫ ΩΩ || uu 00 -- uu || 22 dd xx dd ythe y ++ ∫∫ ∫∫ ΩΩ // CC || ▿▿ uu 00 || 22 dd xx dd ythe y

其中,u为已知的含噪声图像,μ0是分割处理后的图像,μ,λ,ν是权系数,Length(C)表示边界曲线C的一维Hausdorff测度,图像μ0MS为此能量函数的最小解。Among them, u is the known noise-containing image, μ 0 is the segmented image, μ, λ, ν are the weight coefficients, Length(C) represents the one-dimensional Hausdorff measure of the boundary curve C, and the image μ 0MS is this energy function the minimum solution of .

基于MS理论,Chan和Vese在2001年提出了Chan-Vese模型。该模型的数学描述为:设活动轮廓线C将定义在区域Ω上的图像I划分为两个部分,分别记为inside(C)和outside(C),c1,c2分别为曲线内部和外部的图像灰度平均值,设图像的能量泛函为:Based on MS theory, Chan and Vese proposed the Chan-Vese model in 2001. The mathematical description of the model is: Let the active contour line C divide the image I defined on the area Ω into two parts, which are respectively recorded as inside (C) and outside (C), and c1 and c2 are the curves inside and outside respectively. The average value of image grayscale, let the energy functional function of the image be:

EE. (( cc 11 ,, cc 22 ,, φφ )) == μμ ∫∫ ΩΩ δδ (( φφ )) || ▿▿ φφ || dd xx dd ythe y ++ ∫∫ ΩΩ Hh (( φφ )) dd xx dd ythe y ++ λλ 11 ∫∫ ∫∫ || II (( xx ,, ythe y )) -- cc 11 || 22 Hh (( φφ )) dd xx dd ythe y ++ λλ 22 ∫∫ ∫∫ || II (( xx ,, ythe y )) -- cc 22 || 22 (( 11 -- Hh (( φφ )) )) dd xx dd ythe y

length(C)为边界曲线C的长度,Aera(C)为曲线C内部区域的面积,μ,v≥0,λ1,λ2>0为权重系数,前两项称为“光滑项”,控制曲线在演化过程中保持一定的光滑性;后两项称为“拟合项”,主要是使分割曲线往图像边缘移动,使拟合误差最小。最终的分割轮廓线C的位置及未知常量c1,c2,通过最小化上述能量泛函得到。为得到能量泛函在水平集下的表达式,设水平集函数φ可用公式定义如下:length(C) is the length of the boundary curve C, Aera(C) is the area of the inner area of the curve C, μ, v≥0, λ1, λ2>0 are the weight coefficients, the first two items are called "smooth items", the control curve Maintain a certain degree of smoothness during the evolution process; the latter two items are called "fitting items", which mainly move the segmentation curve to the edge of the image to minimize the fitting error. The position of the final segmentation contour line C and the unknown constants c1, c2 are obtained by minimizing the above energy functional. In order to obtain the expression of the energy functional under the level set, the level set function φ can be defined as follows:

EE. (( cc 11 ,, cc 22 ,, CC )) == μμ LL ee nno gg tt hh (( CC )) ++ vv .. AA rr ee aa (( ii nno sthe s ii dd ee (( CC )) )) ++ λλ 11 ∫∫ ∫∫ ii nno sthe s ii dd ee (( CC )) || II (( xx ,, ythe y )) -- cc 11 || 22 dd xx dd ythe y ++ λλ 22 ∫∫ ∫∫ oo uu tt sthe s ii dd ee (( CC )) || II (( xx ,, ythe y )) -- cc 22 || 22 dd xx dd ythe y

根据前面叙述的水平集求解方法最终得到方程的数值解。According to the level set solution method described above, the numerical solution of the equation is finally obtained.

2.2.4 Graph Cuts算法2.2.4 Graph Cuts Algorithm

与之前的几种算法不同,Boykov提出的Graph Cuts采用了一种完全不同的理论,即图论中最大流,最小割的方法。图论是数学的一个重要分支,最早出现于欧拉1736年经典的哥尼斯堡七桥问题。自其出现以来,就被科学家们深入研究,并大规模应用到各个不同领域中。由于本文专注于视觉中的分割问题,因此主要关注图论在计算机视觉中的应用,尤其是图割用于图像分割方面。在一些文献中,图像被优化地分为K部分,从而最小化分割对象间的最大割。然而在这种构想中,分割更倾向于小物体。另一些文献则通过归一化割的代价函数来尝试解决分割这个问题。结果的优化后得到非确定性多项式困难问题(NP-hard)。在其它文献中图割被用于最小化能量函数,其被分别应用于图像修复,三维物体重建,立体重建等计算机视觉中许许多多其他问题。Different from several previous algorithms, Graph Cuts proposed by Boykov adopts a completely different theory, that is, the method of maximum flow and minimum cut in graph theory. Graph theory is an important branch of mathematics, which first appeared in Euler's 1736 classic Königsberg bridge problem. Since its appearance, it has been deeply studied by scientists and applied to various fields on a large scale. Since this article focuses on the segmentation problem in vision, it mainly focuses on the application of graph theory in computer vision, especially the use of graph cuts in image segmentation. In some literatures, images are optimally partitioned into K parts such that the maximum cut among segmented objects is minimized. In this formulation, however, the segmentation is more biased towards small objects. Other literature attempts to solve the problem of segmentation by normalizing the cost function of cut. After optimization of the results, a non-deterministic polynomial hard problem (NP-hard) is obtained. Graph cuts have been used in other literature to minimize energy functions, which have been applied to image inpainting, 3D object reconstruction, stereo reconstruction, and many other problems in computer vision.

下面介绍一下Graph Cuts的基本原理:一张无向图G=<V,E>被定义为节点的集合(顶点V)和连接这些顶点的无向边(E)。将一张图像的每个像素视为一个节点,而像素之间的联系则视为无向边集合,在图中每条边e∈E都被赋予一个非负权重we。有两个特殊的节点叫做终点。每一个割都是边的一个子集,从而使终点可以被分隔开。通常来说通过联合优化去定义割集的代价,即其所分割出的边的代价:Let me introduce the basic principle of Graph Cuts: an undirected graph G=<V, E> is defined as a collection of nodes (vertex V) and undirected edges (E) connecting these vertices. Each pixel of an image is regarded as a node, and the connection between pixels is regarded as a set of undirected edges. In the graph, each edge e∈E is assigned a non-negative weight we. There are two special nodes called endpoints. Every cut is an edge A subset of , so that the endpoints can be separated. Generally speaking, the cost of the cut set is defined through joint optimization, that is, the cost of the edges it divides:

|| CC || == &Sigma;&Sigma; ee &Element;&Element; CC ww ee

Boykov采用的代价函数跟MAP-MRF中得出的结论十分相似,将任意的数据元素集合定义为P,一些邻近区域通过是由一些无序对{p,q},命名为点集N。举个例子集合P包含二维网格的像素或三维网格的体数据,同时,在标准8位,26位邻近系统,N可以包含相邻像素的无序点对。A=(A1,……,Ap,……,A|p|)是二维向量,其内部成员Ap,被分配给点集P的每个像素p。每个Ap既能是“物体”也能是“背景”。向量A定义了一种分割结构。通过代价函数来描述基于边界和区域性质的软限制。函数E(A)如下:The cost function used by Boykov is very similar to the conclusions drawn in MAP-MRF. Any set of data elements is defined as P, and some adjacent areas are named point sets N by some unordered pairs {p,q}. For example the set P contains pixels for a 2D grid or volume data for a 3D grid, while, in a standard 8-bit, 26-bit contiguous system, N could contain unordered pairs of adjacent pixels. A=(A1,...,Ap,...,A|p|) is a two-dimensional vector, and its internal member Ap is assigned to each pixel p of the point set P. Each Ap can be both an "object" and a "background". Vector A defines a segmentation structure. Soft constraints based on boundary and region properties are described by a cost function. The function E(A) is as follows:

E(A)=λ·R(A)+B(A)E(A)=λ·R(A)+B(A)

其中,R(A)=∑pRP(AP)/B(A)=Σ{p,q}B{p,q}·σ(AP,Aq),Where, R(A)=∑ p R P (A P )/B(A)=Σ {p, q} B {p, q} σ(A P , A q ),

并且:σ(AP,Aq)=1(如果Ap,Aq不等),否则则为0。And: σ(A P , A q )=1 (if Ap, Aq are not equal), otherwise 0.

其中,系数λ>=0,定义了区域项R(A)相对于边界项B(A)的重要性。区域项R(A)代表着对于将像素分配于“物体”“背景”的惩罚项,对应着RP(“物体”),RP(“背景”)。举个例子,RP(·)反映了像素P的强度适用于物体或者背景强度模型的程度。Among them, the coefficient λ>=0 defines the importance of the region item R(A) relative to the boundary item B(A). The region term R(A) represents the penalty term for assigning pixels to "object" and "background", corresponding to RP("object"), RP("background"). For example, RP(·) reflects the degree to which the intensity of the pixel P fits the object or background intensity model.

B(A)包含分割A的边界项。系数B{p,q}>=0可以被理解为p,q不连接的惩罚项。正常来说,当像素p,q相近,B{p,q}很大;当强度相差较大的时候,B{p,q}接近于0.惩罚项B{p,q}可以是p,q距离的减函数。代价B{p,q}可以基于强度梯度,拉普拉斯零接,梯度方向和一些其他的条件。至于各边的的权重,本文中我们采用Boykov的方法,即:B(A) contains the boundary terms that split A. The coefficient B{p,q}>=0 can be understood as a penalty item for disconnection of p and q. Normally, when the pixels p and q are similar, B{p,q} is very large; when the intensity difference is large, B{p,q} is close to 0. The penalty term B{p,q} can be p, A decreasing function of the q-distance. The cost B{p,q} can be based on intensity gradient, Laplacian zero connection, gradient direction and some other conditions. As for the weights of each side, we use Boykov's method in this paper, namely:

kk == 11 ++ maxmax pp &Element;&Element; PP &Sigma;&Sigma; qq :: {{ pp ,, qq }} &Element;&Element; NN BB {{ pp ,, qq }}

这样本申请构建了一个完整的图,并得到了其能量函数。接下来的工作就是在图中快速计算出最小割(最大流),从而得到分割结果。Graph Cuts的另外一个特点就是当用户发现分割结果不够精确后,可以通过手动修改种子点来改善精度。而且算法不需要从头开始重新计算整张图的最大流、最小割,而是在原始计算过程中添加一定的常数到区域项上,从而极大地提高了计算效率,达到几乎实时的交互处理。In this way, the present application constructs a complete graph and obtains its energy function. The next job is to quickly calculate the minimum cut (maximum flow) in the graph to obtain the segmentation result. Another feature of Graph Cuts is that when users find that the segmentation results are not accurate enough, they can manually modify the seed points to improve the accuracy. Moreover, the algorithm does not need to recalculate the maximum flow and minimum cut of the entire graph from scratch, but adds certain constants to the region items in the original calculation process, which greatly improves the calculation efficiency and achieves almost real-time interactive processing.

2.3经典算法改进及新算法2.3 Classic algorithm improvement and new algorithm

2.3.1 Graph Cuts改进2.3.1 Improvements to Graph Cuts

Graph Cuts如2.2.4所述是一种交互式分割方法,对于多目标分割,我们需要手动指定想要的分割目标,这点无可厚非,而且牺牲一定的时间效率来换取更高的分割精度在多数情况下也是必要的。然而医学图像,尤其是CT图像动辄数以千计,对于如此大量的图片一一进行手工标定,其工作量之大是难以想象的。因此我们不能再停留于简单的交互式半自动分割方法中,而是需要探索一种新的全自动Graph Cuts算法。Graph Cuts is an interactive segmentation method as described in 2.2.4. For multi-target segmentation, we need to manually specify the desired segmentation target, which is understandable, and sacrifice a certain amount of time efficiency in exchange for higher segmentation accuracy. The situation is also necessary. However, there are often thousands of medical images, especially CT images. It is unimaginable to manually calibrate such a large number of images one by one. Therefore, we can no longer stay in the simple interactive semi-automatic segmentation method, but need to explore a new fully automatic Graph Cuts algorithm.

这里我们首先观察医学图像,由于大部分骨骼的密度远大于人体的其他部位,因此能保证在某个值之上的像素绝大部分都会是我们想要分割的目标---骨头,这样我们可以通过相应阈值来找出分割目标的种子点,作为Graph Cuts的硬限制。与之类似,经过大量实验观察,我们发现小于某个值的所有像素基本上都不是我们所想分割出来的区域。因此我们可以设定另外一个阈值,所有小于此值的像素均被视为背景的种子点,也是Graph Cut的硬限制部分。然后再通过传统的Graph Cut算法得出最终的分割结果。图5(a)为原图。图5(b)中亮点为物体区域的种子点,而灰点为背景区域的种子点,可见所有的种子点基本都标注正确。图5(c)是分割后得到的结果,其分割效果还不错。Here we first observe medical images. Since the density of most bones is much greater than other parts of the human body, it can be guaranteed that most of the pixels above a certain value will be the target we want to segment---bones, so that we can Find the seed point of the segmentation target through the corresponding threshold, as the hard limit of Graph Cuts. Similarly, after a lot of experimental observations, we found that all pixels smaller than a certain value are basically not the areas we want to segment. Therefore, we can set another threshold, and all pixels smaller than this value are regarded as the seed points of the background, which is also the hard limit part of Graph Cut. Then the final segmentation result is obtained through the traditional Graph Cut algorithm. Figure 5(a) is the original picture. In Figure 5(b), the bright spots are the seed points of the object area, and the gray points are the seed points of the background area. It can be seen that all the seed points are basically marked correctly. Figure 5(c) is the result obtained after segmentation, and the segmentation effect is not bad.

2.3.2基于图像预处理与Canny算子的新方法2.3.2 A new method based on image preprocessing and Canny operator

尽管本申请设计的Graph Cuts方法可以较好地分割出骨骼,然而在一些边缘模糊,待检测目标过多,彼此距离过近的情况下,其效果往往不尽如人意。很有可能无法检测出完整边缘或者将相邻物体归并为一个,效果如图6(b)所示。因此,本申请在这里提出了一种新的方法来更加精准地分割出骨骼。Although the Graph Cuts method designed in this application can segment bones well, its effect is often unsatisfactory when some edges are blurred, there are too many objects to be detected, and the distance between them is too close. It is very likely that the complete edge cannot be detected or the adjacent objects are merged into one, the effect is shown in Figure 6(b). Therefore, the present application proposes a new method to segment bones more accurately.

由于原始医疗图像是12位的灰度图,中间包含许多无用的冗余信息,而且无法显示于我们正常的显示屏幕上。因此这里我们采取一系列的操作来剔除冗余信息,突出物体与背景的对比度,从而最终得到较好的分割结果。Since the original medical image is a 12-bit grayscale image, it contains a lot of useless redundant information, and it cannot be displayed on our normal display screen. So here we take a series of operations to remove redundant information, highlight the contrast between the object and the background, and finally get a better segmentation result.

1.冗余信息的剔除1. Removal of redundant information

首先骨骼的密度远大于身体的其他的组织部位。我们通过大量的实验与细致的观察,发现大多数骨骼与其他组织的弱边界分布在一定的像素范围内,即过大或过小的像素可被认定为“骨骼”与“背景”。因此我们采用分段函数来保留弱边界信息,而剔除一些不再需要的信息:First, bones are much denser than other tissue parts of the body. Through a large number of experiments and careful observations, we found that most of the weak boundaries between bones and other tissues are distributed within a certain range of pixels, that is, pixels that are too large or too small can be identified as "bones" and "background". Therefore, we use a piecewise function to retain weak boundary information and remove some information that is no longer needed:

ff (( xx )) == 00 xx &le;&le; 5050 xx -- 5050 5050 << xx &le;&le; 305305 255255 xx >> 305305

小于50的部分自动归零,即忽略像素值较小的信息,因为这些像素不属于骨骼,是冗余信息;而弱边缘(weak edge)大多分布在50~305之间的像素,因此我们保留这一部分信息;而大于305的像素基本可以被认定为骨骼,因此将其全部置为最大值即可。分段函数的处理效果与整体拟合效果如图7(b),可见其增加了物体与背景之间的对比度。Parts smaller than 50 are automatically zeroed, that is, information with small pixel values is ignored, because these pixels do not belong to bones and are redundant information; and weak edges are mostly distributed between 50 and 305 pixels, so we keep This part of the information; pixels larger than 305 can basically be identified as bones, so set all of them to the maximum value. The processing effect of the piecewise function and the overall fitting effect are shown in Figure 7(b), which shows that it increases the contrast between the object and the background.

2.求取梯度2. Find the gradient

刚刚的图像可以凸显物体与背景的对比度,然而我们需要的是骨骼的边缘信息,因此在这里可以对图像最进一步处理,只抽取骨骼与背景的交界信息即可。所以我们采用求取图像梯度的方法,得出了边缘信息。然而梯度的大小只占据8位图像的一小部分,因此这里我们拉伸图像的取值范围,从而进一步增大图像的对比度。效果如图8(b)所示。The image just now can highlight the contrast between the object and the background, but what we need is the edge information of the bones, so here we can further process the image, and only extract the boundary information between the bones and the background. Therefore, we use the method of obtaining the image gradient to obtain the edge information. However, the size of the gradient only occupies a small part of the 8-bit image, so here we stretch the value range of the image to further increase the contrast of the image. The effect is shown in Figure 8(b).

3.高斯平滑化及canny检测边缘3. Gaussian smoothing and canny edge detection

在上面得到的梯度图的基础上,我们首先进行高斯平滑。由于最后我们希望得到完整的物体轮廓,即闭合的点集。我们需要对图像进行平滑,因为平滑的越流畅则生成的边缘越圆滑。图9canny运算后的结果。On the basis of the gradient map obtained above, we first perform Gaussian smoothing. Because in the end we hope to get the complete object outline, that is, the closed point set. We need to smooth the image, because smoother smoothing produces rounder edges. Figure 9 The result after canny operation.

然后采用canny算法检测图像的边缘。Canny主要流程是首先采用sobel差分算子求出灰度图像的x和y方向导数,求出图像各点梯度大小及其方向。然后设置高低两个阈值,梯度大于高阈值为强边像素点,大于低阈值为潜在可能是较弱的边缘点。在经过一次筛选剩下的强边缘点中沿着梯度方向进行非极大值抑制,顺着二次筛选后的强边点寻找邻近的弱边点得到最终的边缘。Then use the canny algorithm to detect the edge of the image. The main process of Canny is to first use the sobel difference operator to obtain the x and y direction derivatives of the grayscale image, and to obtain the gradient size and direction of each point of the image. Then set the high and low thresholds, the gradient greater than the high threshold is a strong edge pixel, and the gradient greater than the low threshold is a potentially weaker edge point. Non-maximum suppression is performed along the gradient direction among the strong edge points left after the first screening, and the adjacent weak edge points are found along the strong edge points after the second screening to obtain the final edge.

4.查找轮廓并添加限制4. Find contours and add constraints

在上面的canny边缘的基础上,我们需要找出其中闭合的轮廓。如果有同心轮廓,则应该选择最外围的轮廓作为分割边缘而非内部轮廓。最后我们要对轮廓添加一些限制,如轮廓的面积应该大于某一个固定值,从而起到过滤一些主要轮廓外面的噪声轮廓,使得到的结果更加准确。而图10(b)是将边缘显示在原图后的效果。On the basis of the above canny edge, we need to find out the closed contour. If there are concentric contours, the outermost contour should be chosen as the splitting edge instead of the inner contour. Finally, we need to add some restrictions to the contour, such as the area of the contour should be greater than a certain fixed value, so as to filter some noise contours outside the main contour, so that the obtained results are more accurate. Figure 10(b) is the effect after the edge is displayed on the original image.

2.4实验对比2.4 Experimental comparison

在上文所述的方法中,我们选择Chan-Vese算法,改进Graph Cuts算法(auto-Graph Cuts),以及我们自己提出的图像预处理与Canny算子相结合的算法(IP+Canny)进行对照试验。这里选取不同部位的人体骨骼(脚趾,脚掌,腿骨和盆骨)。其中有一点需要注意的是:auto-Graph Cuts中我们采用Yuri等人后来改进的求取最大流的方法,从而有效提高了程序的时间与空间效率。具体比较结果如图11所示。Among the methods described above, we choose the Chan-Vese algorithm, the improved Graph Cuts algorithm (auto-Graph Cuts), and the algorithm (IP+Canny) that combines image preprocessing and Canny operator proposed by ourselves for comparison. test. Here select different parts of human bones (toes, soles, leg bones and pelvis). One thing to note is that in auto-Graph Cuts, we use the method of obtaining the maximum flow that was later improved by Yuri et al., which effectively improves the time and space efficiency of the program. The specific comparison results are shown in Figure 11.

由上可以得出以下结论:The following conclusions can be drawn from the above:

●Chan-Vese算法并不适用于明显的边界分割,其往往收敛于弱边界(医疗图像中肉与空气的交界),而非我们想要得到结果。因此前三张图片的分割结果很差,而最后一张因为存在骨骼与肌肉之间为弱边界,反而分割效果在所有算法中居于前列.但是其算法因为需要多次迭代,因此最为费时;●The Chan-Vese algorithm is not suitable for obvious boundary segmentation, and it tends to converge on weak boundaries (the junction of flesh and air in medical images), rather than the result we want. Therefore, the segmentation results of the first three pictures are very poor, and the last one has a weak boundary between bones and muscles, but the segmentation effect is at the forefront of all algorithms. However, its algorithm is the most time-consuming because it requires multiple iterations;

●Auto-Graph Cut在大多数情况下表现良好,并且其时间复杂度最低。当然这并未计算提供模板的时间,而且这里采用的是经过优化的最大流计算方法,此算法已被应用于实际产品。然而对于弱边界,其分辨能力依旧较弱,而且对于相距较近的物体,其往往会将这些物体归为一类,从而自动忽略了中间的弱边界;● Auto-Graph Cut performs well in most cases, and its time complexity is the lowest. Of course, this does not calculate the time to provide the template, and the optimized maximum flow calculation method is used here, and this algorithm has been applied to actual products. However, for weak boundaries, its resolution ability is still weak, and for objects that are closer together, it tends to classify these objects into one category, thus automatically ignoring the weak boundary in the middle;

●IP+Canny算法,也就是我们自己提出的新算法。其分割效果在分割弱边界的时候,强于auto-Graph Cuts,而分割强边界的时候,比Chan-Vese的效果要好的多。而且运行时间也较少,符合我们快速分割的要求。且更适用于全身整体骨骼的分割。●IP+Canny algorithm, that is, a new algorithm proposed by ourselves. Its segmentation effect is stronger than auto-Graph Cuts when segmenting weak boundaries, and it is much better than Chan-Vese when segmenting strong boundaries. And the running time is also less, which meets our requirements for fast segmentation. And it is more suitable for the segmentation of the whole body skeleton.

3.关于三维模型重建3. About 3D model reconstruction

医学图像设备产生的二维图像序列中已经蕴含了人体组织器官的三维信息,对二维断层图像进行分析和处理,可实现对人体器官和病灶的分割提取,重建出组织器官和病灶的三维模型,实现对模型的剖切、开窗和三维显示,将会给医生提供一种直观的技术手段,帮助他们准确地确定病灶的位置、形态以及其与周围组织器官的空间关系,从而设计出精确的治疗方案,提高诊断治疗的有效性和准确性。The 2D image sequence generated by medical imaging equipment already contains 3D information of human tissues and organs. The analysis and processing of 2D tomographic images can realize the segmentation and extraction of human organs and lesions, and reconstruct the 3D models of tissues, organs and lesions. , realizing the sectioning, window opening and three-dimensional display of the model will provide doctors with an intuitive technical means to help them accurately determine the location, shape and spatial relationship between the lesion and the surrounding tissues and organs, so as to design a precise Improve the effectiveness and accuracy of diagnosis and treatment.

3.1三维空间数据场可视化3.1 Visualization of 3D spatial data field

1.数据类型1. Data type

三维空间可视化的算法和数据有着紧密的关系。数据类型包括两个层次的涵义:一是数据本身的类型,在科学计算可视化中,有标量、矢量和张量三种类型的数据;而是数据分布及连接关系的类型。三维空间数据可视化的对象既包括计算机科学计算的结果,也包括测量仪器的测量数据。在科学计算方面,所研究对象的特征往往用一组方程式来描述,一般情况下只能求出这些方程组的数值解。为此,需要将它们所定义的空间离散化,离散成体单元、面单元、线段或者网格点,再用数值求解方法求出这些离散单元处的函数值。因此,科学计算的结果数据往往是离散的,而不是连续的。至于空间上的测量数据,如气象监测数据、人体的CT或MRI扫描数据等,通常也是离散的。其原因是,人们很难在空间上获得连续的测量数据。因此,可视化的对象一般是空间上离散的三维数据。Algorithms for 3D spatial visualization are closely related to data. The data type includes two levels of meaning: one is the type of the data itself. In the visualization of scientific computing, there are three types of data: scalar, vector and tensor; it is the type of data distribution and connection relationship. The objects of three-dimensional spatial data visualization include both the results of computer science calculations and the measurement data of measuring instruments. In scientific computing, the characteristics of the research object are often described by a set of equations, and generally only the numerical solutions of these equations can be obtained. For this reason, it is necessary to discretize the space defined by them, discretize into solid units, surface units, line segments or grid points, and then use the numerical solution method to obtain the function values at these discrete units. Therefore, the resulting data of scientific computing tends to be discrete rather than continuous. As for spatial measurement data, such as meteorological monitoring data, CT or MRI scan data of the human body, etc., they are usually also discrete. The reason is that it is difficult for people to obtain continuous measurement data in space. Therefore, the visualized objects are generally spatially discrete three-dimensional data.

三维空间上的离散数据之间的连接关系,可以分为三种类型:结构化数据、非结构化数据和非结构化混合型数据。结构化数据是指在逻辑上组织成三维数组的离散空间数据,各个元素都有自己的层号、行号和列号。结构化数据又可分为规则网格结构化数据和非规则网格结构化数据。规则网格结构化数据分布在由正方体或长方体组成的三维网格点上。我们所说的规则化体数据,一般指规则网格结构化体数据(structured regularvolume data)。规则体数据是定义在三维网格上的标量数据或向量数据。The connection relationship between discrete data in three-dimensional space can be divided into three types: structured data, unstructured data and unstructured mixed data. Structured data refers to discrete spatial data that is logically organized into a three-dimensional array, and each element has its own layer number, row number, and column number. Structured data can be divided into regular grid structured data and irregular grid structured data. Regular grid structured data is distributed on a three-dimensional grid of points consisting of cubes or cuboids. The regularized volume data we refer to generally refers to structured regular volume data. Regular volume data is scalar data or vector data defined on a three-dimensional grid.

2.医学体数据的定义与特点2. Definition and characteristics of medical volume data

医学体数据一般是指定义在三维空间网格上的标量或向量结构化数据,这些网格通常是正交网格,数据一般定义在网格结点上,相邻的八个网格节点构成一个立方体。每一个小格子都是体数据的基本单位。设想将CT得到的医学图像序列经图像配准、图像插值后放入三维坐标系中,每幅图像均置于平行于XY平面的某平面上,设平面Z方向坐标由CT生成该图像时的相关参数决定,当两幅图像的间距大于单幅图像的分辨率时,在两幅图像之间插值,这样就构成了一个上述的体数据集,其中的体数据值为图像的原始数据值。Medical volume data generally refers to scalar or vector structured data defined on three-dimensional spatial grids. These grids are usually orthogonal grids. Data are generally defined on grid nodes, and eight adjacent grid nodes form a cube. Each small grid is the basic unit of volume data. It is assumed that the medical image sequence obtained by CT is put into a three-dimensional coordinate system after image registration and image interpolation, and each image is placed on a plane parallel to the XY plane, and the coordinates in the Z direction of the plane are set by CT when the image is generated. Relevant parameters determine that when the distance between two images is greater than the resolution of a single image, interpolation is performed between the two images, thus forming the above-mentioned volume data set, in which the volume data value is the original data value of the image.

医学体数据是离散的优结构规则的体数据,有以下特点:CT产生的图像所对应的数据场是均匀和规则的,原始数据的值代表了在确定点上的人体组织的性质(如衰减系数、质子密度等)。数据场的纵向分辨率一般低于水平分辨率。对于现有的设备,一般可以得到512X512的二维分辨率,而单位长度上的断层图像的数目却受到限制。体数据体积庞大。一组1000个512X512的断层图像序列,如果以12灰度级存储,大约需要500MB。图像中含有噪声。影像设备的性能及使用者的操作水平都会影响图像质量,不可避免的带来噪声.在可视化过程中,必须考虑医学图像的这些具体特征,在处理过程及具体算法中采取相应的措施以得到最佳效果。Medical volume data is discrete volume data with optimal structure and regularity. It has the following characteristics: the data field corresponding to the image generated by CT is uniform and regular, and the value of the original data represents the nature of human tissue at a certain point (such as attenuation coefficient, proton density, etc.). The vertical resolution of the data field is generally lower than the horizontal resolution. For existing equipment, a two-dimensional resolution of 512X512 can generally be obtained, but the number of tomographic images per unit length is limited. Volume data is huge. If a group of 1000 tomographic image sequences of 512X512 are stored in 12 gray levels, it will take about 500MB. The image contains noise. The performance of imaging equipment and the user's operation level will affect the image quality, which will inevitably bring noise. In the visualization process, these specific characteristics of medical images must be considered, and corresponding measures should be taken in the processing process and specific algorithms to obtain the best results. good effect.

医疗图像的重建算法主要分为两大类:体重建和面重建。The reconstruction algorithms of medical images are mainly divided into two categories: volume reconstruction and surface reconstruction.

体重建,是直接将体素直接将体素投影到显示平面的方法,称为基于体数据的体绘制方法,又称为直接绘制方法。体绘制技术的中心思想是为每一个体素指定一个不透明度(Opacity),并考虑每一个体素对光线的透射、发射和反射作用。光线的透射取决于体素的不透明度;光线的发射则取决于体素的物质度(Objeemess),物质度愈太,其发射光愈强:光线的反射则取决于体素所在的面与人射光的夹角关系。其中最常见的方法是光线投射法,其主要原理是从屏幕上的每一个像素点出发,沿设定的视点方向,发出一条射线,这条射线穿过三维数据场。沿这条射线选择若干个等距采样点,由距离某一采样点最近的八个体素的颜色值及不透明度值做三线性插值,求出该采样点的不透明度值及颜色值。在求出该条射线上所有采样点的颜色值和不透明度值,从而计算出屏幕上该像素点处的颜色值。在我们的实验中也进行了Ray casting的实验。Volume reconstruction is a method of directly projecting voxels to a display plane, which is called a volume rendering method based on volume data, also known as a direct rendering method. The central idea of volume rendering technology is to specify an opacity (Opacity) for each voxel, and consider the transmission, emission and reflection of each voxel to light. The transmission of light depends on the opacity of the voxel; the emission of light depends on the objectness of the voxel (Objeemess), the greater the objectness, the stronger the emitted light; The angle relationship of the incident light. The most common method is the ray-casting method. Its main principle is to start from each pixel on the screen and emit a ray along the set viewpoint direction, and this ray passes through the three-dimensional data field. Select several equidistant sampling points along this ray, and perform trilinear interpolation from the color and opacity values of the eight voxels nearest to a certain sampling point to obtain the opacity and color values of the sampling point. Calculate the color value and opacity value of all sampling points on the ray, so as to calculate the color value at the pixel point on the screen. Ray casting experiments are also carried out in our experiments.

可见其不单能看到人的骨骼结构,同时还能看到骨骼外面包裹的肌肉组织。虽然体重建具有重现物体内部结构的能力,然而其并不适用于我们的目标。首先我们只需重建出人体骨骼从而为3D打印做准备,因此我们不需要看到人体内部其他组织器官的具体结构;其次体重建对于硬件要求极高,其占用内存大,处理速度慢,普通家用电脑无法满足其运行要求,因此不适用于与用户的实时交互。所以最终我们采用了面重建的方法。It can be seen that it can not only see the human bone structure, but also the muscle tissue wrapped around the bone. Although volume reconstruction has the ability to reproduce the internal structure of objects, it is not suitable for our goal. First of all, we only need to reconstruct human bones to prepare for 3D printing, so we don’t need to see the specific structure of other tissues and organs in the human body; secondly, body reconstruction requires extremely high hardware, which takes up a lot of memory and slow processing speed. Computers are not up to its operational requirements and are therefore unsuitable for real-time interaction with users. So in the end we adopted the method of surface reconstruction.

面重建,相对于体重建,占用内存少,绘制效率高,并且基本可以满足我们重建出人体骨骼的基本要求。而归属于面重建的几种方法中,我们选择最经典的MC(MarchingCubes)算法作为基础算法,然后再在其基础上做出一定的改进,从而实现更好的效果。Surface reconstruction, compared with volume reconstruction, occupies less memory and has high rendering efficiency, and can basically meet our basic requirements for reconstructing human bones. Among the several methods belonging to surface reconstruction, we choose the most classic MC (MarchingCubes) algorithm as the basic algorithm, and then make certain improvements on the basis of it, so as to achieve better results.

在面重建算法中以重建等值面这一类算法最为经典。我们进行表面重建的目的就是用分割提取出的区域构建出对应组织或器官的三维几何模型。等值面的构造就是从体数据中恢复物体三维几何模型的常用方法之一。如果我们把体数据看成是某个空间区域内关于某种物理属性的采样集合,非采样点上的值用邻近采样点插值来估计,则该空间区域内所有具有某一个相同值的点的集合将定义一个或多个曲面,称之为等值面。因为不同的物质具有不同的物理属性,因此可以选定适当的值来定义等值面,该等值面表示不同物质的交界。也就是说,一个用适当值定义的等值面可以代表某种物质的表面。等值面是空间中所有具有某个相同值的点的集合,它可以表示成{(x,y,z),f(x,y,z)=c}其中C为常数。然而并不是每个体素内都有等值面,当体素内角点都大于C或者都小于C时其内部不存在等值面只有那些即大于C又小于C的角点的体素才含有等值面,我们称这样的体素为边界体素。等值面在一个边界体素内的部分称为该体素的等值面片,等值面是一个三次曲面,它与边界体素面的交线是一条双曲线且这条双曲线仅由该面上四个角点决定。这些等值面片之间具有等值拓扑一致性,即它们可以构成连续的无孔的无悬浮面的曲面(除非在体数据的边界处)。因为对于任何两个边界共面的体素,如果等值面与他们的公共面有交线,则该交线就是两个边界体素中等值面片与公共面的交线,也就是说这两个等值面片完全吻合,所以可以认为等值面是由许多个等值面片组成的连续曲面。Among the surface reconstruction algorithms, the isosurface reconstruction algorithm is the most classic. The purpose of our surface reconstruction is to construct a three-dimensional geometric model of the corresponding tissue or organ using the regions extracted by segmentation. The construction of isosurface is one of the commonly used methods to restore the 3D geometric model of objects from volume data. If we regard the volume data as a sampling set of a certain physical attribute in a certain spatial region, and the values at non-sampling points are estimated by interpolation of adjacent sampling points, then the values of all points with the same value in the spatial region The set will define one or more surfaces, called isosurfaces. Because different substances have different physical properties, appropriate values can be chosen to define isosurfaces that represent the interface of different substances. That is, an isosurface defined with appropriate values can represent the surface of a substance. An isosurface is a collection of all points with the same value in space, which can be expressed as {(x, y, z), f(x, y, z)=c} where C is a constant. However, not every voxel has an isosurface. When the corners of a voxel are greater than C or less than C, there is no isosurface inside. Value surface, we call such voxels as boundary voxels. The part of the isosurface in a boundary voxel is called the isosurface patch of the voxel. The isosurface is a cubic surface, and the intersection line between it and the boundary voxel surface is a hyperbola, and this hyperbola is only composed of the Determined by the four corner points on the surface. These isosurfaces have isotopological consistency, that is, they can form a continuous surface without holes or suspended surfaces (except at the boundary of volume data). Because for any two voxels whose boundaries are coplanar, if there is an intersection line between the isosurface and their common surface, the intersection line is the intersection line between the isovalue patch and the common surface in the two boundary voxels, that is to say, The two isosurfaces match completely, so it can be considered that the isosurface is a continuous surface composed of many isosurfaces.

MC算法的基本假设是沿着立方体的边的数据场是呈连续线形变化的,也就是说如果一条边的两个顶点分别大于小于等值面的值,在该边上庇佑且仅有一点是这条边与等值面的交点。确定立方体体素等值面的分布是该算法的基础。The basic assumption of the MC algorithm is that the data field along the side of the cube changes in a continuous linear shape, that is to say, if the two vertices of a side are greater than or less than the value of the isosurface, only one point on the side is The intersection of this edge with the isosurface. Determining the distribution of cubic voxel isosurfaces is the basis of the algorithm.

首先我们将经过处理后的图片切片数据可以看做是一些网格点组成的,这些点代表了密度值。每次读出两张切片,形成一层(Layer)两张切片上下相对应的八个点构成一个Cube,也叫Cell,Voxel等。由相邻层上的各4个像素组成立方体的8个顶点,这8个像素构成一个立方体。我们把这个立方体叫做体素。为了确定体元中等值面的剖分方式,因此所求等值面要的一个门限值,然后对体元的八个顶点进行分类,以判定顶点是位于等值面之内还是位于等值面之外;再根据顶点分类结果确定等值面的剖分模式。顶点分类规则为:First of all, we can regard the processed image slice data as composed of some grid points, which represent density values. Read out two slices at a time to form a layer (Layer). The eight points corresponding to the upper and lower sides of the two slices form a Cube, also called Cell, Voxel, etc. The 8 vertices of the cube are composed of 4 pixels on adjacent layers, and these 8 pixels form a cube. We call this cube a voxel. In order to determine the subdivision method of the isosurface in the voxel, a threshold value is required for the isosurface, and then the eight vertices of the voxel are classified to determine whether the vertex is located in the isosurface or in the isovalue surface; and then determine the subdivision mode of the isosurface according to the vertex classification results. Vertex classification rules are:

如果顶点的数据值大于等值面的值,则定义该顶点位于等值面之内,记为“1”;顶点密度值<域值,设为Outside(1)。If the data value of the vertex is greater than the value of the isosurface, it is defined that the vertex is inside the isosurface, which is recorded as "1"; if the vertex density value < the threshold value, it is set as Outside (1).

如果顶点的数据值小于等值面的值,则定义该顶点位于等值面之外,记为“0”。顶点密度值≥域值,Inside(0)。If the data value of the vertex is less than the value of the iso-surface, it is defined that the vertex is outside the iso-surface, recorded as "0". Vertex density value ≥ threshold value, Inside(0).

首先要确定等值面通过那些体素,然后在确定等值面如何与体素相交。当一个体素中一些像素的值大于阈值,而另一些像素小于阈值,那么等值面必然通过这个体素,一个体素的8个像素的值全都小于阈值或者全都大于阈值的话,那么该体素不与等值面相交,等值面不通过该体素。当一个体素与等值面相交的话,必然有一些像素值大于阈值,一些小于阈值。每个像素有两种状态,要么大于阈值,要么小于阈值确定包含等值面的体元。对于8个角点都为1或者都为0的体素,它属于“0”号结构没有等值面穿过该体素。当有1个角点标记为1时为1号结构我们用1个三角面片代表等值面它将该角点与其它七角点分成两部分。对于其余几种构型将产生多个三角面片。flag(i,j,k)=0(1)256种情况。因此共有256种组合状态。每一种组合都对应一种等值面与体素相交的情况。因为8个点有对称关系,256种组合经可简化的15种情况。每一种关系对应等值面如何与体素相交,知道了等值面如何与体素相交后就可以求得等值面与立方体边的交点,这些交点形成的面片就是等值面的一部分。当把所有与等值面相交的体素都找到,并求出相应的相交面后,等值面也就求出来了。最终将这些等值面连接在一起也就构成了面重建后的物体。First determine which voxels the isosurface passes through, and then determine how the isosurface intersects the voxels. When the values of some pixels in a voxel are greater than the threshold, while other pixels are less than the threshold, then the isosurface must pass through this voxel. If the values of 8 pixels in a voxel are all less than the threshold or all are greater than the threshold, then the The voxel does not intersect the isosurface, and the isosurface does not pass through the voxel. When a voxel intersects the isosurface, there must be some pixel values greater than the threshold and some less than the threshold. Each pixel has two states, either greater than the threshold or less than the threshold to determine the voxel containing the isosurface. For a voxel whose 8 corner points are all 1 or 0, it belongs to the "0" structure and no isosurface passes through the voxel. When there is a corner point marked as 1, it is the No. 1 structure. We use a triangular patch to represent the isosurface, which divides the corner point and other seven corner points into two parts. For the remaining configurations, multiple triangles will be generated. flag (i, j, k) = 0 (1) 256 cases. Therefore, there are 256 combined states in total. Each combination corresponds to a case where the isosurface intersects the voxel. Because 8 points have a symmetrical relationship, 256 combinations can be simplified to 15 situations. Each relationship corresponds to how the isosurface intersects the voxel. After knowing how the isosurface intersects the voxel, the intersection point between the isosurface and the cube edge can be obtained. The patch formed by these intersection points is a part of the isosurface . When all the voxels intersecting the isosurface are found and the corresponding intersecting surfaces are obtained, the isosurface is also obtained. Finally, connecting these isosurfaces constitutes the reconstructed object.

简单回顾其算法过程,主要步骤如下:A brief review of its algorithm process, the main steps are as follows:

(1)根据对称关系构建一个256种相交关系的索引表。该表指明等值面与体素的那条边相交;(1) Construct an index table of 256 intersecting relationships according to the symmetrical relationship. The table indicates which edge of the voxel the isosurface intersects with;

(2)提取相邻两层图片中相邻的8个,构成一个体素并把这8个像素编号;(2) Extract adjacent 8 of the adjacent two-layer pictures to form a voxel and number these 8 pixels;

(3)根据每个像素与阈值的比较确定该像素是1还是0;(3) Determine whether the pixel is 1 or 0 according to the comparison between each pixel and the threshold;

(4)把这8个像素构成的01串组成一个8位的索引值;(4) The 01 string formed by these 8 pixels is formed into an 8-bit index value;

(5)用索引值在上边的索引表里像素查找对应关系,并求出与立方体每条边的点;(5) use the index value to look up the corresponding relationship with the pixels in the index table on the top, and find the point with each side of the cube;

(6)用交点构成三角形面片或者是多边形面片;(6) Use the intersection points to form a triangular facet or a polygonal facet;

遍历三维图像的所有体素,重复执行(2)到(6)。Traverse all voxels of the 3D image, and execute (2) to (6) repeatedly.

MC算法的改进Improvement of MC Algorithm

经过MC重建后,我们已经可以得到一个还算不错的重建效果然而重建后的三维模型还存在着许许多多的瑕疵,因此我们需要对其进行一系列的优化,从而得到更好的效果。After MC reconstruction, we can already get a fairly good reconstruction effect. However, there are still many flaws in the reconstructed 3D model, so we need to make a series of optimizations to get better results.

1.用三角带连接分散的三角面片1. Use triangular strips to connect scattered triangular faces

三维模型是由许许多多的三角面片构成的,然而过多的三角面片会大量占用内存,这对于我们平时所使用的PC机是一个巨大的挑战。因此这里我们采用将三角面片连成三角带的方法来减少内存占用。如上图所示,单个的三角面片需要存储三个顶点的坐标,那么N个三角形需要存储3N个点。而如果将这些三角面片连成三角带,则只需要N+2个点。节省了2/3的内存。这对于我们常常多达几十万,甚至几百万个个三角面片的骨骼模型来说是一个巨大的改进。The 3D model is composed of many triangular faces, but too many triangular faces will occupy a large amount of memory, which is a huge challenge for the PCs we usually use. Therefore, here we use the method of connecting triangle patches into triangle strips to reduce memory usage. As shown in the figure above, a single triangle patch needs to store the coordinates of three vertices, then N triangles need to store 3N points. And if these triangle faces are connected into a triangle belt, only N+2 points are needed. Save 2/3 of the memory. This is a huge improvement for our skeletal models that often have hundreds of thousands or even millions of triangular faces.

2.削减三角面片的数量2. Reduce the number of triangles

虽然我们通过连接三角面片生成三角面带的方法,大量较少了内存使用量。然而还有值得注意的一点是,我们希望最终的三维模型能够被成功地被3D打印成实体,可是3D打印机精度有限(一般0.1mm),也就意味着虽然我们有着十分精细的三维模型,但是3D打印机无法识别这么精细的结构。所以秉承着“不求最好,只求最合适”的思想,我们在这里大幅削减三角面片,这样做的好处也包括减少时间与空间复杂度,有利于后续的操作。Although we generate triangle strips by connecting triangle patches, the memory usage is greatly reduced. However, it is worth noting that we hope that the final 3D model can be successfully 3D printed into a solid body, but the accuracy of 3D printers is limited (generally 0.1mm), which means that although we have a very fine 3D model, but 3D printers cannot recognize such fine structures. Therefore, adhering to the idea of "not seeking the best, only seeking the most suitable", we greatly reduce the triangular faces here. The benefits of doing so also include reducing time and space complexity, which is beneficial to subsequent operations.

这里我们采用William(Schroeder W J,Zarge J A,Lorensen W E.Decimationof triangle meshes[C]//ACM Siggraph Computer Graphics.ACM,1992,26(2):65-70.)的方法首先确定每个三角面片属于哪种类型,然后根据每种类型的三角面片的属性,如简单型平面与地面距离,边界型与边的距离等属性决定删除哪一个三角面片,之后再定位生成的洞,补全这些孔洞,直到达到用户设定的削减比例。是不同削减比例所达到的效果图。然而这种方法当设定值过高时,容易改变模型的拓扑结构,甚至会产生孔洞。解决的办法是尽量避免设定过高的削减比例,同时在下一节进行补洞操作。Here we use the method of William (Schroeder W J, Zarge J A, Lorensen W E. Decimation of triangle meshes[C]//ACM Siggraph Computer Graphics. ACM, 1992,26(2):65-70.) to first determine each triangle Which type of patch belongs to, and then according to the attributes of each type of triangular patch, such as the distance between the simple plane and the ground, the distance between the boundary type and the edge, etc., it is determined which triangle to delete, and then the generated hole is positioned and filled. These holes are trimmed until the user-set reduction ratio is reached. It is the effect diagram achieved by different reduction ratios. However, when the setting value of this method is too high, it is easy to change the topology of the model, and even produce holes. The solution is to try to avoid setting too high a reduction ratio, while filling holes in the next section.

3.过滤离散的噪声区域3. Filter discrete noise regions

我们可以发现图中除了我们想要的骨骼部分,还有一些其他杂质,如:CT检测床,一些分割阶段遗留的噪声。这些部分都是我们不需要的部分,因此我们需要通过算法将其过滤掉。这里我们主要采用连接性检测,首先将所有三角面片排成序列,然后以第一个三角面片作为树根,然后逐步找到所有连在一起的三角面片作为一个整体。最终将整个模型分为几个不相交的区域。然后计算每个区域三角面片的数量,选取最大的两个区域即得到了我们想要的骨骼模型,具体如图2(a)-图2(b)所示,模型中各个连接部分,图2(a)为标记出不同部分,图2(b)为过滤后的结果。We can find that in addition to the bone part we want, there are some other impurities in the picture, such as: CT detection bed, some noise left over from the segmentation stage. These parts are all parts we don't need, so we need to filter them out through the algorithm. Here we mainly use connectivity detection, first arrange all the triangles into a sequence, then take the first triangle as the root, and then gradually find all the connected triangles as a whole. Eventually the whole model is divided into several disjoint regions. Then calculate the number of triangles in each area, and select the two largest areas to get the bone model we want, as shown in Figure 2(a)-Figure 2(b), the connection parts in the model, Fig. 2(a) is to mark different parts, and Fig. 2(b) is the filtered result.

4.补洞4. Fill holes

在得到我们想要的区域之后,我们就要开始精细化我们的模型,减少其中的孔洞。我们首先需要检测出孔洞,这里我们采用这样的算法:首先遍历所有的边,如果一条边没有同时被两个及以上的三角面片利用到,那么存储这条边。之后我们得到了这种单边的集合,从中找出能首尾相连的子集即为空洞的轮廓。然后将此区域三角化,形成新的三角面片,从而补齐孔洞。具体如图3(a)-图3(b)所示,为补洞前后的对比图然而我们发现模型中还是有一些疑似空洞的地方,可是并未被检测到或者补齐。通过将三角面片网格化,我们发现这些区域并非孔洞,而是一些凹进去的结构,这可能与我们分割时分割结果不够精细有关。经过大量的实验我们发现,这些凹进去的区域边缘三角面片间的角度相差极大。因此我们通过计算所有三角面片与相邻面片的夹角,找出其中的异常面片,构成异常面片集合,然后再搜索其中的闭合区域,即可自动定位这些凹陷区域。之后再通过在此区域增加三角面片的方法,最终完成模型的修补。具体如图4(a)-图4(b)所示。图4(a)为检测到的凹陷区域,图4(b)区分出不同的凹陷区域。After we get the regions we want, we start refining our model and reducing the holes in it. We first need to detect holes, here we use this algorithm: first traverse all edges, if an edge is not used by two or more triangles at the same time, then store this edge. Afterwards, we obtained this kind of unilateral set, and found the subset that can be connected end to end, which is the empty outline. This area is then triangulated to form a new triangular patch to fill the hole. Specifically, as shown in Figure 3(a)-Figure 3(b), it is a comparison picture before and after hole filling. However, we found that there are still some suspected holes in the model, but they have not been detected or filled. By meshing the triangular facets, we found that these areas are not holes, but some concave structures, which may be related to the insufficient fineness of the segmentation results when we segmented. After a lot of experiments, we found that the angles between the triangular patches at the edges of these concave regions are very different. Therefore, by calculating the angles between all triangular patches and adjacent patches, finding out the abnormal patches, forming a set of abnormal patches, and then searching for the closed areas, we can automatically locate these depressed areas. Afterwards, by adding triangular patches in this area, the model is finally repaired. The details are shown in Figure 4(a)-Figure 4(b). Figure 4(a) is the detected concave region, and Figure 4(b) distinguishes different concave regions.

不同分割算法对于重建效果的影响Effect of Different Segmentation Algorithms on Reconstruction Effect

在完成了重建算法的提出与改进之后,我们开始结合之前的分割结果进行最终的3D重建。我们将之前的图像分割做进一步处理,所有分割出的目标区域像素设为“1”,而所有的背景区域像素值设为“0”,提取目标区域后得到点云数据。After completing the proposal and improvement of the reconstruction algorithm, we began to combine the previous segmentation results for the final 3D reconstruction. We further process the previous image segmentation, set all the segmented target area pixels to "1", and all the background area pixel values to "0", and extract the target area to obtain point cloud data.

由于Chan-Vese对于骨骼数据分割效果不佳,因此我们这里主要对比auto-GraphCuts和我们自己的IP+Canny分割结果进行重建,经过重建后,其结果可见图4(c)-图4(d)所示,图4(c)为auto-Graph Cuts重建结果,图4(d)为IP+Canny分割后的重建结果。我们可以发现auto-Graph Cuts的重建结果十分恶劣,中间断层严重,而IP+Canny的重建结果整体效果是不错的。我们将二者部分区域放大,从而细致观察其内部结构。Since Chan-Vese is not effective for bone data segmentation, we mainly compare auto-GraphCuts and our own IP+Canny segmentation results for reconstruction. After reconstruction, the results can be seen in Figure 4(c)-Figure 4(d) As shown, Figure 4(c) is the reconstruction result of auto-Graph Cuts, and Figure 4(d) is the reconstruction result after IP+Canny segmentation. We can find that the reconstruction results of auto-Graph Cuts are very bad, and the middle fault is serious, while the overall effect of the reconstruction results of IP+Canny is good. We zoomed in on some areas of the two to observe their internal structures in detail.

可视化及图形界面(GUI)Visualization and Graphical Interface (GUI)

在完成了分割及重建过程后,我们需要整合两部分内容,并且能过显示在屏幕上,与用户完成一定的交互。这里我们主要采用VTK实现三维模型的可视化,Qt作为整个软件的GUI,然后我们将界面分为两部分,左侧用于二维图像显示,处理与交互,而右侧则用来显示生成的三维模型并且实现简单的交互。左侧二维图像显示处理部分的主要功能有:After completing the segmentation and reconstruction process, we need to integrate the two parts and display them on the screen to complete certain interactions with the user. Here we mainly use VTK to realize the visualization of the 3D model, Qt is used as the GUI of the whole software, and then we divide the interface into two parts, the left side is used for 2D image display, processing and interaction, and the right side is used to display the generated 3D model and implement simple interactions. The main functions of the two-dimensional image display processing part on the left are:

1.读取并显示二维医学图像,同时可显示任意点的坐标及灰度值;1. Read and display two-dimensional medical images, and at the same time display the coordinates and gray value of any point;

2.得到医学图像的梯度,并显示出来;2. Obtain the gradient of the medical image and display it;

3.显示图像的灰度直方图,并用曲线拟合出来;3. Display the gray histogram of the image and fit it with a curve;

4.实现简单的图像编辑。4. Realize simple image editing.

右侧的主要功能是允许用户选择要处理的医学文件,然后显示重建出的三维模型,并可以进行平移,缩放等交互操作。The main function on the right side is to allow the user to select the medical file to be processed, and then display the reconstructed 3D model, and perform interactive operations such as translation and zooming.

3D打印原理3D printing principle

3D打印,即快速成型技术的一种,它是一种以数字模型文件为基础,运用粉末状金属或塑料等可粘合材料,通过逐层打印的方式来构造物体的技术。3D printing is a kind of rapid prototyping technology. It is a technology based on digital model files and using bondable materials such as powdered metal or plastic to construct objects by layer-by-layer printing.

3D打印技术出现在20世纪90年代中期,实际上是利用光固化和纸层叠等技术的最新快速成型装置。它与普通打印工作原理基本相同,打印机内装有液体或粉末等“打印材料”,与电脑连接后,通过电脑控制把“打印材料”一层层叠加起来,最终把计算机上的蓝图变成实物。这种打印技术叫做3D打印技术。3D printing technology appeared in the mid-1990s and is actually the latest rapid prototyping device utilizing technologies such as light curing and paper lamination. The working principle of it is basically the same as that of ordinary printing. The printer is filled with "printing materials" such as liquid or powder. After being connected to the computer, the "printing materials" are superimposed layer by layer through computer control, and finally the blueprint on the computer is turned into a real object. This printing technology is called 3D printing technology.

现如今,3D打印机主要采用以下几种技术进行快速成型:分层实体制造(LOM):根据零件分层几何信息切割箔材和纸等,将所获得的层片粘接成三维实体。立体光固化成型法(SLA):用特定波长与强度的激光聚焦到光固化材料表面,使之由点到线,由线到面顺序凝固,完成一个层面的绘图作业,然后升降台在垂直方向移动一个层片的高度,再固化另一个层面。这样层层叠加构成一个三维实体。选择性激光烧结法(SLS):利用粉末状材料成形的。将材料粉末铺洒在已成形零件的上表面,并刮平。用高强度的CO2激光器在刚铺的新层上扫描出零件截面;材料粉末在高强度的激光照射下被烧结在一起,得到零件的截面,并与下面已成形的部分连接,当一层截面烧结完后,铺上新的一层粉末材料,选择地烧结下层截面,直至整体打印完毕。熔融沉积制造法(FDM):加热头把热熔性材料(ABS树脂、尼龙、蜡等)加热到临界状态,呈现半流体性质,在计算机控制下,沿CAD确定的二维几何信息运动轨迹,喷头将半流动状态的材料挤压出来,凝固形成轮廓形状的薄层。当一层完毕后,通过垂直升降系统降下新形成层,进行固化。这样层层堆积粘结,自下而上形成一个零件的三维实体。Nowadays, 3D printers mainly use the following technologies for rapid prototyping: layered solid manufacturing (LOM): cutting foil and paper according to the layered geometric information of the part, and bonding the obtained layers into a three-dimensional solid. Stereolithography (SLA): Use a laser with a specific wavelength and intensity to focus on the surface of the photo-curable material to solidify it sequentially from point to line and from line to surface to complete a layer of drawing work, and then the lifting table is vertically Move the height of one ply before solidifying another. In this way, layers are superimposed to form a three-dimensional entity. Selective Laser Sintering (SLS): Formed using powdered materials. Sprinkle the material powder on the upper surface of the formed part and smooth it. Use a high-intensity CO2 laser to scan the section of the part on the newly laid layer; the material powder is sintered together under high-intensity laser irradiation to obtain the section of the part and connect it with the formed part below. After sintering, a new layer of powder material is laid, and the lower section is selectively sintered until the whole is printed. Fused deposition manufacturing (FDM): The heating head heats the hot-melt material (ABS resin, nylon, wax, etc.) to a critical state, showing semi-fluid properties, and under the control of the computer, moves along the two-dimensional geometric information determined by CAD. The extruder extrudes the material in a semi-fluid state and solidifies to form a thin layer of contour shape. When one layer is completed, the new cambium is lowered by the vertical lifting system for curing. In this way, layers are stacked and bonded to form a three-dimensional solid of a part from bottom to top.

打印流程包括三部分:首先设计模型,通过大量的诸如Ug,auto-cad等三维建模软件来设计我们需要的模型,得到相应文件。然后将模型文件逐层切片,确定每次层的着料点,并规划走线方式,最终生成Gcode文件,即打印机可以识别的机器代码。最后3D打印机接受指令,喷头开始慢慢移动,平台开始逐层下降,最终完成整个模型的打印。The printing process includes three parts: first design the model, design the model we need through a large number of 3D modeling software such as Ug and auto-cad, and get the corresponding files. Then slice the model file layer by layer, determine the material point of each layer, and plan the routing method, and finally generate a Gcode file, that is, a machine code that the printer can recognize. Finally, the 3D printer accepts the instruction, the nozzle starts to move slowly, the platform starts to descend layer by layer, and finally the entire model is printed.

重建模型的验证Validation of the reconstructed model

在介绍完3D打印的基本原理后,我们开始通过3D打印技术打印我们重建的模型,从而通过观察以及触摸来验证我们模型构造的有效性。After introducing the basic principles of 3D printing, we began to print our reconstructed model through 3D printing technology, so as to verify the effectiveness of our model construction through observation and touch.

由于FDM使用、维护简单,操作环境干净,材料成本较低,打印出的模型硬度相对较大,因此这里我们主要采用FDM法进行3D打印。FDM主要是用两种材料:ABS(丙烯腈-丁二烯-苯乙烯共聚物)和PLA(生物降解塑料聚乳酸),我们均作了尝试,并通过大量的实验来对比各种材料在不同参数下的表现,并记录下其分别适合的情况。通过大量的实验我们发现PLA材料更好一些,PLA无ABS的刺鼻气味,一般情况下不会翘角。另外PLA具有较低的收缩率,即使模型尺寸较大依然表现良好,同时熔体强度较低,打印模型更易塑形,表面光泽性优异,色彩艳丽。因此在最终的骨骼打印中,我们也采用了PLA材料进行实验。Because FDM is easy to use and maintain, the operating environment is clean, the material cost is low, and the printed model is relatively hard, so here we mainly use the FDM method for 3D printing. FDM mainly uses two kinds of materials: ABS (acrylonitrile-butadiene-styrene copolymer) and PLA (biodegradable plastic polylactic acid). parameters, and record their respective fits. Through a lot of experiments, we found that the PLA material is better, PLA has no pungent smell of ABS, and generally does not warp corners. In addition, PLA has a low shrinkage rate, and it still performs well even if the size of the model is large. At the same time, the melt strength is low, the printed model is easier to shape, the surface gloss is excellent, and the color is bright. Therefore, in the final bone printing, we also used PLA materials for experiments.

实验中我们分别将胸骨以及腿骨进行分割重建,然后利用3D打印机打印出了这两个部分的模型实体,我们的打印效果与模型相比,无论是大小,形状还是微小细节均较为相似,这也就验证了我们想法的可行性。虽然打印出模型的表面比较粗糙,但根据之前打印其它样品的经验来看,这种粗糙是由打印机的精度以及稳定度造成的,因此我们的重建模型基本可以达到一定的精度要求。当然3D打印不仅仅能验证我们重建的效果,其在医学领域还有许多广泛的应用,其未来可能应用:In the experiment, we segmented and reconstructed the sternum and leg bones, and then used a 3D printer to print out the model entities of these two parts. Compared with the model, our printing effect is similar in size, shape and tiny details. It also verified the feasibility of our idea. Although the surface of the printed model is relatively rough, according to the previous experience of printing other samples, this roughness is caused by the accuracy and stability of the printer, so our reconstructed model can basically meet certain accuracy requirements. Of course, 3D printing can not only verify the effect of our reconstruction, but also has many extensive applications in the medical field, and its possible future applications:

通过仿真人体内部真实环境,制定手术计划;设计人体器官,通过特殊材料打印出仿生耳,仿生眼以及假肢等个性化器具,从而更好的帮助残障人士;By simulating the real environment inside the human body, formulate surgical plans; design human organs, print out bionic ears, bionic eyes and artificial limbs and other personalized appliances through special materials, so as to better help the disabled;

由于三维模型的可触摸性,细节表现性,可以用于医学研究,帮助研究者更有效地开展实验;通过三维模型可以更直观的展现给医科学生,从而提高教学及训练水平。Due to the touchability and detailed representation of the 3D model, it can be used in medical research to help researchers carry out experiments more effectively; the 3D model can be more intuitively displayed to medical students, thereby improving the level of teaching and training.

Claims (10)

1.一种基于医疗图像的分割与三维重建方法,其特征在于,包括如下步骤:1. A segmentation and three-dimensional reconstruction method based on medical image, is characterized in that, comprises the steps: 对原始医疗图像中冗余信息进行处理,剔除像素值的上、下阈值范围内的信息;Process the redundant information in the original medical image, and eliminate the information within the upper and lower threshold range of the pixel value; 通过增大图像的对比度,抽取上述图像中的骨骼与背景的交界信息,得到梯度图;By increasing the contrast of the image, the boundary information between the bone and the background in the above image is extracted to obtain a gradient map; 高斯平滑化操作所述梯度图后采用canny算法检测图像的边缘后确定轮廓并添加轮廓限制;After Gaussian smoothing operation of the gradient map, the canny algorithm is used to detect the edge of the image, and then the contour is determined and the contour limit is added; 根据上述图像分割后得到的图像通过MC算法进行三维重建。The image obtained after the above image segmentation is subjected to three-dimensional reconstruction through the MC algorithm. 2.根据权利要求1所述的分割与三维重建方法,其特征在于,还包括如下可视化及图形界面的操作步骤:2. segmentation and three-dimensional reconstruction method according to claim 1, is characterized in that, also comprises the operation step of following visualization and graphical interface: 采用VTK实现上述三维重新后三维模型的可视化,通过Qt作为GUI;VTK is used to realize the visualization of the 3D model after the above 3D reconstruction, and Qt is used as GUI; 以及,通过第一图形界面显示二维图像以及处理与用户的交互;And, displaying a two-dimensional image and processing interaction with a user through the first graphical interface; 通过第二图形界面显示生成的三维模型以及处理与用户的交互。The generated three-dimensional model is displayed and the interaction with the user is processed through the second graphical interface. 3.根据权利要求1所述的分割与三维重建方法,其特征在于,通过所述MC算法进行三维重建时,包括如下优化步骤:3. segmentation and three-dimensional reconstruction method according to claim 1, is characterized in that, when carrying out three-dimensional reconstruction by described MC algorithm, comprises following optimization steps: 采用三角带连接分散的三角面片,减少内存占用;Use triangular strips to connect scattered triangular patches to reduce memory usage; 根据单个的三角面片需要存储三个顶点的坐标,则N个三角形需要存储3N个点,According to the coordinates of three vertices that need to be stored in a single triangular patch, N triangles need to store 3N points, 若将这些三角面片连成三角带,则需要N+2个点。If these triangular faces are connected into a triangular strip, N+2 points are needed. 4.根据权利要求1或3所述的分割与三维重建方法,其特征在于,通过所述MC算法进行三维重建时,包括如下优化步骤:4. according to claim 1 or 3 described segmentation and three-dimensional reconstruction method, it is characterized in that, when carrying out three-dimensional reconstruction by described MC algorithm, comprise following optimization steps: 采用削减三角面片的数量,减少时间与空间复杂度;Reduce the time and space complexity by reducing the number of triangle faces; 首先,确定每个三角面片属于哪种类型,然后根据每种类型的三角面片的属性,决定删除哪一个三角面片;First, determine which type each triangle belongs to, and then decide which triangle to delete according to the attributes of each type of triangle; 其次,再定位生成的洞,补全这些孔洞,直到达到用户设定的削减比例。Second, relocate the resulting holes and fill them in until the user-set reduction ratio is reached. 5.根据权利要求1或2所述的分割与三维重建方法,其特征在于,通过所述MC算法进行三维重建时,包括如下优化步骤:5. segmentation and three-dimensional reconstruction method according to claim 1 or 2, is characterized in that, when carrying out three-dimensional reconstruction by described MC algorithm, comprises following optimization steps: 采用连接性检测过滤离散的噪声区域,去除杂质;Use connectivity detection to filter discrete noise regions and remove impurities; 首先,将所有三角面片排成序列,然后以第一个三角面片作为树根;First, arrange all the triangular faces in sequence, and then use the first triangular face as the root of the tree; 其次,逐步找到所有连在一起的三角面片作为一个整体;Second, gradually find all connected triangles as a whole; 最终,将整个模型分为几个不相交的区域,并计算每个区域三角面片的数量,选取最大的两个区域。Finally, the entire model is divided into several disjoint regions, and the number of triangles in each region is calculated, and the two largest regions are selected. 6.根据权利要求1、2或3所述的分割与三维重建方法,其特征在于,通过所述MC算法进行三维重建时,包括如下优化步骤:6. according to claim 1,2 or 3 described segmentation and three-dimensional reconstruction method, it is characterized in that, when carrying out three-dimensional reconstruction by described MC algorithm, comprise following optimization steps: 检测出孔洞,并通过补洞对模型精细化处理;Detect holes and refine the model by filling holes; 首先,遍历所有的边,如果一条边没有同时被两个及以上的三角面片利用到,则存储该条条边后,得到该种单边的集合,从所述集合中找出能首尾相连的子集即为空洞的轮廓;First, traverse all the edges. If an edge is not used by two or more triangular patches at the same time, after storing the edges, get the set of such single edges, and find out from the set that can be connected end to end The subset of is the hollow contour; 然后,将该区域三角化,形成新的三角面片后补齐孔洞;Then, triangulate the area to form a new triangular patch and fill the holes; 最后,通过计算所有三角面片与相邻面片的夹角,找出其中的异常面片,构成异常面片集合,然后再搜索其中的闭合区域,即可自动定位这些凹陷区域,之后再通过在此区域增加三角面片的方法,最终完成模型的修补。Finally, by calculating the angles between all triangular patches and adjacent patches, finding the abnormal patches among them, forming a set of abnormal patches, and then searching for the closed areas, these depressed areas can be automatically located, and then through The method of adding triangular faces in this area finally completes the repair of the model. 7.一种基于医疗图像的分割与三维重建的系统,其特征在于,包括:图像分割模块和三维重建模块,所述图像分割模块,用以对原始医疗图像中冗余信息进行处理,剔除像素值的上、下阈值范围内的信息;通过增大图像的对比度,抽取上述图像中的骨骼与背景的交界信息,得到梯度图;高斯平滑化操作所述梯度图后采用canny算法检测图像的边缘后确定轮廓并添加轮廓限制;所述三维重建模块,用以接收上述图像分割模块的处理结果,并通过第二图形界面显示生成的三维模型以及处理与用户的交互。7. A system based on medical image segmentation and three-dimensional reconstruction, characterized in that it includes: an image segmentation module and a three-dimensional reconstruction module, the image segmentation module is used to process redundant information in the original medical image and remove pixels The information within the upper and lower threshold range of the value; by increasing the contrast of the image, extract the boundary information between the bone and the background in the above image to obtain a gradient map; after Gaussian smoothing operation on the gradient map, use the canny algorithm to detect the edge of the image Afterwards, the outline is determined and outline restrictions are added; the 3D reconstruction module is used to receive the processing result of the above-mentioned image segmentation module, and display the generated 3D model through the second graphical interface and process the interaction with the user. 8.根据权利要求7所述的分割与三维重建系统,其特征在于,还包括3D打印模块,用以接收所述三维重建模块的处理结果,并通过逐层打印的方式来构造所述三维重建模块中的重建模型。8. The segmentation and three-dimensional reconstruction system according to claim 7, further comprising a 3D printing module for receiving the processing results of the three-dimensional reconstruction module, and constructing the three-dimensional reconstruction by layer-by-layer printing The reconstructed model in the module. 9.一种可视化及带有图形界面的系统,其特征在于,包括如权利要求7或8所述的分割与三维重建系统,还包括,显示器,9. A visualization and a system with a graphical interface, characterized in that it includes the segmentation and three-dimensional reconstruction system as claimed in claim 7 or 8, and also includes a display, 所述显示器被配置为:采用VTK实现上述三维重新后三维模型的可视化,通过Qt作为GUI;以及,通过第一图形界面显示二维图像以及处理与用户的交互;通过第二图形界面显示生成的三维模型以及处理与用户的交互。The display is configured to: adopt VTK to realize the visualization of the three-dimensional model after the above-mentioned three-dimensional reconstruction, and use Qt as a GUI; and, display two-dimensional images and process interaction with users through the first graphical interface; display the generated results through the second graphical interface 3D model and handle interaction with the user. 10.一种3D打印系统,采用如权利要求1所述的分割与三维重建方法得到重建模型,其特征在于,通过FDM熔融沉积制造法对所述重建模型进行3D打印,其中,所述FDM法中采用:ABS丙烯腈-丁二烯-苯乙烯共聚物和/或PLA生物降解塑料聚乳酸中的一种材料。10. A 3D printing system, adopting the segmentation and three-dimensional reconstruction method as claimed in claim 1 to obtain the reconstruction model, characterized in that, the reconstruction model is 3D printed by FDM fused deposition manufacturing method, wherein the FDM method Used in: one of ABS acrylonitrile-butadiene-styrene copolymer and/or PLA biodegradable plastic polylactic acid.
CN201611045004.7A 2016-11-24 2016-11-24 Medical image based segmentation and 3D reconstruction method and 3D printing system Pending CN106373168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611045004.7A CN106373168A (en) 2016-11-24 2016-11-24 Medical image based segmentation and 3D reconstruction method and 3D printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611045004.7A CN106373168A (en) 2016-11-24 2016-11-24 Medical image based segmentation and 3D reconstruction method and 3D printing system

Publications (1)

Publication Number Publication Date
CN106373168A true CN106373168A (en) 2017-02-01

Family

ID=57891334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611045004.7A Pending CN106373168A (en) 2016-11-24 2016-11-24 Medical image based segmentation and 3D reconstruction method and 3D printing system

Country Status (1)

Country Link
CN (1) CN106373168A (en)

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971400A (en) * 2017-03-10 2017-07-21 中国航空工业集团公司洛阳电光设备研究所 A kind of method for repairing and mending and its device of image cut-off rule
CN107424583A (en) * 2017-07-03 2017-12-01 威创集团股份有限公司 The data display processing method and system of special-shaped image
CN107657605A (en) * 2017-09-11 2018-02-02 中南大学 A kind of Measurement of surface deepth method before sieve plate based on active profile and energy constraint
CN107895364A (en) * 2017-10-31 2018-04-10 哈尔滨理工大学 A kind of three-dimensional reconstruction system for the preoperative planning of virtual operation
CN108133509A (en) * 2017-12-12 2018-06-08 重庆花椒科技有限公司 Method and apparatus based on four-dimensional color ultrasound figure structure 3D models
CN108711168A (en) * 2018-06-04 2018-10-26 中北大学 Non-rigid multimodal medical image registration method based on ZMLD Yu GC discrete optimizations
CN109147061A (en) * 2018-07-20 2019-01-04 清华大学 The method that the segmentation result of a kind of pair of volume data carries out human-computer interaction editor
CN109493325A (en) * 2018-10-23 2019-03-19 清华大学 Tumor Heterogeneity analysis system based on CT images
WO2019056309A1 (en) * 2017-09-22 2019-03-28 Shenzhen United Imaging Healthcare Co., Ltd. Method and system for generating a phase contrast image
CN109741439A (en) * 2018-12-07 2019-05-10 广州医科大学 A three-dimensional reconstruction method of two-dimensional MRI fetal images
CN109949267A (en) * 2019-01-21 2019-06-28 西安交通大学 A kind of quick three-dimensional reconstructing method of more material layer datas to entity
CN110084882A (en) * 2019-04-02 2019-08-02 哈尔滨理工大学 A kind of vertebra CT 3-dimensional reconstruction and method for visualizing based on super-pixel
CN110189606A (en) * 2019-06-11 2019-08-30 四川大学华西第二医院 A method of building uterus and the huge mass model of fetus neck
CN110442994A (en) * 2019-08-13 2019-11-12 嘉兴学院 A kind of 3D printing sliced sheet processing method based on graph theory
CN110930389A (en) * 2019-11-22 2020-03-27 北京灵医灵科技有限公司 Region segmentation method, device and storage medium for three-dimensional medical model data
CN111105475A (en) * 2019-12-24 2020-05-05 电子科技大学 A three-dimensional reconstruction method of bone based on orthogonal angle X-ray
CN111159876A (en) * 2019-12-25 2020-05-15 安徽数研智能科技有限公司 Design method for rapidly realizing 3D printing model based on MRI medical image and contour drawing
CN111199674A (en) * 2020-01-21 2020-05-26 珠海赛纳三维科技有限公司 Heart model, and three-dimensional printing method and system of heart model
CN111311608A (en) * 2020-02-05 2020-06-19 方军 Method, apparatus and computer-readable storage medium for assessing wounds
CN111476881A (en) * 2020-03-18 2020-07-31 创业慧康科技股份有限公司 Human tissue organ three-dimensional reconstruction method based on structural similarity level set algorithm
CN111539963A (en) * 2020-04-01 2020-08-14 上海交通大学 Bone scan image hot spot segmentation method, system, medium and device
CN111602177A (en) * 2018-12-20 2020-08-28 卡尔蔡司光学国际有限公司 Method and apparatus for generating 3D reconstruction of objects
CN111739139A (en) * 2020-06-24 2020-10-02 西北大学 A three-dimensional reconstruction method of noisy CT images
CN111833450A (en) * 2020-07-08 2020-10-27 重庆邮电大学 An ultrasonic 3D fast reconstruction and analysis method integrating finite element analysis method
CN111868781A (en) * 2018-01-10 2020-10-30 消化器官癌症研究所 A process for automatically segmenting 3D medical images through structured convolution through multiple neural networks according to their geometry
CN112465802A (en) * 2020-12-10 2021-03-09 上海联影医疗科技股份有限公司 Method, system, terminal and computer readable storage medium for processing tomographic image
CN112598682A (en) * 2020-12-25 2021-04-02 公安部第一研究所 Three-dimensional CT image sectioning method and device based on any angle
WO2021082507A1 (en) * 2019-10-31 2021-05-06 五邑大学 Semi-automated image segmentation and data annotation method, electronic device and storage medium
CN112767233A (en) * 2021-01-07 2021-05-07 中电云脑(天津)科技有限公司 Focal three-dimensional imaging method and system based on Dicom3d player and storage medium
CN112947069A (en) * 2021-01-28 2021-06-11 内蒙古大学 Control method for moving two-wheeled robot
CN113231910A (en) * 2021-04-29 2021-08-10 武汉中观自动化科技有限公司 Method and system for acquiring polishing track of sole edge
CN113240720A (en) * 2021-05-25 2021-08-10 中德(珠海)人工智能研究院有限公司 Three-dimensional surface reconstruction method and device, server and readable storage medium
CN113264450A (en) * 2021-04-15 2021-08-17 河南五建建设集团有限公司 Small curve radius non-balanced cantilever of tire type beam lifting machine and assembling construction system
CN113469945A (en) * 2021-06-03 2021-10-01 山东大学 Sacral nerve modeling method and system based on CT and MRI imaging fusion
CN113554057A (en) * 2021-06-21 2021-10-26 北京百度网讯科技有限公司 Graph segmentation method and device and electronic equipment
CN113561491A (en) * 2021-07-25 2021-10-29 大连理工大学 Path planning method for biological 3D printing based on Euler circuit
CN113614790A (en) * 2019-01-11 2021-11-05 阿克西亚尔医学印刷有限公司 Method for generating a 3D-printable model of a patient-specific anatomy
CN113888566A (en) * 2021-09-29 2022-01-04 推想医疗科技股份有限公司 Target contour curve determining method and device, electronic equipment and storage medium
CN114078139A (en) * 2021-11-25 2022-02-22 四川长虹电器股份有限公司 Image post-processing method based on portrait segmentation model generation result
CN114219919A (en) * 2021-12-06 2022-03-22 西安大医集团股份有限公司 Medical image processing method and device, computer equipment and storage medium
CN114241086A (en) * 2021-12-20 2022-03-25 杭州电子科技大学 Mass data drawing optimization method based on maximum triangle three-segment algorithm
TWI793008B (en) * 2022-05-10 2023-02-11 中國醫藥大學 Image projecting method for demonstrating internal information
CN116912213A (en) * 2023-07-20 2023-10-20 中国人民解放军总医院第六医学中心 A medical Dicom image edge contour multi-edge detection algorithm and detection system
CN118135141A (en) * 2024-03-25 2024-06-04 东北石油大学 A pore three-dimensional reconstruction method and system based on rock images
CN118427900A (en) * 2024-04-25 2024-08-02 中国科学院自动化研究所 Reverse reconstruction method and device for computer-aided design model
US12154691B2 (en) 2021-02-11 2024-11-26 Axial Medical Printing Limited Systems and methods for automated segmentation of patient specific anatomies for pathology specific measurements
CN119131298A (en) * 2024-09-09 2024-12-13 中国科学技术大学 Three-dimensional reconstruction method of cardiac chambers based on echocardiography and related devices
US12277712B2 (en) 2016-10-14 2025-04-15 Axial Medical Printing Limited Method for generating a 3D physical model of a patient specific anatomic feature from 2D medical images
CN119919406A (en) * 2025-04-02 2025-05-02 四川大学华西医院 A fully automatic measurement method, system, terminal and medium for knee valgus and valgus
WO2025107103A1 (en) * 2023-11-20 2025-05-30 天枢摇光(北京)科技有限公司 Watertight method for trimmed surface boundary, and device
US12444506B2 (en) 2021-02-11 2025-10-14 Axial Medical Printing Limited Systems and methods for automated segmentation of patient specific anatomies for pathology specific measurements

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261068A (en) * 2015-11-16 2016-01-20 中国石油大学(华东) Micro-CT technology-based reservoir core three-dimensional entity model reconstruction method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261068A (en) * 2015-11-16 2016-01-20 中国石油大学(华东) Micro-CT technology-based reservoir core three-dimensional entity model reconstruction method

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
WILLIAM J. SCHROEDER,ET, AL.: "Decimation of triangle meshes", 《ACM SIGGRAPH COMPUTER GRAPHICS》 *
刘云伍: "基于图像分割的医学图像三维重建算法", 《应用技术》 *
张丽艳等: "三角网格模型孔洞修补算法研究", 《应用科学学报》 *
李改: "Marching Cubes 算法中等值面的优化分析", 《吉首大学学报(自然科学版)》 *
谭建豪等: "《数字图像处理与移动机器人路径规划》", 30 April 2013, 华中科技大学出版社 *

Cited By (75)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12277712B2 (en) 2016-10-14 2025-04-15 Axial Medical Printing Limited Method for generating a 3D physical model of a patient specific anatomic feature from 2D medical images
CN106971400B (en) * 2017-03-10 2020-11-10 中国航空工业集团公司洛阳电光设备研究所 Method and device for repairing image dividing line
CN106971400A (en) * 2017-03-10 2017-07-21 中国航空工业集团公司洛阳电光设备研究所 A kind of method for repairing and mending and its device of image cut-off rule
CN107424583A (en) * 2017-07-03 2017-12-01 威创集团股份有限公司 The data display processing method and system of special-shaped image
CN107657605A (en) * 2017-09-11 2018-02-02 中南大学 A kind of Measurement of surface deepth method before sieve plate based on active profile and energy constraint
CN107657605B (en) * 2017-09-11 2019-12-03 中南大学 A kind of sieve plate front surface depth measurement method based on active profile and energy constraint
US10702230B2 (en) 2017-09-22 2020-07-07 Shanghai United Imaging Healthcare Co., Ltd. Method and system for generating a phase contrast image
WO2019056309A1 (en) * 2017-09-22 2019-03-28 Shenzhen United Imaging Healthcare Co., Ltd. Method and system for generating a phase contrast image
CN107895364B (en) * 2017-10-31 2019-06-14 哈尔滨理工大学 A 3D reconstruction system for preoperative planning of virtual surgery
CN107895364A (en) * 2017-10-31 2018-04-10 哈尔滨理工大学 A kind of three-dimensional reconstruction system for the preoperative planning of virtual operation
CN108133509A (en) * 2017-12-12 2018-06-08 重庆花椒科技有限公司 Method and apparatus based on four-dimensional color ultrasound figure structure 3D models
CN111868781A (en) * 2018-01-10 2020-10-30 消化器官癌症研究所 A process for automatically segmenting 3D medical images through structured convolution through multiple neural networks according to their geometry
CN111868781B (en) * 2018-01-10 2024-12-27 消化器官癌症研究所 Automatic segmentation method and system for performing the automatic segmentation method
CN108711168A (en) * 2018-06-04 2018-10-26 中北大学 Non-rigid multimodal medical image registration method based on ZMLD Yu GC discrete optimizations
CN109147061A (en) * 2018-07-20 2019-01-04 清华大学 The method that the segmentation result of a kind of pair of volume data carries out human-computer interaction editor
CN109493325A (en) * 2018-10-23 2019-03-19 清华大学 Tumor Heterogeneity analysis system based on CT images
CN109741439A (en) * 2018-12-07 2019-05-10 广州医科大学 A three-dimensional reconstruction method of two-dimensional MRI fetal images
CN109741439B (en) * 2018-12-07 2023-12-15 广州医科大学 A three-dimensional reconstruction method for two-dimensional MRI fetal images
CN111602177A (en) * 2018-12-20 2020-08-28 卡尔蔡司光学国际有限公司 Method and apparatus for generating 3D reconstruction of objects
CN111602177B (en) * 2018-12-20 2023-05-09 卡尔蔡司光学国际有限公司 Method and device for generating 3D reconstructions of objects
CN113614790A (en) * 2019-01-11 2021-11-05 阿克西亚尔医学印刷有限公司 Method for generating a 3D-printable model of a patient-specific anatomy
US12333652B2 (en) 2019-01-11 2025-06-17 Axial Medical Printing Limited Method for generating a 3D printable model of a patient specific anatomy
CN109949267B (en) * 2019-01-21 2021-01-29 西安交通大学 Rapid three-dimensional reconstruction method for multi-material fault data to entity
CN109949267A (en) * 2019-01-21 2019-06-28 西安交通大学 A kind of quick three-dimensional reconstructing method of more material layer datas to entity
CN110084882A (en) * 2019-04-02 2019-08-02 哈尔滨理工大学 A kind of vertebra CT 3-dimensional reconstruction and method for visualizing based on super-pixel
CN110189606A (en) * 2019-06-11 2019-08-30 四川大学华西第二医院 A method of building uterus and the huge mass model of fetus neck
CN110442994A (en) * 2019-08-13 2019-11-12 嘉兴学院 A kind of 3D printing sliced sheet processing method based on graph theory
WO2021082507A1 (en) * 2019-10-31 2021-05-06 五邑大学 Semi-automated image segmentation and data annotation method, electronic device and storage medium
CN110930389B (en) * 2019-11-22 2023-06-30 北京灵医灵科技有限公司 Region segmentation method, device and storage medium for three-dimensional medical model data
CN110930389A (en) * 2019-11-22 2020-03-27 北京灵医灵科技有限公司 Region segmentation method, device and storage medium for three-dimensional medical model data
CN111105475A (en) * 2019-12-24 2020-05-05 电子科技大学 A three-dimensional reconstruction method of bone based on orthogonal angle X-ray
CN111105475B (en) * 2019-12-24 2022-11-22 电子科技大学 Bone three-dimensional reconstruction method based on orthogonal angle X-ray
CN111159876B (en) * 2019-12-25 2023-11-21 安徽数研智能科技有限公司 Design method for realizing 3D printing model based on MRI medical image and contour sketching
CN111159876A (en) * 2019-12-25 2020-05-15 安徽数研智能科技有限公司 Design method for rapidly realizing 3D printing model based on MRI medical image and contour drawing
CN111199674A (en) * 2020-01-21 2020-05-26 珠海赛纳三维科技有限公司 Heart model, and three-dimensional printing method and system of heart model
CN111199674B (en) * 2020-01-21 2022-07-08 珠海赛纳三维科技有限公司 Heart model, and three-dimensional printing method and system of heart model
CN111311608B (en) * 2020-02-05 2023-05-09 方军 Method, apparatus and computer readable storage medium for evaluating wounds
CN111311608A (en) * 2020-02-05 2020-06-19 方军 Method, apparatus and computer-readable storage medium for assessing wounds
CN111476881A (en) * 2020-03-18 2020-07-31 创业慧康科技股份有限公司 Human tissue organ three-dimensional reconstruction method based on structural similarity level set algorithm
CN111539963B (en) * 2020-04-01 2022-07-15 上海交通大学 Bone scan image hot spot segmentation method, system, medium and device
CN111539963A (en) * 2020-04-01 2020-08-14 上海交通大学 Bone scan image hot spot segmentation method, system, medium and device
CN111739139A (en) * 2020-06-24 2020-10-02 西北大学 A three-dimensional reconstruction method of noisy CT images
CN111739139B (en) * 2020-06-24 2023-04-07 西北大学 Three-dimensional reconstruction method for noise CT image
CN111833450B (en) * 2020-07-08 2023-12-15 重庆邮电大学 Ultrasonic three-dimensional rapid reconstruction and analysis method fused with finite element analysis method
CN111833450A (en) * 2020-07-08 2020-10-27 重庆邮电大学 An ultrasonic 3D fast reconstruction and analysis method integrating finite element analysis method
CN112465802A (en) * 2020-12-10 2021-03-09 上海联影医疗科技股份有限公司 Method, system, terminal and computer readable storage medium for processing tomographic image
CN112598682B (en) * 2020-12-25 2024-03-29 公安部第一研究所 Three-dimensional CT image sectioning method and device based on any angle
CN112598682A (en) * 2020-12-25 2021-04-02 公安部第一研究所 Three-dimensional CT image sectioning method and device based on any angle
CN112767233A (en) * 2021-01-07 2021-05-07 中电云脑(天津)科技有限公司 Focal three-dimensional imaging method and system based on Dicom3d player and storage medium
CN112947069A (en) * 2021-01-28 2021-06-11 内蒙古大学 Control method for moving two-wheeled robot
US12154691B2 (en) 2021-02-11 2024-11-26 Axial Medical Printing Limited Systems and methods for automated segmentation of patient specific anatomies for pathology specific measurements
US12444506B2 (en) 2021-02-11 2025-10-14 Axial Medical Printing Limited Systems and methods for automated segmentation of patient specific anatomies for pathology specific measurements
CN113264450A (en) * 2021-04-15 2021-08-17 河南五建建设集团有限公司 Small curve radius non-balanced cantilever of tire type beam lifting machine and assembling construction system
CN113231910B (en) * 2021-04-29 2022-10-18 武汉中观自动化科技有限公司 Method and system for acquiring polishing track of edge of sole
CN113231910A (en) * 2021-04-29 2021-08-10 武汉中观自动化科技有限公司 Method and system for acquiring polishing track of sole edge
CN113240720A (en) * 2021-05-25 2021-08-10 中德(珠海)人工智能研究院有限公司 Three-dimensional surface reconstruction method and device, server and readable storage medium
CN113469945B (en) * 2021-06-03 2024-03-26 山东大学 Sacral nerve modeling method and system based on CT and MRI imaging fusion
CN113469945A (en) * 2021-06-03 2021-10-01 山东大学 Sacral nerve modeling method and system based on CT and MRI imaging fusion
CN113554057A (en) * 2021-06-21 2021-10-26 北京百度网讯科技有限公司 Graph segmentation method and device and electronic equipment
CN113561491A (en) * 2021-07-25 2021-10-29 大连理工大学 Path planning method for biological 3D printing based on Euler circuit
CN113888566A (en) * 2021-09-29 2022-01-04 推想医疗科技股份有限公司 Target contour curve determining method and device, electronic equipment and storage medium
CN114078139B (en) * 2021-11-25 2024-04-16 四川长虹电器股份有限公司 Image post-processing method based on human image segmentation model generation result
CN114078139A (en) * 2021-11-25 2022-02-22 四川长虹电器股份有限公司 Image post-processing method based on portrait segmentation model generation result
CN114219919A (en) * 2021-12-06 2022-03-22 西安大医集团股份有限公司 Medical image processing method and device, computer equipment and storage medium
CN114241086A (en) * 2021-12-20 2022-03-25 杭州电子科技大学 Mass data drawing optimization method based on maximum triangle three-segment algorithm
TWI793008B (en) * 2022-05-10 2023-02-11 中國醫藥大學 Image projecting method for demonstrating internal information
CN116912213A (en) * 2023-07-20 2023-10-20 中国人民解放军总医院第六医学中心 A medical Dicom image edge contour multi-edge detection algorithm and detection system
CN116912213B (en) * 2023-07-20 2024-04-19 中国人民解放军总医院第六医学中心 Medical Dicom image edge contour polygonal detection algorithm and detection system
WO2025107103A1 (en) * 2023-11-20 2025-05-30 天枢摇光(北京)科技有限公司 Watertight method for trimmed surface boundary, and device
CN118135141A (en) * 2024-03-25 2024-06-04 东北石油大学 A pore three-dimensional reconstruction method and system based on rock images
CN118427900B (en) * 2024-04-25 2025-01-03 中国科学院自动化研究所 Reverse reconstruction method and device for computer-aided design model
CN118427900A (en) * 2024-04-25 2024-08-02 中国科学院自动化研究所 Reverse reconstruction method and device for computer-aided design model
CN119131298A (en) * 2024-09-09 2024-12-13 中国科学技术大学 Three-dimensional reconstruction method of cardiac chambers based on echocardiography and related devices
CN119919406A (en) * 2025-04-02 2025-05-02 四川大学华西医院 A fully automatic measurement method, system, terminal and medium for knee valgus and valgus
CN119919406B (en) * 2025-04-02 2025-07-29 四川大学华西医院 Full-automatic measurement method, system, terminal and medium for knee varus and valgus

Similar Documents

Publication Publication Date Title
CN106373168A (en) Medical image based segmentation and 3D reconstruction method and 3D printing system
Cheng et al. A morphing-Based 3D point cloud reconstruction framework for medical image processing
US9697639B2 (en) Three-dimensional model data generation device, method and program
Zhou et al. Topology repair of solid models using skeletons
Bekkers et al. Multiscale vascular surface model generation from medical imaging data using hierarchical features
CN103236058B (en) Obtain the method for volume of interest of four-dimensional heart image
CN109285225B (en) A method for establishing virtual reality-assisted surgery based on medical images
US8384716B2 (en) Image processing method
Zachow et al. 3D reconstruction of individual anatomy from medical image data: Segmentation and geometry processing
Praßni et al. Shape-based transfer functions for volume visualization
d'Otreppe et al. Generating smooth surface meshes from multi‐region medical images
Zhang Virtual reality technology
EP4390845A1 (en) A computer-implemented method, computer program product and imaging system
Hong et al. A direct slicing technique for the 3D printing of implicitly represented medical models
CN111105476B (en) Three-dimensional reconstruction method for CT image based on Marching Cubes
US8149237B2 (en) Information processing apparatus and program
CN106845020A (en) A kind of heart valve prosthesis performance optimization method, apparatus and system
Ameddah et al. Bio-CAD reverse engineering of free-form surfaces by planar contours
CN1961337A (en) Image analysis system for an object mapping in a multi-dimensional dataset
CN106097457A (en) Cutting method for trimming based on STL defect model
JP6832479B1 (en) Image processing method, image processing program, and image processing device that divides a solid by a narrow part of the shape.
CN115830275A (en) Operation planning method and interaction system based on mixed reality
Rudek et al. Autonomous CT replacement method for the skull prosthesis modelling
Khaleel et al. 3D surface reconstruction of coronary artery trees for vessel locations’ detection
Khaleel et al. A Review paper of 3D Surface Reconstruction of Coronary Arteries From Cardiovascular Angiography

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170201