enh(io): support DICOM private tags
Description
Currently, setting a DICOM private tag, using sight::data::Series::setValue()
, will not work. GDCM requires some special setup and to do things a bit differently.
Functional specifications
A setter and a getter will be added that will work with tags in the range (gggg, 0x[10-FF][00-FF]), with gggg an odd number greater than 0x0008. What a wonderful world.
Technical specifications
First, we need to get the GDCM private dictionary instance and add the wanted tags. This need to be done before using GDCM (so before reading any DICOM...). Then it should be possible using gdcm::PrivateTag
and other specialized methods to set and get private tag data.
Test plan
Unit test for reading / writing value in a private tag.