[Dcmlib] New (private) dictionaries

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Jun 27 16:08:56 CEST 2005


Hello,

	Some of you may have noticed that the dictionary process has slightly 
changed in gdcm over the past few days. Now the real dictionary used to 
process request is: gdcm.dic

	gdcm.dic is build -be default- from 3 differents dictionary:

1. dicomV3.dic, this dict is generated from the data dictionary from 
nema website (2004).

2. Papyrus.dic, this dict is generated from the doc of papyrus website

3. NIH.dic, this dictionary is what used to be in dicomV3.dic at some 
point, it contains some tags from a supplement and -in theory- should 
never be used (they collides with other tags).

------------------------------------------------

	During the week end I also took the time to generate a few private 
dictionary for GEMS, Philips, Siemens, Elscint, Acuson, SPI (old 
ACR-NEMA)...

	If for some reason you really need a particular tag (or want to 
interpret a tag in the implicit case), you can easily add a dictionary. 
Just edit the file:

	gdcm/Dicts/CMakeLists.txt

	And for example change the default to :

SET(ALL_DICTS
   dicomV3.dic
   Papyrus.dic
   NIH.dic
   SIEMENS.dic    # To support Siemens specific tags
   )


	Be carefull for now PHILIPS-Intera.dic, GEMS-Infinia.dic, 
GEMS-Genie.dic and GEMS-Advantx.dic (also GE-EchoPAC.dic) are not fully 
generated. They are still described in term of intervals (using xx to 
describe a range in hex numbers), those cannot be added as simply. They 
need first an initial pass to automatically generate all the tags. Since 
this lead to a huge number of those, I felt like not adding those huge 
files directly:
- Hard to maintain
- CMake can easily handle this process anyway -once written-

Questions/Remarks welcome

Mathieu



More information about the Dcmlib mailing list