本文介绍了了解DICOM图像属性以获得轴向/冠状/矢状切面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须用c#编写一个程序,以解析DICOM并显示轴向,冠状和矢状切面。

I have to write a program in c# able to parse DICOM and display axial, coronal and sagittal cuts.

似乎很多工作,但是我有做到这一点!

Seems like it's a lot of work, but I have to do it so !

重要的第一步是理解我猜想的DICOM文件。

Big first step would be to understand DICOM files I guess.

我已经一直在阅读本教程,但他使用的是我正在使用的RZDCX库不允许购买。

I've been reading this tutorial http://dicomiseasy.blogspot.ru/ but he's using this RZDCX library that I'm not allowed to buy.

关于DICOM属性仍然有一些很好的解释,我也一直在阅读标准的某些部分(首先是第3部分)

There are still some good explanations about DICOM attributes and I've also been reading some parts of the standard (part 3 above all)

但是我很难理解所有内容。有这些图像属性:像素表示,像素数据,平面配置...我想了解它们能够显示图像非常重要,我想我应该学习更多有关像素实际工作的方式,以便更好地理解。

But I'm having big trouble to understand them all. There are those image attributes: pixel representation, pixel data, planar configuration... I guess it's very important to understand them to be able to display the image, and I think I should learn more about how pixels actually work to have a better understanding.

但是我仍然无法弄清一件事:

But there is still one thing I really can't figure out :

我如何或在哪里?假设有这三个不同的削减? (轴向/冠状/矢状)。我一直在标准中寻找有关它们的属性,但没有找到任何属性。所以也许我们可以通过某种计算找到它们,但是我不知道我应该在哪个公式中使用哪个变量?

How or where am I suppose to have this three different cuts? (axial/coronal/sagittal). I've been looking for attributes about them in the standard but I did not find any. So may be we find them with some kind of calculation, but I don't know which variables I should use with which formula?

推荐答案

你是对的,这是一项艰巨的任务!您可能不会在这里找到可以为您提供逐步教程的人,但是有些提示:

You are right, this is quite a big task! And you are probably not going to find someone here who can provide a step-by-step tutorial for you, However some hints:


  1. DICOM标准很尴尬,一开始需要陡峭的学习曲线。 对我有很大帮助熟悉文档的术语和结构。

  2. 周围还有很多其他工具包,其中一些是免费的,并带有非常宽松的许可证,例如
  3. 定义切片或帧的3D位置和方向的DICOM属性是 ImagePositionPatient (0020,0032), ImageOrientationPatient (0020,0037)和 PixelSpacing (0028,0030)。这些可用于正确地对切片进行排序并计算插值的相交切片。

  4. 确保查看增强型CT / MR信息对象定义。通常,有两种方法可以在DICOM中存储一堆图像:单帧(每个图像一个文件)和多帧(一个或多个图像堆栈一个文件)。它们在获取上述信息的方式上有所不同。

  1. The DICOM standard is awkward and needs a steep learning curve at the beginning. The DICOM Cookbook helped me a lot to become familiar with the terms and the structure of the documentation.
  2. There are plenty of other toolkits around, some of them are free and ship with a very liberal license, such as DCMTK. These take away the burden to learn how the information is encoded in the various binary formats which slightly differ and provide a uniform API to access the information quite easily. I would strongly advise against writing your own DICOM implementation from scratch.
  3. The DICOM attributes which define the 3D position and orientation of a slice or frame are ImagePositionPatient (0020,0032) , ImageOrientationPatient (0020,0037) and PixelSpacing (0028,0030). These can be used to order the slices correctly and calculate interpolated intersection slices.
  4. Make sure to look at the Enhanced CT/MR Information object definitions. In general there are two ways to store a stack of images in DICOM: Singleframe (one file per image) and Multiframe (one file for one or more stacks of images). They differ in the way that you can obtain the information mentioned above.

HTH,祝您好运!

这篇关于了解DICOM图像属性以获得轴向/冠状/矢状切面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!