(io): clean DICOM related code
Description
Currently, we use three DICOM libraries:
- DCMTK
- GDCM
- Odil
While we cover all our needs with these three libraries, we also bring code and features redundancy. Worst, it is very fuzzy for a user to understand what he should use. DCMTK, GDCM, or VTK/GDCM reader ? DCMTK or ODIL SCP/SCU ? We should decide which library we really want to use, and only offer one choice that works well to the user.
As far as I know, GDCM seems mandatory to decode JPEG-2000 pixel buffers. DCMTK is oldish but we a lot of code depending on it. Odil could be dropped, but it is much easier to code with it instead of DCMTK. So I think at best, we can drop DCMTK or Odil. I would prefer Odil for the coding style, but DCMTK is probably a more reliable choice, especially for our software that needs ISO-62304 certifications.
Task list
-
Choose which library for each feature (reading/writing/SCP/SCU/Dicom Web) -
Apply changes