I am attempting to create a secondary capture (SC) object of post-processed
MR images using GDCM 2.4.2 that includes origin (0020,0032) and directions
cosines (0020,0037) but the code in gdcmImageHelper.cxx removes those
elements before writing the file.
I understand that these and the Image Plane Module are not part of the base
SC Image IOD, but some viewers respect these and those that ignore them are
not a problem for our use case. An alternative might be to use the MR Image
IOD to store these, but that does not include the Rescale Slope and Rescale
Intercept elements! And those are required as we have are storing floating
point values (not arbitrary units that are only integers). And we also
include colorized (RGB) versions of the images.
Might an option be added to not remove those?
If it is any consolation, we have been using ITK 3.12.0/GDCM 1.x to generate
files like this for about seven years in the field for FDA cleared and CE
marked products:
http://www.imagingbiometrics.com/products.php
http://www.itnonline.com/article/aycan-introduces-new-neurooncology-workstation
In addition, I have verified the images generated can be viewed correctly on
numerous vendor's workstations, including McKesson, Agfa, ClearCanvas.
[release c7c5c6e] Do not remove any existing IOP / IPP as a side effect of SetOrigin / SetDirCos
1 file changed, 5 insertions(+), 4 deletions(-)
closing