Importation of additional data into a MRML node from a dicom


I am currently working on a scripted plugin for 3DSlicer that aims to load extra data from DICOM files and store it into a MRML node. I was wondering if the embedded DICOM reader is enough for that purpose or if I need to use an other DICOM reader (for example : pydicom).
Is anybody already worked on this ?

Hi -

Pydicom is bundled with Slicer, so you can easily access any of the header data you need that way.

What data are you trying to load? You can look at the DICOMPlugin classes for ideas on how to load and populate MRML nodes (see SlicerRT, and Quantitative Reporting extensions for a lot of examples).

Links to two DICOM plugins implemented in Python using pydicom: