在本机Python中解析DICOM文件 [英] Parse DICOM files in native Python

查看:201
本文介绍了在本机Python中解析DICOM文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是解析DICOM文件的最简单和最蟒蛇的方法?



不使用非Python库的本地Python实现将是首选。 DICOM是数字医学成像中的标准文件格式(有关更多信息,请参阅此处)。

有些C / C ++库支持DICOM文件的读取(一个子集)。其中有两三个甚至有Python绑定。一个本地的Python解析器对我来说有两个目的:
$ b $ ol

  • 不需要构建任何外部C / C ++库。
  • 了解DICOM文件格式。


  • 解决方案

    另一个可以阅读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:

    1. No need to build any external C/C++ libraries.
    2. Learn about the DICOM file format.

    解决方案

    And as of today there's another pure Python package reading DICOM files available: pydicom

    这篇关于在本机Python中解析DICOM文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆