ENSTips
ZH

将 CT 扫描转换为 3D 模型

在本教程中,我将解释如何将从CT扫描中获取的DICOM数据转换为可进行三维打印的文件。

访问https://www.slicer.org/ ,下载并安装软件。
打开软件,点击import DICOM files,找到DICOM文件所在的目录,然后点击import。

点击show DICOM database,点击你的姓名,最后双击你感兴趣的切片,这里选择sinus。切片将会加载。

现在点击滚动菜单,选择volume rendering。

点击display ROI,白线就会出现。
你可以点击Volume旁边的白点,你的头部就会以三维形式显示出来。但这一步不是必须的。

你还可以选择一个预设,这里我选择lung,这样就能看到鼻腔内部。
现在使用彩色圆点裁剪所需区域。

对裁剪区域满意后,点击小放大镜,然后输入crop,点击crop volume,最后点击switch to module。之后点击apply按钮。请稍等片刻,这可能需要一段时间。

Now return to the Volume rendering worshop and click on display ROI in order to hide white lines
Once it’s done, click again on the little magnifying glass and write editor, then click on switch to module.
A little window will appear, click OK.

点击阈值效果按钮。

The slices will turn green, now you need to adjust the left cursor in order to paint all your soft tissues green.
I found that generally the good numbers are between -200 and -400 but it may depend on CT-SCAN.
Finally, click ok the apply button.
It’s almost over, we’ve done the biggest part.

现在点击菜单中的data。

Right-click on your “name files” cropped-label and click on Convert labelmap to segmentation mode.

一行 tissue会出现,再次右键点击它,然后选择Export visible segment to models。
稍等片刻,这可能需要一段时间。随后会出现一行 cropped-label-segmentation-models,右侧窗口中也会出现你的 3D 模型。

点击 File,然后选择 Save,或按 Ctrl + S。
在窗口中,取消勾选除 tissue 以外的所有选项。
点击 Poly data (.vtk),然后选择 .STL。
点击change directory for selected files,选择你想要保存 3D 模型文件的目录。
最后点击 Save,就完成了!

这个 .STL 文件是一个可以直接用于 3D 打印模型的 3D 文件,但你可以想象,此时直接打印模型并没有用,我们什么也看不到。我们需要看到鼻腔内部。
因此,在下一个教程中,我会解释如何将模型切成切片,以便观察内部。切片可以叠加起来。