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