]> Creatis software - gdcm.git/blob - ChangeLog
Prise en compte du Swap des Pixels
[gdcm.git] / ChangeLog
1 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2       * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
3         GetPubTagNamesByCategory() to gdcmHeader that return a list of the
4         entries within the associated public Dicom dictionary resp. the same
5         information but sorted by the fourth field (PAT, IMG, DIR) of the
6         dictionary.
7         - Dicts/dicomV3.dic Entries which had and unspecified fourth field
8           are now in the "???" group.
9         - python/gdcm.i changed accordingly,
10         - python/demo/printGroupedPublicDict.py added, that gives an example
11           of the above new functionalities in Python.
12
13 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
14       * src/gdcm.h, gdcmHeader.cxx:
15         - historic references to glib's g_malloc and g_free (#defined)
16           were definitively removed.
17         - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
18       * src/gdcmElValSet.cxx:
19         - GetElement(guint32, guint32) renamed to GetElementByNumber.
20         - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
21         - GetElValue(string) renamed to GetElValueByName.
22         - Added GetElementByName(string).
23       * src/gdcmHeader.cxx: added
24         - GetPubElValRepByNumber(guint16, guint16)
25         - GetPubElValRepByName(string)
26         - GetShaElValRepByNumber(guint16, guint16)
27         - GetShaElValRepByName(string)
28         - GetShaElValByNumber(guint16, guint16)
29         - GetShaElValRepByName(string)
30         - GetElValRepByNumber(guint16, guint16)
31         - GetElValRepByName(string)
32         - GetElValByNumber(guint16, guint16)
33         - GetElValRepByName(string)
34       * Doc/requirements.txt added.
35
36 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
37       * Test/Makefile building now depends on the one of libgdcm.so
38       * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
39         pixel data) aware which enables finding the address (offset) of 
40         the pixel data of JPEG encoded DICOM files. This leaves only a single
41         file in the testSuite whose pixel data address (offset) is unknown.
42       * python/testSuite.py changed accordingly.
43
44 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
45       * VC++ has some strong limitations when working with the STL, as stated
46         in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
47              "Also note that some STL containers (map, set, queue, list, deque)
48               cannot be exported. [...]
49               Some STL classes contain nested classes. These classes can not
50               be exported. [...]
51               This is caused by a designed limitation that once a template
52               class is instantiated, it can not be re-instantiated and
53               exported."
54         Since our usage of map<> is ubiquitous in gdcm, this "designed
55         limitation" of VC++ is a pitfall.
56         Hence the Python wrappers of gdcm cannot be incrementally linked 
57         against the c++ dynamic library. The dirty but only workaround is
58         to forget about incremental link of dynamic libraries and to generate
59         the Python wrappers library with the inclusions of the underlying C++
60         library. 
61         The following modifications concern this matter on Win32/VC++:
62       - wrapping python correct with standalone wrapped dll (don't use separate
63          dll under windows !!!!)
64       - python21_d debug mode enabled (ask Frog how to use it :-)
65       - NO problem with having an STL member of class for example string in C++
66         WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
67       - Python test of dcmlib in Python is ok under windows on a large set 
68         (one) of image(s).
69       * removed glib references
70       * typedef's inserted in gdcm.i for correct swig type management
71
72 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
73       * python/demo/*.py load.py extracted from test.py. Added explore.py
74         that only displays required tags and testAll.py that parses all
75         the files of the testsuite without using unittest.
76       * python/testSuite.py other additional test on new files added.
77       * Data/* new test files added accordingly to the testSuite.
78       * src/gdcmHeader.cxx avoid overwriting of the dictionary when
79         the vr in the file differs from the one of the dictionary.
80
81 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
82       * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
83         values, but limits itself to values which are below a user specified
84         size (by default 1024 bytes).
85       * python/gdcm.i : elements not loaded (because their size is above the
86         user specified treshold) are exported with their TagKey as key of the
87         python dictionary. This enables the testsuite to make some checks
88         on the unloaded elements (since we have their offset and size).
89       * python/testSuite.py
90         - now tests for the existence and proper value of the pixel data
91         - two new examples added.
92       * Data/gdcm-MR-SIEMENS-16.acr[12] added.
93
94 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
95       * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
96         aware. See the strategy comments in gdcmHeader::FindeLength().
97       * Test/test.cxx now accepts a filename as first argument.
98       * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
99       * python/testSuite.py changed to integrate test on above files.
100
101 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
102       * Dicts/dicomV3.dic removed all the trailing (RET) when the
103         the vr was also RET.
104       * python/testSuite.py more tests added.
105
106 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
107       * python/testSuite.py unittest test suite added (uses Data)
108       * Data/* dcm and acr files for the test suite.
109       * glib dependance removed from un*x version. We now use ISO C99
110         7.18 Integer types (see stdint.h)
111         - python/Makefile, src/Makefile src/gdcm.h
112       * src/ when an explicit vr (like dicom files) suddenly poped an
113         implicit element we use to mark the underlying DictEntry of the
114         concerned ElValue with "Implicit". This strategy was damageable
115         too the public or provite dictionaries, since some of their vr
116         would be changed. Since Header::FindLength heavily relies on the
117         detection by Header::FindVR of falsely explicit elements, I
118         added an extra ImplicitVr member to ElValue (boolean).
119         The rest of the changes we the necessary adaptations.
120
121 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
122       * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
123         VR files.
124       * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
125
126 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
127       * Adaptation for porting to VC++:
128         - src/gdcm.h
129           o forced to use std namespace (for string to be known)
130           o all class use __declspec export style on WIN32
131         - src/gdcmUtil.cxx new Exit method that wraps the exit call
132           (in stdlib.h on Win32 but in std:: for gcc)
133       * src/gdcmDictSet::SetDictPath adds a trailing / to environement
134         variable GDCM_DICT_PATH.
135       * src/gdcmHeader.cxx verbose comments made discrete.
136
137 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
138       * python/gdcm.i: added a typemap that converts a C++ hashing table
139         to native Python dictionary.
140       * python/demo/test.py:
141         - now uses the native dictionary for exploration of gdcmHeader.
142         - takes an optional filename argument (the file to parse).
143       * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
144         PubElVals hashing table. 
145       * Dicts/dicomV3.dic removed error prone trailing spaces.
146
147 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
148       * Python wrapping process moved away from src/Makefile to
149         newly created python/Makefile (as well as gdcm.i)
150       * python/demo/test.py (that mirrors Test/test.cxx) is effective.
151       * src/gdcmHeader::FindLength only looks for current vr when necessary.
152       * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
153         from the environement variable GDCM_DICT_PATH (when existing).
154       * src/gdcmDict::GetTag bug fix.
155
156 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
157       * Straightforward temporary fixes for swig to build the python wrappers.
158         src/Makefile now has a python working entry [by working we mean
159         that we can import de shadow classes without errors].
160
161 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
162       * hashtest.cxx removed (since allready in Test)
163       * src/gdcmlib.h renamed to src/gdcm.h
164       * src/dcm.i renamed to src/gdcm.i
165       * src/Makefile prepared for python wrapping
166
167 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
168       * src/gdcmHeader.cxx :
169         - Parsing of header is now separated from loading of element values
170           (see gdcmHeader::LoadElements).
171         - general clean up of hopefully all file access (creation of
172           ReadInt16 and ReadInt32)
173
174 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
175       * src/gdcmHeader.cxx :
176         - RecupLgr renamed to FindLength and cut off with new IsAnInteger
177           method.
178         - SetLgrElem renamed to SetLength
179         - GetLgrElem renamed to GetLength
180         - ~gdcmHeader() made virtual to pesky warning messages at compile.
181       * src/gdcmElValSet.cxx fixed both GetElValue methods
182       * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
183         due to IdoDude was cleaned out.
184
185 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
186       * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
187         concentrates on finding the value representation (when it exists).
188         RecupLgr now only finds the element value length, and it avoids
189         returning the unecessary skL (skipped length).
190         Also, offsetCourant was simply removed (with taille_fich) since
191         it was redundant with the File position internals (by using
192         ftell and fseek). This also made skL (see above in RecupLgr) usage
193         jajun.
194       * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
195         on the libido specificities which are handled through class 
196         inheritance.
197       * Test/implicit_vr.dcm dicom v3 in implicit value representation
198         added. 
199
200 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
201       * Truckload of changes. Parsing of header is barely functional
202         (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
203
204 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
205       * src/gdcmHeader.cxx many addons of low level methods
206
207 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
208       * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
209         and _IdDcmSWAP_LONG.
210
211 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
212       * This corresponds to all the changes decided at the meeting of
213         May 23 2002. Needless to say we are running late...
214