Hi,
we´re encoding some device (navigation) information and registration info (matrices,quats) as private tags in DICOM format for data exchange. What is your proposed way to encode this data into dcmtk:
- a modified dicom.dic? And then recompile the whole kit? Unfortunately, this didn´t work, seems like the dicom.dic is not used by the compiler
- a modified dicom.dic in DCMDICTPATH? This worked, but then has to be done on all machines using the dcmtk
Thank you for assistance, Hayo
Encoding Private Tags
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Hayo,
you should either add these private tags to the "private.dic" file which is part of the DCMTK or create a separate dictionary file. Please read the instructions in "private.dic" very carefully on how to specify private tags correctly.
Whether the dictionary files are built into the binaries or loaded at application start depends on the configuration. For Unix systems the default is to load dictionaries from file ("<prefix>/lib/dicom.dic" and/or DCMDICTPATH environment variable). For Windows systems the dictionary is usually built in. See "datadict.txt" for details.
In case you want to use the private tags shipped with DCMTK you should set the configure option "--with-private-tags" on Unix systems. On Windows Systems you should define the compiler directive WITH_PRIVATE_TAGS directly (see "config/include/cfwin32.h").
Please note that you'll need to rebuilt the built-in dictionary in case you've added new tags. See again "datadict.txt" for details.
Jörg
you should either add these private tags to the "private.dic" file which is part of the DCMTK or create a separate dictionary file. Please read the instructions in "private.dic" very carefully on how to specify private tags correctly.
Whether the dictionary files are built into the binaries or loaded at application start depends on the configuration. For Unix systems the default is to load dictionaries from file ("<prefix>/lib/dicom.dic" and/or DCMDICTPATH environment variable). For Windows systems the dictionary is usually built in. See "datadict.txt" for details.
In case you want to use the private tags shipped with DCMTK you should set the configure option "--with-private-tags" on Unix systems. On Windows Systems you should define the compiler directive WITH_PRIVATE_TAGS directly (see "config/include/cfwin32.h").
Please note that you'll need to rebuilt the built-in dictionary in case you've added new tags. See again "datadict.txt" for details.
Jörg
Who is online
Users browsing this forum: Bing [Bot] and 1 guest