Emiliano Beronich
2017-03-10 16:19:06 UTC
Hi everyone,
While using the GDCMImageIO class to write a Dicom Image, I found some
limitations so I modified the class to correct them.
The limitations I found are:
1) Can't write a sequence or even less Sequence inside Sequences.
2) Can't write arrays of unsigned short (Example: (0054,0010)
EnergyWindowVector, (0054,0020) DetectorVector, (0054,0080) SliceVector).
In order to pass the data the array of unsigned short I'm using a
std::vector<unsigned short>. The sequences are stored in a Dictionary.
Attached is the class modified. I would be great to include these changes
in future versions or improve GDCMImageIO class to correct these
limitations.
HTH,
Emiliano Beronich
While using the GDCMImageIO class to write a Dicom Image, I found some
limitations so I modified the class to correct them.
The limitations I found are:
1) Can't write a sequence or even less Sequence inside Sequences.
2) Can't write arrays of unsigned short (Example: (0054,0010)
EnergyWindowVector, (0054,0020) DetectorVector, (0054,0080) SliceVector).
In order to pass the data the array of unsigned short I'm using a
std::vector<unsigned short>. The sequences are stored in a Dictionary.
Attached is the class modified. I would be great to include these changes
in future versions or improve GDCMImageIO class to correct these
limitations.
HTH,
Emiliano Beronich