1 2003-10-03 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
2 * vtkGdcmReader is now able to read rgb dicom file.
3 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
4 2003-10-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
5 * src/*.cxx removed pragma thingies to src/gdcmCommon.h
6 Two reasons: - clear things
7 - third parties acces gdcm through header files, so won't
8 suffer anymore VC++ complains
10 2003-09-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
11 * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
12 char* to std::string. Thus, the use of strdup becoomes useless. (see
13 previous commis of Malaterre)
14 * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
15 before the last Malaterre's commit.
17 2003-09-19 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
18 * This commit should fix the Debug building under VC++, the problem
19 was mainly a mixture of debug and release lib being loaded at startup.
20 * I also remove a depency to a specific C function: strdup. Because I had
21 to force the link to msvcrtd (whereas strdup is in libc).
23 2003-09-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
24 * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
25 located in the gdcmCommon.h file. All use of reference of tha has been
26 changed to now use the variable GDCM_UNFOUND.
28 2003-09-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
30 - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
31 Dicom dictionary. The test suite can now be run again. Note:
32 I'm note very happy with the " (RET)" changes. I believe this
33 RETAINED comment should be dropped when parsing the dictionary.
36 - AUTHORS updated and now in alphabetical order
37 * Makefile.am now exports gdcm.dsw for Windoze users.
39 2003-09-11 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
40 * cygwin complains about missing std:: in subdir Test/
42 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
43 * remove some methods that are now in gdcmHeaderHelper
45 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
46 * vtkGdcmReader set spacing and origin correctly
48 2003-09-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
49 * Fix a few delete/delete[] mismatch
51 2003-09-08 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
52 * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
53 interpretation to data given by gdcmHeader. For instance there are
54 heuristics to get informations (look at different places).
55 * it also include a specific class: gdcmSerieHeaderHelper devoted to
56 sorting DICOM images based on different strategies.
57 * modified Makefiles accordingly.
59 2003-09-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
60 * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
61 when building in debug mode
62 * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
64 * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
66 2003-08-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
67 * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks to valgrind.
69 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
70 * src/win32/libgdcmjpeg12.dsp was not dos format
71 * src/win32/libgdcmjpeg12.dsp : libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
72 * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
74 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
75 * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
77 * src/gdcmFile.cxx : bug fix in affectation type
78 * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
79 in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
80 * Modifs of MVSC projects to compile them. Not concerning 2 identic
81 symbols... futur problem ?
83 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
84 * src/win32/libgdcmijpeg12.dsp was missing
85 * modified gdcm.dsw accordingly
87 2003-07-28 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
88 * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
90 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
91 * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
92 commit of JPR (before his hollidays to facilitate our work).
93 * setup.py : bug fix in code. Modifications made while the last commit
94 of JPR. The code hasn't been tested before the commit... it's so
95 useless to make that (for best programmer that is JPR) !!!
97 2003-07-08 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
98 * tagged the current version as Version0_3 (i.e. version 0.3)
100 2003-07-08 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
101 * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
102 * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
103 * *.dsp : modifications to use new libgdcmijpeg8 library
104 * setup.py : bug fix on VTKPATH variable
105 * PACKAGER : adding all concerning windows
107 2003-07-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
108 * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
110 * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
111 * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
112 test suite reported error.
113 * PACKAGER file added (describes what a packager must do when
114 packaging a new release).
115 * MANIFEST.in, now declares jconfig.linux and jconfig.vc
116 * configure.in: upgraded version number to 0.3.0
117 * fixing build of rpm (through rpm -ta):
118 - Doc/Makefile.am exports proper doxygen files
119 - src/jpeg/libijg8/Makefile.am exports the include files.
121 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
122 * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
123 * src/gdcmHeader.h : formatting code
125 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
126 * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
127 We were obtaining error message from vtk. Now, creation of file list
128 is made in an internal list to prevent this problem.
129 Bug fix when output is empty.
130 Bug fix in update of progress value. Previous commit for this was a bad
132 * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
134 2003-07-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
135 * src/gdcmHeader.h : added method to get the file name
136 * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
137 files. Added method to remove all files on the input
138 Added FIXME comment concerning the bad parsing of header made by
139 ExecuteInformation method (in ExecuteData method)
141 2003-07-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
142 * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
143 when using make instal.
144 * src/gdcmFile.cxx : bug fix under Window after JPR commit
145 RQ : the JPR doesn't appear in the ChangeLog... normal for him
147 2003-07-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
148 * setup.py : adding include dir of jpeg lib to compile all sources
149 * */Win32/*.dsp : JPR fix for windows compilation
151 2003-07-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
152 * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
154 * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
155 * src/win32/gdcmdll.dsp : JPR fix for windows compilation
157 2003-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
158 * setup.py is again effective on un*x (takes into account the
159 addon of the jpeg library)
160 * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
161 * Doc/Doxy* updated (includes above enhancements)
162 * INSTALL now points to web documentation
164 2003-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
165 * src/gdcmHeader.h doesn't make unnecessary reference to
167 * gdcmPython/Makefile.am now avoids calling the wrappers for the
169 * src/gdcm*.[cxx|h] :
170 - to allow compilation with gcc 3.x
171 -- clean up of STL usage (added explicit usage of std::)
172 -- small fixes on exceptions.
173 Note: linking not tested !
174 - clean of doxygen comments to avoid warnings at documentation
176 * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
177 dependent convertion).
179 2003-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
180 * Clean up of previous JPR garbage commit (not even commented in the
182 - Test/Makefile.am removed the reference to unexisting testTS.cxx
183 - moved all jpeg related files from src to src/jpeg/libijg8, with
184 addition/modification of Makefile.am and configure.in.
185 - the testSuite is still brain damage (not guilty).
187 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
188 * WrapVTK.py : modifications to get correctly vtk source files to
190 * vtk/vtkGdcmReader.cxx : modification for an already existing name
191 (FileName -> Filename)
193 2003-06-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
194 * vtk/vtkGdcmReader.[cxx/h]:
195 - UpdateProgress method should now be effective
196 - removed the limitation on having only images loaded (as opposed
198 - when building a stack of images/volume, a lesser number of
199 gdcmHeader and gdcmFile instances should be used (hopefully
200 accelerating things).
201 - when building a stack of images/volumes, files which are not
202 loadable (wrong path-filename, wrong permissions on existing file,
203 or file not parsable by gdcm) are replaced with a black image
204 in the stack (for the caller to notice the problem).
206 2003-06-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
207 * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
209 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
210 * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
211 between standard library (std) and vtk library (problems are found
212 under Windows... thanks Windows !)
214 2003-05-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
215 * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
217 * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
219 2003-05-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
220 * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
222 2003-05-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
223 * When compiling with distutils (see setup.py) the C++ compiler is
224 called with different flags than the default ones (with automake).
225 In order to fix all those warning, I compiled gdcm with the command
226 make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
227 and went for warning fixes:
228 - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
229 up from unused variables.
230 - vtk/vtkGdcmReader.cxx: potential bug fix.
231 * src/gdcmHeader.h: Doxygen warning cleanup
233 2003-05-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
235 - typemaps correction to take into account the systematic replacement
236 of "using namespace std" with std:: prefix e.g. std::list,
237 std::string... (cf changes of 2003-05-21).
238 - gdcmGlob global variable of type gdcmGlobal (defined in
239 src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
240 exported to Python a as cvar.
241 * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
242 and GetPubDictTagNamesByCategory() as a replacement for deprecated
243 gdcmDictSet.GetPubDictTagNames() and
244 gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
246 * gdcmPython/demo/printGroupedPublicDict.py is operational again,
247 with the above changes.
249 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
250 * setup.py, manifest.in : bug fix under linux
252 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
253 * Modification of setup.py to compile vtk part too. Then, we have 2
254 wrappers which must work with same distutils. For that, we have a
255 generic distutils in distusiltsWrapping.py ; with :
256 - build_extWrap class to wrap generically all extensions,
257 - ExtensionWrap base class for all wrapping extension that contains
259 - Wrapper interface which wrap sources
260 + In WrapSwig.py we have extension and wrapper for Swig
261 + In WrapVTK.py we have extension and wrapper for VTK
262 * MANIFEST.in : modifications to consider vtk directory and new python
263 files for compilation
265 2003-05-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
266 * Added python wrappers of vtkGdcmReader vtk class (see the
267 source in vtk/vtkGdcmReader.cxx) :
268 - vtk/Makefile.am now builds a library
269 - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
270 python library (as opposed to _gdcm.so wich are the python
271 wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
272 (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
274 - configure.in has an additional flag --enable-vtk that needs
275 to be set to enable compilation of vtk related code, that is:
276 + vtk/vtkGdcmReader.so and
277 + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
278 + gdcmPython/vtkgdcmPython.so (see above)
279 - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
280 be read when compressed or when HighBit + 1 != BitsStored),
281 - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
282 the usage of the python wrapper of vtkGdcmReader vtk class.
283 * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
284 * src/*.[h] all occurences of stl classes are now prefixed with
285 std::, and all occurences of "using namespace std;" where removed.
286 This is to avoid pollution of global namespace in included files.
287 Apparently vtk does not avoid this pitfall: when using both
288 gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
289 collision of various stl members (principally cout...).
290 * gdcmPython/testSuite.py now cleanly removes temprory generated
292 * gdcmPython/gdcm.i now declares a typemap for std::string (to
293 comply with above changes)
295 2003-05-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
296 * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
297 * vtk/vtkGdcmReader.cxx now properly inports the image in the
298 vtk data structure (an image Flip was required).
299 * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
300 * cosmetic changes in documentation.
302 2003-05-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
303 * src/gdcmHeader.cxx: the constructor no longer exits when an
304 unexisting file is given as argument.
305 * The subdirectory Data (containing all the images used for the
306 test suite) is not part of this repository anymore. A new module
307 containing those images is now available at
308 :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
309 with the name gdcmData.
310 All the python scripts (including the package initialisation file
311 gdcmPython/__init__.py) were adapated to take this change into
312 account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
314 2003-05-5 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
315 * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
316 inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
317 demo of the usage of this class.
318 Compilation of this vtk part is only done when using the --enable-vtk
319 at configure (or autogen.sh) stage.
321 2003-04-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
322 * More memmory link related corrections and documentation fixes.
324 - maximum info is obtained with a command of the form:
325 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
326 --show-reachable=yes PrintHeader
327 - the remaining reachable blocks seem to come from the STL
328 allocation scheme through the usage of map and list. It looks
329 like this memory cannot be freed but it is not a memory leak
330 (in fact further invocation to the STL would recollect the
331 unused memory allthough it cannot explicitely be freed).
332 * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
333 of displaying an image parsed with gdcm and displayed with VTK.
334 Note: some images don't seem to work e.g.
335 python vtkGdcmDemo.py ../../Data/US-RGB-8-esopecho.dcm
336 * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
337 Allthough this weakens the semantics, it is a ditch attempt to
338 make gdcm more thread friendly.
340 2003-04-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
341 * Memory link hunt (by using valgrind through the command
342 valgrind --show-reachable=yes --leak-check=yes PrintHeader).
343 - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
344 gdcmHeader::_dicom_vr.
345 - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
346 - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
348 - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
350 2003-04-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
351 * src/Makefile.am now exports all the necessary include files at
355 * UpdateGroupLength replaced by new one
358 * UpdateGroupLength re-written using H-Table
359 (named UpdateGroupLengthNew untill checks are over)
361 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
362 * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
363 * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
365 - gdcmHeader::GetPubElValSet removed.
366 - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
367 UpdateGroupLength, WriteElements, Write.
368 - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
369 doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
370 carried the same semantics.
371 - src/gdcmHeaderIdo.cxx changed accordingly.
372 - gdcmFile::WriteBase now regroups all the codes from previous
373 versions of WriteDcm, WriteDcmImplVR, and WriteACR.
374 - enum FileType moved to gdcmCommon.h
375 * src/gdcmHeader.cxx AddDefault trashed
377 * getimageDataSize now calls gdcmGetXSize
378 * Test/*.cxx changed to agree with above changes
380 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
381 * src/gdcmHeader.h: LoadElements() is not a public method anymore
382 (to avoid double call by end user).
383 * Test/*.cxx LoadElements() doesn't need to be called explicitely
384 by end user, since gdcmHeader::gdcmHeader now handles it.
386 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
387 * gdcm/Doc many doxygen changes:
388 - Doxyfile now has two different versions, DoxyfileUsers that generates
389 the html.users end users oriented documentation and
390 DoxyfileDeveloppers that generates the html.developper developper
391 oriented documentation.
392 - README changed accordingly
393 - requirement.txt removed (old design info moved to TODO).
394 - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
395 DoxyMainPage.txt, DoxyPython.txt provide more information.
396 - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
397 be updated by simply regenerating the docs with doxygen and copying
398 html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
399 * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
400 all the tests in the form "if (<map>.count() >1)" were removed.
401 * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
402 ill-formed documentation sections.
403 * src/gdcmHeader.cxx: ditto
405 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
406 * setup.py fixed for un*x (needed macro for stdint.h)
407 * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
408 un*ces with sh-utils test utility.
409 * gdcmPython/demo/test.py renamed to PrintHeader.py
410 * gdcmPython/demo/ReorganiseFiles.py new demo script added.
411 * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
412 * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
413 * src/gdcm*.cxx JPR's bad inclusion fixed.
415 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
416 * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
417 * gdcmPython/demo/test.py changed accordingly.
419 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
420 * gdcmPython/Makefile.am fixed linking against libstdc++
421 * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
422 * Swig subdir (historical tests of swig version 1.3.17++) removed
423 * Test/testChangeEntete.cxx some lines commented out in order to make
425 * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
426 * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
428 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
429 * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
430 hence the user doesn't need this explicit call.
431 - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
432 i.e. LoadElements() call removed.
433 * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
434 - src/Makefile.am declares the proper flag for g++.
435 * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
436 for adding user defined new tags.
437 - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
438 - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
439 cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
441 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
442 * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
443 Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
444 src/Makefile.am : the project should properly compile and install
445 with the autotools, included the python wrappers part.
446 * gdcm.spec.in : added a spec file for RPM packaging.
448 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
449 * src/gdcmUtils.cxx : redifinition of defaults parameters in code
451 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
452 * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
453 to exported to the environement (see gdcmPython/testSuite.py
455 * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
456 gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
457 ElValue class renamed to gdcmElValue for obvious consistency reasons.
458 * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
459 moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
461 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
462 * gdcmPython/__init__.py doesn't crash anymore when running in
463 in InstallMode or PreInstallMode but with an environement given
464 value of GDCM_DICT_PATH.
465 * src/gdcmDictSet.[cxx/h] coding style.
467 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
468 * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
469 * src/gdcm.h general comments moved to TODO, and README
470 * src/gdcm.h should now be seen as a user commodity (including it
471 should suffice to fully use gdcm). It is nowhere including within
472 any of the kernel files src/*.cxx and src/*.h.
474 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
475 * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
476 gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
478 * src/gdcm*.cxx only include their corresponding include file
479 (as opposed to gdcm.h)
480 * gdcmPython/gdcm.i changed accordingly
481 * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
482 the autogen.sh generated "make snapshot" command to work.
483 * autogen.sh removed history related references to crea package.
485 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
486 * distutilsSwigCPlusPlus.py work around some swig portability
489 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
490 * Eventually, python/gdcmPython was renamed to gdcmPython. This
491 was done in a last ditch attempt to get setup.py _really_
492 operationnal. The python/gdcmPython layaout add the advantage
493 of hidding away the python related distutils specific files
494 (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
495 Alas, the src directory was out of scope (i.e. it's relative
496 position to setup.py was ../src) which made things impossible to
497 handle (see previous version of python/setup.py). Crossing fingers...
499 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
500 * python/setup.py now works on Un*x. (harder than I thougth)
501 * python/distutilsSwigCPlusPlus.py can now have include files
502 among the list of sources.
504 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
505 * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
506 * modifications in MSVC projects
508 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
509 * As stated by the first lines of Test/ExceptionAndPython/README, it
510 looks like we can move back to original usage of exception within
511 src/gdcm* and hence remove the errno stuff that was introduced
512 as a quick and dirty fixture of this problem (added to the TODO).
513 * Doc/Doxyfile configuration file for Doxygen and corresponding
514 README file for usage added.
515 * Test/testWrite.cxx added. This new test comes from a split of
516 test.cxx that is now reverted to its original purpous i.e.
517 testing the proper parsing of a Dicom related file.
518 testWrite.cxx concentrates on testing the IO part of gdcm.
519 * Test/bug1.cxx (containing a bug on WIn32) added.
520 * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
521 - gdcmHeader::GetPubTagNames and gdcmHeader::GetPubTagNamesByCategory
522 whose purpose is to publish the content of the TagNames of the
523 Dicom public dictionnary were not accessible without an
524 instance of class gdcmHeader.
525 - those methods are now static methods of gdcmDictSet and hence
526 require no instances at all to be invocated.
527 - within gdcmDictSet this change required to change some method
528 to class methods (i.e. are now static) among which SetDictPath
529 (renamed to BuildDictPath) and LoadDefaultPubDict.
530 * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
531 the above changes by calling the new method classes of gdcmDictSet.
532 * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
533 the above to be effective.
534 * python/gdcmPython: in order to wrap properly the above changes
535 for Python, swig version now needs to be > 1.3.17.
536 * python/gdcmPython/Makefile fixed to adapt itself to new
537 configure/make shema introduced by Johan Montagnat (thanks for the
538 contribution). Alas this Makefile cannot be turned into a proper
539 Makefile.am without some heavy changes in the configure.in
540 (for python dectection).
541 * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
542 now avoids publishing the empty entries.
544 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
545 * python/setup.py : bug fix concerning install under windows
547 * gdcm.dsw : bug fix concerning path for libraries for python !!!
549 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
550 * Dicts/dicomV3.dic : remove double spaces !!!
551 * src/gdcmElValSet.cxx : bug fix concerning windows compiler
552 * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
555 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
556 * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
557 method. Doxygenation.
558 * src/gdcm.h clean up of JPR spurious comments.
560 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
561 * python/distutilsSwigCPlusPlus.py now properly collects the
562 shadow classes generated by "swig -c++" (gdcm.py in our case)
563 when using "python setup.py install".
564 * python/gdcmPython/__init__.py imports gdcm.py and only manually
565 reexports the working classes.
566 * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
567 by the classical C errno scheme. This is to prevent an obscure
568 behavior of the python wrappers when importing wxPython.wx prior
569 to gdcmPython (which ended up in an abort call). An illustration
570 of this oddity can be found in the Test/ExceptionAndPython
571 subdir (see the README file). This problem probably due to
572 an combination of g++ and dynamic loading.
573 * added Test/ExceptionAndPython (see above)
575 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
576 * Changed the layout of the python part to avoid bloating main
577 directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
578 i.e. the distutils arsenal. All the python related stuff is
579 again in a python subdir, but the package itself is now in
581 * setup.py was cleaned up:
582 - pythonIncludePath removed
583 - python setup.py bdist target is now functional.
584 * gdcmPython/__init__.py doesn't export FileName any more (to avoid
585 collision with other packages). gdcmPython/demo/*.py changed
588 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
589 * python subdir moved to gdcmPython (preparation of distutils packaging).
590 * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
591 distutils installer is operational.
592 * - gdcmPython/__init__.py now properly loads the swig generated
593 shadow classes (from gdcm.py).
594 - gdcmPython/demo/*.py changed to import the package gdcmPython
595 instead of gdcmPython/demo/load.py.
596 - gdcmPython/testSuite.py changed to import the package gdcmPython.
598 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
599 * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
600 GetPubTagNamesByCategory() to gdcmHeader that return a list of the
601 entries within the associated public Dicom dictionary resp. the same
602 information but sorted by the fourth field (PAT, IMG, DIR) of the
604 - Dicts/dicomV3.dic Entries which had and unspecified fourth field
605 are now in the "???" group.
606 - python/gdcm.i changed accordingly,
607 - python/demo/printGroupedPublicDict.py added, that gives an example
608 of the above new functionalities in Python.
610 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
611 * src/gdcm.h, gdcmHeader.cxx:
612 - historic references to glib's g_malloc and g_free (#defined)
613 were definitively removed.
614 - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
615 * src/gdcmElValSet.cxx:
616 - GetElement(guint32, guint32) renamed to GetElementByNumber.
617 - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
618 - GetElValue(string) renamed to GetElValueByName.
619 - Added GetElementByName(string).
620 * src/gdcmHeader.cxx: added
621 - GetPubElValRepByNumber(guint16, guint16)
622 - GetPubElValRepByName(string)
623 - GetShaElValRepByNumber(guint16, guint16)
624 - GetShaElValRepByName(string)
625 - GetShaElValByNumber(guint16, guint16)
626 - GetShaElValRepByName(string)
627 - GetElValRepByNumber(guint16, guint16)
628 - GetElValRepByName(string)
629 - GetElValByNumber(guint16, guint16)
630 - GetElValRepByName(string)
631 * Doc/requirements.txt added.
633 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
634 * Test/Makefile building now depends on the one of libgdcm.so
635 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
636 pixel data) aware which enables finding the address (offset) of
637 the pixel data of JPEG encoded DICOM files. This leaves only a single
638 file in the testSuite whose pixel data address (offset) is unknown.
639 * python/testSuite.py changed accordingly.
641 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
642 * VC++ has some strong limitations when working with the STL, as stated
643 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
644 "Also note that some STL containers (map, set, queue, list, deque)
645 cannot be exported. [...]
646 Some STL classes contain nested classes. These classes can not
648 This is caused by a designed limitation that once a template
649 class is instantiated, it can not be re-instantiated and
651 Since our usage of map<> is ubiquitous in gdcm, this "designed
652 limitation" of VC++ is a pitfall.
653 Hence the Python wrappers of gdcm cannot be incrementally linked
654 against the c++ dynamic library. The dirty but only workaround is
655 to forget about incremental link of dynamic libraries and to generate
656 the Python wrappers library with the inclusions of the underlying C++
658 The following modifications concern this matter on Win32/VC++:
659 - wrapping python correct with standalone wrapped dll (don't use separate
660 dll under windows !!!!)
661 - python21_d debug mode enabled (ask Frog how to use it :-)
662 - NO problem with having an STL member of class for example string in C++
663 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
664 - Python test of dcmlib in Python is ok under windows on a large set
666 * removed glib references
667 * typedef's inserted in gdcm.i for correct swig type management
669 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
670 * python/demo/*.py load.py extracted from test.py. Added explore.py
671 that only displays required tags and testAll.py that parses all
672 the files of the testsuite without using unittest.
673 * python/testSuite.py other additional test on new files added.
674 * Data/* new test files added accordingly to the testSuite.
675 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
676 the vr in the file differs from the one of the dictionary.
678 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
679 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
680 values, but limits itself to values which are below a user specified
681 size (by default 1024 bytes).
682 * python/gdcm.i : elements not loaded (because their size is above the
683 user specified treshold) are exported with their TagKey as key of the
684 python dictionary. This enables the testsuite to make some checks
685 on the unloaded elements (since we have their offset and size).
686 * python/testSuite.py
687 - now tests for the existence and proper value of the pixel data
688 - two new examples added.
689 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
691 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
692 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
693 aware. See the strategy comments in gdcmHeader::FindeLength().
694 * Test/test.cxx now accepts a filename as first argument.
695 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
696 * python/testSuite.py changed to integrate test on above files.
698 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
699 * Dicts/dicomV3.dic removed all the trailing (RET) when the
701 * python/testSuite.py more tests added.
703 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
704 * python/testSuite.py unittest test suite added (uses Data)
705 * Data/* dcm and acr files for the test suite.
706 * glib dependance removed from un*x version. We now use ISO C99
707 7.18 Integer types (see stdint.h)
708 - python/Makefile, src/Makefile src/gdcm.h
709 * src/ when an explicit vr (like dicom files) suddenly poped an
710 implicit element we use to mark the underlying DictEntry of the
711 concerned ElValue with "Implicit". This strategy was damageable
712 too the public or provite dictionaries, since some of their vr
713 would be changed. Since Header::FindLength heavily relies on the
714 detection by Header::FindVR of falsely explicit elements, I
715 added an extra ImplicitVr member to ElValue (boolean).
716 The rest of the changes we the necessary adaptations.
718 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
719 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
721 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
723 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
724 * Adaptation for porting to VC++:
726 o forced to use std namespace (for string to be known)
727 o all class use __declspec export style on WIN32
728 - src/gdcmUtil.cxx new Exit method that wraps the exit call
729 (in stdlib.h on Win32 but in std:: for gcc)
730 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
731 variable GDCM_DICT_PATH.
732 * src/gdcmHeader.cxx verbose comments made discrete.
734 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
735 * python/gdcm.i: added a typemap that converts a C++ hashing table
736 to native Python dictionary.
737 * python/demo/test.py:
738 - now uses the native dictionary for exploration of gdcmHeader.
739 - takes an optional filename argument (the file to parse).
740 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
741 PubElVals hashing table.
742 * Dicts/dicomV3.dic removed error prone trailing spaces.
744 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
745 * Python wrapping process moved away from src/Makefile to
746 newly created python/Makefile (as well as gdcm.i)
747 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
748 * src/gdcmHeader::FindLength only looks for current vr when necessary.
749 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
750 from the environement variable GDCM_DICT_PATH (when existing).
751 * src/gdcmDict::GetTag bug fix.
753 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
754 * Straightforward temporary fixes for swig to build the python wrappers.
755 src/Makefile now has a python working entry [by working we mean
756 that we can import de shadow classes without errors].
758 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
759 * hashtest.cxx removed (since allready in Test)
760 * src/gdcmlib.h renamed to src/gdcm.h
761 * src/dcm.i renamed to src/gdcm.i
762 * src/Makefile prepared for python wrapping
764 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
765 * src/gdcmHeader.cxx :
766 - Parsing of header is now separated from loading of element values
767 (see gdcmHeader::LoadElements).
768 - general clean up of hopefully all file access (creation of
769 ReadInt16 and ReadInt32)
771 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
772 * src/gdcmHeader.cxx :
773 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
775 - SetLgrElem renamed to SetLength
776 - GetLgrElem renamed to GetLength
777 - ~gdcmHeader() made virtual to pesky warning messages at compile.
778 * src/gdcmElValSet.cxx fixed both GetElValue methods
779 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
780 due to IdoDude was cleaned out.
782 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
783 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
784 concentrates on finding the value representation (when it exists).
785 RecupLgr now only finds the element value length, and it avoids
786 returning the unecessary skL (skipped length).
787 Also, offsetCourant was simply removed (with taille_fich) since
788 it was redundant with the File position internals (by using
789 ftell and fseek). This also made skL (see above in RecupLgr) usage
791 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
792 on the libido specificities which are handled through class
794 * Test/implicit_vr.dcm dicom v3 in implicit value representation
797 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
798 * Truckload of changes. Parsing of header is barely functional
799 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
801 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
802 * src/gdcmHeader.cxx many addons of low level methods
804 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
805 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
808 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
809 * This corresponds to all the changes decided at the meeting of
810 May 23 2002. Needless to say we are running late...