You can also display a DICOMDIR file directly in the browser. Then click "Open with" and choose an application. If you cannot open your DICOMDIR file correctly, try to right-click or long-press the file. Because the dataset isn't a valid Media Storage Directory instance this fails, producing the exception seen.
Without proper software you will receive a Windows message " How do you want to open this file?" or " Windows cannot open this file" or a similar Mac/iPhone/Android alert. pydicom reads the dataset correctly, but because it identifies as Media Storage Directory it gets processed by the deprecated DicomDir class, even when passed directly to the FileSet class. You need a suitable software like DICOM from NEMA to open a DICOMDIR file. DICOMDIR methods: gui - will open a graphical user interface to browse the DICOMDIR. USAGE: DD DICOMDir (FILE) where FILE is the path to a given DICOMDIR file. DicomObjects is a DICOM API / SDK Toolkit. Discussions (3) DICOMDIR DICOMDir object representing the heirarchical structure of a DICOMDIR file. The DicomDataSets.ReadDirectory method in DicomObjects can be used to read DICOMDIR files. A DICOM directory has a four-tier hierarchy (PATIENT –> STUDY –> SERIES –> IMAGE). The current version was developed by the DICOM Standards Committee. It was first developed by the joint efforts of the American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA). DICOM is an international standard for storing, processing, printing, displaying, and transmitting medical images such as MRI and CT scans. DICOMDIR is a file that functions as a directory for Digital Imaging and Communications in Medicine (DICOM). For instance, DICOM-compliant data CDs contain a DICOMDIR at the root level which contains a description and access information for all the studies on the CD.
DICOMDIR is a file that functions as a directory for Digital Imaging and Communications in Medicine (DICOM) file sets. DICOMDIR files mostly belong to DICOM by NEMA. The DICOMDIR file format has been defined to organize the access to off-line DICOM part 10 files.
DICOMDIR files mostly belong to DICOM by NEMA.