Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in Python by (45.3k points)

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 of the external C/C++ libraries.
  2. Learn about the DICOM file format.

1 Answer

0 votes
by (16.8k points)

There is newer and beter Python package for reading DICOM files out there: pydicom

Related questions

Browse Categories