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