All of the programs load a data dictionary from the text file "/usr/local/dicom/lib/dicom.dic" before they can do anything. The overhead for this flexibility is very high. I want my programs to start much faster.
You can use a built-in in data dictionary instead. The code for this already exists (dcmtk/dcmdata/libsrc/dcdictzz.cc) and can be regenerated at any time by (see the dcmdata Makefile: dcmtk/dcmdata/libsrc/Makefile.in). You can even have the best of both worlds and have the main data dictionary built-in with additions loaded from text files (via the DCMDICTPATH environment variable). See the documentation file "dcmtk/dcmdata/doc/datadict.txt" for more details about using DICOM data dictionaries. The example Visual C++ project makefiles for the Windows platform already use the built-in data dictionary code.
FAQ #6: How to compile the data dictionary (dicom.dic) into the binaries?
Moderator: FAQ Team
-
- OFFIS DICOM Team
- Posts: 1510
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: No registered users and 0 guests