在本机Python中解析DICOM文件 [英] Parse DICOM files in native Python
问题描述
什么是解析DICOM文件的最简单和最蟒蛇的方法?
不使用非Python库的本地Python实现将是首选。 DICOM是数字医学成像中的标准文件格式(有关更多信息,请参阅此处)。
有些C / C ++库支持DICOM文件的读取(一个子集)。其中有两三个甚至有Python绑定。一个本地的Python解析器对我来说有两个目的:
$ b $ ol
另一个可以阅读DICOM文件的纯Python包: pydicom
What is the simplest and most-pythonic way to parse a DICOM file?
A native Python implementation without the use of non-Python libraries would be much preferred. DICOM is the standard file format in digital medical imaging (look here for more information).
There are some C/C++ libraries that support reading (a subset) of DICOM files. Two or three of them even have Python bindings. A native Python parser would serve two purposes for me:
- No need to build any external C/C++ libraries.
- Learn about the DICOM file format.
And as of today there's another pure Python package reading DICOM files available: pydicom
这篇关于在本机Python中解析DICOM文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!