问题描述
我们正在编写dicom文件的导入器。
We are writing an importer for dicom files.
如果一系列图像形成一个3D体积还是仅仅是一系列2D图像,通常如何判断呢? ?
How does one generally deceide if a series of images forms a 3D-Volume or is just a series of 2D images?
对于大多数供应商来说,是否有通用的方法来决定这一点?我看了看DICOM标签,找不到明显的解决方法。
Is there a universal way to decide this for most vendors? I looked a the DICOM tags and could no find an apparent solution.
推荐答案
DICOM标准定义了用于描述层次结构的UID。这些是自上而下的:
The DICOM standard defines UIDs for describing the hierarchy. These are from top to bottom:
- 研究UID-研究或扫描会话的标识符。
- 系列UID-在一次扫描中获得的系列中的ID。
- 图像UID-对于任何图像都应该唯一。
由符合标准的实现保存的DICOM图像应该具有所有这些ID。如果多个图像具有相同的SeriesUID,则它们是标准中定义的体积(或时间序列)。某些软件当然不符合标准,您必须查看其他信息,例如时间戳和患者位置,但通常最好先遵循标准。
A DICOM image saved by a standard-conforming implementation should have all these IDs. If multiple images have the same SeriesUID, they are a volume (or time-series) as defined in the standard. Some software of course is not standard-conforming and you'll have to look at other things like timestamps and patient position, but it is usually best to start by following the standard.
在确定序列后再订购该序列,GDCM(如恶意建议)或dcmtkdicom是非常完善的库。
For ordering the series after identifying it, GDCM (as malat suggested) or dcmtkdicom are pretty well-established libraries.
这篇关于如何确定DICOM系列是3D体积还是一系列图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!