[Insight-users] GDCM orientation issue....
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Aug 30 09:40:57 EDT 2005
Simon Warfield wrote:
> Mathieu,
>
> I have another DICOM issue I wonder if you know the answer. I happen
> to have quite a lot of DICOM data that encodes a parameter called the
> b-value in tag 0043,1039 with a VR of IS. Recent editions of the DICOM
> standard have made the tag 0018,9087 for storing this parameter, but our
> images don't use it.
>
> Can I modify the local DICOM data dictionary in some transparent way
> so that ITK will learn about this new tag , or do I need to modify
> ./Utilities/gdcm/src/gdcmDefaultDicts.cxx and recompile the entire
> library ?
Don't modify gdcmDefaultDicts.cxx this is a cmake generated file, any
modification you would do will be lost at configure time.
Instead open Insight/Utilities/gdcm/Dicts/dicomV3.dic and add a line
anywhere in the file, like this one :
0043 1039 IS 1 Diffusion b-value
(you should maybe change the name to make a clear distinction from
0018,9087).
Reconfigure and compile. As a check, gdcmDefaultDict.cxx should now
contain a reference to this DICOM element.
HTH
Mathieu
More information about the Insight-users
mailing list