1 2003-06-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2 * vtk/vtkGdcmReader.[cxx/h]:
3 - UpdateProgress method should now be effective
4 - removed the limitation on having only images loaded (as opposed
6 - when building a stack of images/volume, a lesser number of
7 gdcmHeader and gdcmFile instances should be used (hopefully
9 - when building a stack of images/volumes, files which are not
10 loadable (wrong path-filename, wrong permissions on existing file,
11 or file not parsable by gdcm) are replaced with a black image
12 in the stack (for the caller to notice the problem).
14 2003-06-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
15 * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
17 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
18 * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
19 between standard library (std) and vtk library (problems are found
20 under Windows... thanks Windows !)
22 2003-05-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
23 * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
25 * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
27 2003-05-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
28 * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
30 2003-05-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
31 * When compiling with distutils (see setup.py) the C++ compiler is
32 called with different flags than the default ones (with automake).
33 In order to fix all those warning, I compiled gdcm with the command
34 make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
35 and went for warning fixes:
36 - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
37 up from unused variables.
38 - vtk/vtkGdcmReader.cxx: potential bug fix.
39 * src/gdcmHeader.h: Doxygen warning cleanup
41 2003-05-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
43 - typemaps correction to take into account the systematic replacement
44 of "using namespace std" with std:: prefix e.g. std::list,
45 std::string... (cf changes of 2003-05-21).
46 - gdcmGlob global variable of type gdcmGlobal (defined in
47 src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
48 exported to Python a as cvar.
49 * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
50 and GetPubDictTagNamesByCategory() as a replacement for deprecated
51 gdcmDictSet.GetPubDictTagNames() and
52 gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
54 * gdcmPython/demo/printGroupedPublicDict.py is operational again,
55 with the above changes.
57 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
58 * setup.py, manifest.in : bug fix under linux
60 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
61 * Modification of setup.py to compile vtk part too. Then, we have 2
62 wrappers which must work with same distutils. For that, we have a
63 generic distutils in distusiltsWrapping.py ; with :
64 - build_extWrap class to wrap generically all extensions,
65 - ExtensionWrap base class for all wrapping extension that contains
67 - Wrapper interface which wrap sources
68 + In WrapSwig.py we have extension and wrapper for Swig
69 + In WrapVTK.py we have extension and wrapper for VTK
70 * MANIFEST.in : modifications to consider vtk directory and new python
73 2003-05-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
74 * Added python wrappers of vtkGdcmReader vtk class (see the
75 source in vtk/vtkGdcmReader.cxx) :
76 - vtk/Makefile.am now builds a library
77 - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
78 python library (as opposed to _gdcm.so wich are the python
79 wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
80 (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
82 - configure.in has an additional flag --enable-vtk that needs
83 to be set to enable compilation of vtk related code, that is:
84 + vtk/vtkGdcmReader.so and
85 + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
86 + gdcmPython/vtkgdcmPython.so (see above)
87 - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
88 be read when compressed or when HighBit + 1 != BitsStored),
89 - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
90 the usage of the python wrapper of vtkGdcmReader vtk class.
91 * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
92 * src/*.[h] all occurences of stl classes are now prefixed with
93 std::, and all occurences of "using namespace std;" where removed.
94 This is to avoid pollution of global namespace in included files.
95 Apparently vtk does not avoid this pitfall: when using both
96 gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
97 collision of various stl members (principally cout...).
98 * gdcmPython/testSuite.py now cleanly removes temprory generated
100 * gdcmPython/gdcm.i now declares a typemap for std::string (to
101 comply with above changes)
103 2003-05-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
104 * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
105 * vtk/vtkGdcmReader.cxx now properly inports the image in the
106 vtk data structure (an image Flip was required).
107 * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
108 * cosmetic changes in documentation.
110 2003-05-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
111 * src/gdcmHeader.cxx: the constructor no longer exits when an
112 unexisting file is given as argument.
113 * The subdirectory Data (containing all the images used for the
114 test suite) is not part of this repository anymore. A new module
115 containing those images is now available at
116 :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
117 with the name gdcmData.
118 All the python scripts (including the package initialisation file
119 gdcmPython/__init__.py) were adapated to take this change into
120 account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
122 2003-05-5 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
123 * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
124 inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
125 demo of the usage of this class.
126 Compilation of this vtk part is only done when using the --enable-vtk
127 at configure (or autogen.sh) stage.
129 2003-04-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
130 * More memmory link related corrections and documentation fixes.
132 - maximum info is obtained with a command of the form:
133 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
134 --show-reachable=yes PrintHeader
135 - the remaining reachable blocks seem to come from the STL
136 allocation scheme through the usage of map and list. It looks
137 like this memory cannot be freed but it is not a memory leak
138 (in fact further invocation to the STL would recollect the
139 unused memory allthough it cannot explicitely be freed).
140 * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
141 of displaying an image parsed with gdcm and displayed with VTK.
142 Note: some images don't seem to work e.g.
143 python vtkGdcmDemo.py ../../Data/US-RGB-8-esopecho.dcm
144 * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
145 Allthough this weakens the semantics, it is a ditch attempt to
146 make gdcm more thread friendly.
148 2003-04-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
149 * Memory link hunt (by using valgrind through the command
150 valgrind --show-reachable=yes --leak-check=yes PrintHeader).
151 - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
152 gdcmHeader::_dicom_vr.
153 - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
154 - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
156 - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
158 2003-04-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
159 * src/Makefile.am now exports all the necessary include files at
163 * UpdateGroupLength replaced by new one
166 * UpdateGroupLength re-written using H-Table
167 (named UpdateGroupLengthNew untill checks are over)
169 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
170 * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
171 * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
173 - gdcmHeader::GetPubElValSet removed.
174 - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
175 UpdateGroupLength, WriteElements, Write.
176 - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
177 doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
178 carried the same semantics.
179 - src/gdcmHeaderIdo.cxx changed accordingly.
180 - gdcmFile::WriteBase now regroups all the codes from previous
181 versions of WriteDcm, WriteDcmImplVR, and WriteACR.
182 - enum FileType moved to gdcmCommon.h
183 * src/gdcmHeader.cxx AddDefault trashed
185 * getimageDataSize now calls gdcmGetXSize
186 * Test/*.cxx changed to agree with above changes
188 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
189 * src/gdcmHeader.h: LoadElements() is not a public method anymore
190 (to avoid double call by end user).
191 * Test/*.cxx LoadElements() doesn't need to be called explicitely
192 by end user, since gdcmHeader::gdcmHeader now handles it.
194 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
195 * gdcm/Doc many doxygen changes:
196 - Doxyfile now has two different versions, DoxyfileUsers that generates
197 the html.users end users oriented documentation and
198 DoxyfileDeveloppers that generates the html.developper developper
199 oriented documentation.
200 - README changed accordingly
201 - requirement.txt removed (old design info moved to TODO).
202 - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
203 DoxyMainPage.txt, DoxyPython.txt provide more information.
204 - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
205 be updated by simply regenerating the docs with doxygen and copying
206 html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
207 * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
208 all the tests in the form "if (<map>.count() >1)" were removed.
209 * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
210 ill-formed documentation sections.
211 * src/gdcmHeader.cxx: ditto
213 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
214 * setup.py fixed for un*x (needed macro for stdint.h)
215 * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
216 un*ces with sh-utils test utility.
217 * gdcmPython/demo/test.py renamed to PrintHeader.py
218 * gdcmPython/demo/ReorganiseFiles.py new demo script added.
219 * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
220 * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
221 * src/gdcm*.cxx JPR's bad inclusion fixed.
223 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
224 * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
225 * gdcmPython/demo/test.py changed accordingly.
227 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
228 * gdcmPython/Makefile.am fixed linking against libstdc++
229 * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
230 * Swig subdir (historical tests of swig version 1.3.17++) removed
231 * Test/testChangeEntete.cxx some lines commented out in order to make
233 * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
234 * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
236 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
237 * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
238 hence the user doesn't need this explicit call.
239 - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
240 i.e. LoadElements() call removed.
241 * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
242 - src/Makefile.am declares the proper flag for g++.
243 * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
244 for adding user defined new tags.
245 - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
246 - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
247 cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
249 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
250 * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
251 Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
252 src/Makefile.am : the project should properly compile and install
253 with the autotools, included the python wrappers part.
254 * gdcm.spec.in : added a spec file for RPM packaging.
256 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
257 * src/gdcmUtils.cxx : redifinition of defaults parameters in code
259 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
260 * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
261 to exported to the environement (see gdcmPython/testSuite.py
263 * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
264 gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
265 ElValue class renamed to gdcmElValue for obvious consistency reasons.
266 * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
267 moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
269 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
270 * gdcmPython/__init__.py doesn't crash anymore when running in
271 in InstallMode or PreInstallMode but with an environement given
272 value of GDCM_DICT_PATH.
273 * src/gdcmDictSet.[cxx/h] coding style.
275 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
276 * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
277 * src/gdcm.h general comments moved to TODO, and README
278 * src/gdcm.h should now be seen as a user commodity (including it
279 should suffice to fully use gdcm). It is nowhere including within
280 any of the kernel files src/*.cxx and src/*.h.
282 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
283 * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
284 gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
286 * src/gdcm*.cxx only include their corresponding include file
287 (as opposed to gdcm.h)
288 * gdcmPython/gdcm.i changed accordingly
289 * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
290 the autogen.sh generated "make snapshot" command to work.
291 * autogen.sh removed history related references to crea package.
293 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
294 * distutilsSwigCPlusPlus.py work around some swig portability
297 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
298 * Eventually, python/gdcmPython was renamed to gdcmPython. This
299 was done in a last ditch attempt to get setup.py _really_
300 operationnal. The python/gdcmPython layaout add the advantage
301 of hidding away the python related distutils specific files
302 (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
303 Alas, the src directory was out of scope (i.e. it's relative
304 position to setup.py was ../src) which made things impossible to
305 handle (see previous version of python/setup.py). Crossing fingers...
307 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
308 * python/setup.py now works on Un*x. (harder than I thougth)
309 * python/distutilsSwigCPlusPlus.py can now have include files
310 among the list of sources.
312 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
313 * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
314 * modifications in MSVC projects
316 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
317 * As stated by the first lines of Test/ExceptionAndPython/README, it
318 looks like we can move back to original usage of exception within
319 src/gdcm* and hence remove the errno stuff that was introduced
320 as a quick and dirty fixture of this problem (added to the TODO).
321 * Doc/Doxyfile configuration file for Doxygen and corresponding
322 README file for usage added.
323 * Test/testWrite.cxx added. This new test comes from a split of
324 test.cxx that is now reverted to its original purpous i.e.
325 testing the proper parsing of a Dicom related file.
326 testWrite.cxx concentrates on testing the IO part of gdcm.
327 * Test/bug1.cxx (containing a bug on WIn32) added.
328 * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
329 - gdcmHeader::GetPubTagNames and gdcmHeader::GetPubTagNamesByCategory
330 whose purpose is to publish the content of the TagNames of the
331 Dicom public dictionnary were not accessible without an
332 instance of class gdcmHeader.
333 - those methods are now static methods of gdcmDictSet and hence
334 require no instances at all to be invocated.
335 - within gdcmDictSet this change required to change some method
336 to class methods (i.e. are now static) among which SetDictPath
337 (renamed to BuildDictPath) and LoadDefaultPubDict.
338 * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
339 the above changes by calling the new method classes of gdcmDictSet.
340 * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
341 the above to be effective.
342 * python/gdcmPython: in order to wrap properly the above changes
343 for Python, swig version now needs to be > 1.3.17.
344 * python/gdcmPython/Makefile fixed to adapt itself to new
345 configure/make shema introduced by Johan Montagnat (thanks for the
346 contribution). Alas this Makefile cannot be turned into a proper
347 Makefile.am without some heavy changes in the configure.in
348 (for python dectection).
349 * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
350 now avoids publishing the empty entries.
352 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
353 * python/setup.py : bug fix concerning install under windows
355 * gdcm.dsw : bug fix concerning path for libraries for python !!!
357 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
358 * Dicts/dicomV3.dic : remove double spaces !!!
359 * src/gdcmElValSet.cxx : bug fix concerning windows compiler
360 * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
363 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
364 * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
365 method. Doxygenation.
366 * src/gdcm.h clean up of JPR spurious comments.
368 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
369 * python/distutilsSwigCPlusPlus.py now properly collects the
370 shadow classes generated by "swig -c++" (gdcm.py in our case)
371 when using "python setup.py install".
372 * python/gdcmPython/__init__.py imports gdcm.py and only manually
373 reexports the working classes.
374 * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
375 by the classical C errno scheme. This is to prevent an obscure
376 behavior of the python wrappers when importing wxPython.wx prior
377 to gdcmPython (which ended up in an abort call). An illustration
378 of this oddity can be found in the Test/ExceptionAndPython
379 subdir (see the README file). This problem probably due to
380 an combination of g++ and dynamic loading.
381 * added Test/ExceptionAndPython (see above)
383 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
384 * Changed the layout of the python part to avoid bloating main
385 directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
386 i.e. the distutils arsenal. All the python related stuff is
387 again in a python subdir, but the package itself is now in
389 * setup.py was cleaned up:
390 - pythonIncludePath removed
391 - python setup.py bdist target is now functional.
392 * gdcmPython/__init__.py doesn't export FileName any more (to avoid
393 collision with other packages). gdcmPython/demo/*.py changed
395 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
396 * python subdir moved to gdcmPython (preparation of distutils packaging).
397 * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
398 distutils installer is operational.
399 * - gdcmPython/__init__.py now properly loads the swig generated
400 shadow classes (from gdcm.py).
401 - gdcmPython/demo/*.py changed to import the package gdcmPython
402 instead of gdcmPython/demo/load.py.
403 - gdcmPython/testSuite.py changed to import the package gdcmPython.
406 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
407 * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
408 GetPubTagNamesByCategory() to gdcmHeader that return a list of the
409 entries within the associated public Dicom dictionary resp. the same
410 information but sorted by the fourth field (PAT, IMG, DIR) of the
412 - Dicts/dicomV3.dic Entries which had and unspecified fourth field
413 are now in the "???" group.
414 - python/gdcm.i changed accordingly,
415 - python/demo/printGroupedPublicDict.py added, that gives an example
416 of the above new functionalities in Python.
418 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
419 * src/gdcm.h, gdcmHeader.cxx:
420 - historic references to glib's g_malloc and g_free (#defined)
421 were definitively removed.
422 - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
423 * src/gdcmElValSet.cxx:
424 - GetElement(guint32, guint32) renamed to GetElementByNumber.
425 - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
426 - GetElValue(string) renamed to GetElValueByName.
427 - Added GetElementByName(string).
428 * src/gdcmHeader.cxx: added
429 - GetPubElValRepByNumber(guint16, guint16)
430 - GetPubElValRepByName(string)
431 - GetShaElValRepByNumber(guint16, guint16)
432 - GetShaElValRepByName(string)
433 - GetShaElValByNumber(guint16, guint16)
434 - GetShaElValRepByName(string)
435 - GetElValRepByNumber(guint16, guint16)
436 - GetElValRepByName(string)
437 - GetElValByNumber(guint16, guint16)
438 - GetElValRepByName(string)
439 * Doc/requirements.txt added.
441 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
442 * Test/Makefile building now depends on the one of libgdcm.so
443 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
444 pixel data) aware which enables finding the address (offset) of
445 the pixel data of JPEG encoded DICOM files. This leaves only a single
446 file in the testSuite whose pixel data address (offset) is unknown.
447 * python/testSuite.py changed accordingly.
449 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
450 * VC++ has some strong limitations when working with the STL, as stated
451 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
452 "Also note that some STL containers (map, set, queue, list, deque)
453 cannot be exported. [...]
454 Some STL classes contain nested classes. These classes can not
456 This is caused by a designed limitation that once a template
457 class is instantiated, it can not be re-instantiated and
459 Since our usage of map<> is ubiquitous in gdcm, this "designed
460 limitation" of VC++ is a pitfall.
461 Hence the Python wrappers of gdcm cannot be incrementally linked
462 against the c++ dynamic library. The dirty but only workaround is
463 to forget about incremental link of dynamic libraries and to generate
464 the Python wrappers library with the inclusions of the underlying C++
466 The following modifications concern this matter on Win32/VC++:
467 - wrapping python correct with standalone wrapped dll (don't use separate
468 dll under windows !!!!)
469 - python21_d debug mode enabled (ask Frog how to use it :-)
470 - NO problem with having an STL member of class for example string in C++
471 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
472 - Python test of dcmlib in Python is ok under windows on a large set
474 * removed glib references
475 * typedef's inserted in gdcm.i for correct swig type management
477 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
478 * python/demo/*.py load.py extracted from test.py. Added explore.py
479 that only displays required tags and testAll.py that parses all
480 the files of the testsuite without using unittest.
481 * python/testSuite.py other additional test on new files added.
482 * Data/* new test files added accordingly to the testSuite.
483 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
484 the vr in the file differs from the one of the dictionary.
486 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
487 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
488 values, but limits itself to values which are below a user specified
489 size (by default 1024 bytes).
490 * python/gdcm.i : elements not loaded (because their size is above the
491 user specified treshold) are exported with their TagKey as key of the
492 python dictionary. This enables the testsuite to make some checks
493 on the unloaded elements (since we have their offset and size).
494 * python/testSuite.py
495 - now tests for the existence and proper value of the pixel data
496 - two new examples added.
497 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
499 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
500 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
501 aware. See the strategy comments in gdcmHeader::FindeLength().
502 * Test/test.cxx now accepts a filename as first argument.
503 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
504 * python/testSuite.py changed to integrate test on above files.
506 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
507 * Dicts/dicomV3.dic removed all the trailing (RET) when the
509 * python/testSuite.py more tests added.
511 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
512 * python/testSuite.py unittest test suite added (uses Data)
513 * Data/* dcm and acr files for the test suite.
514 * glib dependance removed from un*x version. We now use ISO C99
515 7.18 Integer types (see stdint.h)
516 - python/Makefile, src/Makefile src/gdcm.h
517 * src/ when an explicit vr (like dicom files) suddenly poped an
518 implicit element we use to mark the underlying DictEntry of the
519 concerned ElValue with "Implicit". This strategy was damageable
520 too the public or provite dictionaries, since some of their vr
521 would be changed. Since Header::FindLength heavily relies on the
522 detection by Header::FindVR of falsely explicit elements, I
523 added an extra ImplicitVr member to ElValue (boolean).
524 The rest of the changes we the necessary adaptations.
526 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
527 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
529 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
531 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
532 * Adaptation for porting to VC++:
534 o forced to use std namespace (for string to be known)
535 o all class use __declspec export style on WIN32
536 - src/gdcmUtil.cxx new Exit method that wraps the exit call
537 (in stdlib.h on Win32 but in std:: for gcc)
538 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
539 variable GDCM_DICT_PATH.
540 * src/gdcmHeader.cxx verbose comments made discrete.
542 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
543 * python/gdcm.i: added a typemap that converts a C++ hashing table
544 to native Python dictionary.
545 * python/demo/test.py:
546 - now uses the native dictionary for exploration of gdcmHeader.
547 - takes an optional filename argument (the file to parse).
548 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
549 PubElVals hashing table.
550 * Dicts/dicomV3.dic removed error prone trailing spaces.
552 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
553 * Python wrapping process moved away from src/Makefile to
554 newly created python/Makefile (as well as gdcm.i)
555 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
556 * src/gdcmHeader::FindLength only looks for current vr when necessary.
557 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
558 from the environement variable GDCM_DICT_PATH (when existing).
559 * src/gdcmDict::GetTag bug fix.
561 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
562 * Straightforward temporary fixes for swig to build the python wrappers.
563 src/Makefile now has a python working entry [by working we mean
564 that we can import de shadow classes without errors].
566 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
567 * hashtest.cxx removed (since allready in Test)
568 * src/gdcmlib.h renamed to src/gdcm.h
569 * src/dcm.i renamed to src/gdcm.i
570 * src/Makefile prepared for python wrapping
572 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
573 * src/gdcmHeader.cxx :
574 - Parsing of header is now separated from loading of element values
575 (see gdcmHeader::LoadElements).
576 - general clean up of hopefully all file access (creation of
577 ReadInt16 and ReadInt32)
579 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
580 * src/gdcmHeader.cxx :
581 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
583 - SetLgrElem renamed to SetLength
584 - GetLgrElem renamed to GetLength
585 - ~gdcmHeader() made virtual to pesky warning messages at compile.
586 * src/gdcmElValSet.cxx fixed both GetElValue methods
587 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
588 due to IdoDude was cleaned out.
590 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
591 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
592 concentrates on finding the value representation (when it exists).
593 RecupLgr now only finds the element value length, and it avoids
594 returning the unecessary skL (skipped length).
595 Also, offsetCourant was simply removed (with taille_fich) since
596 it was redundant with the File position internals (by using
597 ftell and fseek). This also made skL (see above in RecupLgr) usage
599 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
600 on the libido specificities which are handled through class
602 * Test/implicit_vr.dcm dicom v3 in implicit value representation
605 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
606 * Truckload of changes. Parsing of header is barely functional
607 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
609 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
610 * src/gdcmHeader.cxx many addons of low level methods
612 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
613 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
616 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
617 * This corresponds to all the changes decided at the meeting of
618 May 23 2002. Needless to say we are running late...