What library is being used to import dicom?

What library is being used on the backend to import dicom images?

The other libraries out there (gdcm, pydicom) don’t consistently work with jpg2000 formats.

What does 3D Slicer use?

Because DICOM is complex and not all types are supported by various libraries we actually include three main implementations. ITK adds the jpeg2000 library for GDCM. Through ITK we can use either GDCM or DCMTK (there’s an option to select that I realized was not on the wiki so I added it here). Some DICOM objects are read with pydicom.

There’s also a VTK DICOM reader that we don’t use bundled with VTK and another implementation by David Gobbi that we don’t currently bundle but easily could if it solves any problems not addressed by the others.

1 Like