如何判断DICOM/DICOMDIR图像关系?
除了“切片厚度”之外,DICOM 图像还记录了“切片位置”参数。
问题:“切片位置”在哪里?我知道它在身体深度中 - 但它也必须在图像中,对吧?
我认为一个系列一定或者可能有一个对应的系列,我们可以在其中找到“切片位置”的参考。
如果我是对的,如何找到那些图像?那么如何确定相应图像中切片的点呢?
另外,如果您知道 dicom 图像结构的详细参考指南,请分享。
多谢。
The DICOM images have "Slice location" parameter recorded in addition to the "Slice Thickness".
Question: "Slice location" in where? I understand it's in the body depth - but it must be in images as well, right?
I think a series must or may have a corresponding series in which we can find a reference of the "Slice Location".
If I am right, How to find that those images? And then how to establish the point of the slice in the corresponding images?
As well, if you know a well written refference guide to dicom image structure, please share.
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
标准规定切片位置的单位是毫米。通常有一个特殊的侦察图像,由带有看起来像网格的覆盖层的切片引用,显示每个切片的映射位置。
还有一个建议:在没有尝试实际样品的情况下,不要指望它在“理论上”起作用。 DICOM 是创建时存在的所有标准的集合。此外,许多模式使用自己的私有标签来获取附加信息。如果您需要处理某种模态的输出,那么您很幸运,您只需找到其 DICOM 一致性声明即可。如果它是为观众准备的..那么祝你好运:)
编辑:此外,CT 系列通常在图像类型标签中包含一张带有
LOCALIZER
的图像,该图像引用了该系列中作为切片的其余图像(或由他们推荐)。The standard specifies that the unit for Slice Location is millimeters. Usually there is a special scout image that is refferenced by slices with an overlay that looks like a grid, that shows where each slice is mapped.
And a suggestion: don't expect it to work "in theory", without trying on real samples. DICOM is rather a collection of all standards that existed at the time it was created. Also, many modalities use their own private tags for additional info. If you need to process the output of a certain modality then you are lucky, you just have to find its DICOM Conformance Statement. If it's for a viewer.. then good luck :)
EDIT: Also, CT series usually have one image with
LOCALIZER
in the Image Type tag that refferences the rest of images in the series that are slices (or is reffered by them).以下页面包含有关 DICOM 的一些有用信息:
http://www.thefullwiki.org/DICOM
As对于你的问题;我认为您正在寻找“图像编号”,它定义了图像的顺序。 “切片位置”是关于图像切片的偏移的空间坐标; “图像编号”是指示图像相对于其他图像的顺序的整数。 YMMV; DICOM 是一个遵守非常松散的标准。
Here's a page that contains some good information on DICOM:
http://www.thefullwiki.org/DICOM
As to your question; I think you're looking for the "image number", which defines an order to the image. The "slice location" is a spatial coordinate as to the offset of the image slice; the "image number" is an integer indicating the order of an image in reference to other images. YMMV; DICOM is a very loosely adhered to standard.
我怀疑切片位置用于厚板采集,其中每个切片的范围与下一个切片重叠。当前扫描仪的轴向分辨率足够高,这种情况不会再发生。因此,现在更频繁地使用切片厚度而不是切片位置。
I suspect the slice position is for thick slab acquisitions, where the extents of each slice overlap with the next slice. The axial resolution of current scanners is high enough that this does not happen anymore. Hence the slice thickness is used more frequently now as opposed to slice position.
请查看http://medical.nema.org/dicom/2003/03_10PU.PDF< /a>.特别是附件A。
我通常遵循的方法如下。我访问 DICOMDIR 来获取 dcm 文件路径。这可以在标签 [0004, 1500] 处访问。获得所有路径后,我会迭代每个 dcm 图像以访问我想要的任何属性。切片位置可能是 dcm 图像中的一个属性,但在不知道模态的情况下,很难找出标签。
dcmtk 是一个用 C++ 编写的很好的库,可以帮助获取特定标签或从 dcm 图像中提取像素数据。您可以使用它让您的生活更轻松。
Please look at http://medical.nema.org/dicom/2003/03_10PU.PDF. Especially Annex A.
The method I usually follow is as follows. I access DICOMDIR for the dcm file paths. This can be accessed at tag [0004, 1500]. Once I get all the paths, I iterate through each dcm image to access any property I want. The slice location might be a property in dcm image but without knowing the modality it is quiet difficult to figure out the tag.
dcmtk is a nice library written in C++ that can help to get specific tags or to extract pixel data from dcm images. You can use it to make your life easier.