1 2004-01-15 Benoit Regrain
2 * src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
3 entries created while parsing the header. Thus, they will be destroyed
4 when the gdcmDictSet will be destroyed
5 * src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
8 2004-01-15 Benoit Regrain
9 * vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
10 made a fatal error because of the memory release at the end of program.
11 The problem was in vtkGdcmReader::ExecuteData where we were allocate
12 some memory and vtk seems to have some problems with that.
13 * src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
15 2004-01-14 Benoit Regrain
16 * src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
17 * src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
18 * src/*.[h|cxx] : make changes due to class name changes
19 * gdcmPython/demo/*.py : bug fix due to method names
21 2004-01-13 Benoit Regrain
22 * src/*.[h|cxx] : coding style
23 * vtk/*.[h|cxx] : coding style
25 2004-01-13 Benoit Regrain
26 * gdcmPython/testSuite.py : test the readable flag of file for tests
27 * src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
28 It's lied to the stl compilation by MSVC (windows, always windows...)
29 * src/gdcmIdo.h, gdcmHeaderIdo.cxx : remove the Ido unused files
31 2004-01-12 Benoit Regrain
32 * src/*.h : add comments
33 * src/gdcmDictSet.h : set the method BuildDictPath in public
34 * src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
35 directly setted in the source code
36 * Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
39 2004-01-09 Benoit Regrain
40 * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
41 * setup.py : use a reference to gdcmVERSION
43 2004-01-07 Benoit Regrain
44 * Modification to compile with the distutils.
47 2003-12-10 Benoit Regrain
48 * gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
49 can use a gdcmHeaderHelper to load datas
50 * gdcmPython/testSuite.py : make the testSuite compliant with modifications
51 made in the source code
53 2003-12-10 Benoit Regrain
54 * Update Windows projects and .cvsignore files
56 2003-11-12 Jean-Pierre Roux
57 *ENH gdcmHeader constructor has one more parameter (default value : false)
58 that allows the user to 'go inside' the SeQuences only
60 gdcmElValSet:Print takes it into account
62 2003-11-12 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
63 *ENH: Update gdcmPython/CMakeLists
64 *FIX: (gdcmHeaderHelper) GetRescale and GetSlope
65 *FIX: (gdcmElValSet) char 'tag' was overiding private members (VC++)
67 2003-11-10 Jean-Pierre Roux
68 *FIX : gdcmHeader::LoadElements is now based
69 on the ListTag listElem member,
70 not longer on the TagElValueHT tagHt member
71 *ENH : PrintPubElVal shows (temporarily) both results,
72 with the tagHt member and the listElem member.
73 (it's easier to 'see' the problems when using Printheader)
75 *FIX : old private member LgrElem is now splitted into
76 ReadLength : Length actually found on disk (updated only
77 if bug fixing is necessary), for internal
79 UsableLength : Updated by FixFoundLength, to fix a bug
80 or to allow Parser going on.
81 Will allow to re-write a kosher header when a SeQuence
82 with a length (not 0000) is found
83 Warning : gdcmFile::Write still uses the TagHt (not ListElem)
84 because gdcmElValSet::Add does not update ListElem
87 2003-11-07 Jean-Pierre Roux
88 *FIX misstyping in Transfert Syntax name table
89 *ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
90 when they have an actual length (not 0000 nor FFFFF)
91 (Nobody should care of it, but DICOMDIR explorers)
93 2003-11-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
94 *ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
96 2003-11-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
97 *ENH: vtkGdcmReader now supports LUT !
98 (vtkgdcmViewer for now is not able to use them though)
100 2003-11-05 Jean-Pierre Roux
101 * in testSuite.py : new files names for checking the package
102 * Fix : Forgot to commit gdcmFile::GetImageDataSizeRaw();
103 that returns the pixel area size to the *aware* (vtk) user
104 that DOESN'T want to turn the PALETTE COLOR image into an RGB image
106 2003-11-05 Benoit Regrain
107 * in testSuite.py : Modify the rules for checking the paths
108 : Explicit error messages
109 * in __init__.py : Related modif
111 2003-11-03 Jean-Pierre Roux
112 * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
113 to be used by aware (vtk) users that want to manage
114 LUT (and no to turn the PALETTE image into an RGB pixels one)
115 * GetPixelType now returns 8U for 24 Bits images
116 (vtkGdcmReader compliant)
118 2003-10-31 Jean-Pierre Roux
119 * Removal of *all* gdcmData images and add them again
120 in order to loose the 'history' of un-anonymised images
122 2003-10-31 Jean-Pierre Roux
123 *RMV : removal of useless jBitsInJsample.h
124 for both 8 and 12 Bits JPEG Lossy Libraries
126 2003-10-31 Jean-Pierre Roux
127 * ENH : Add the functions gdcmFile::GetImageDataRaw
128 gdcmFile::GetImageDataIntoVectorRaw
129 that act as GetImageData and GetImageDataIntoVector
130 except the making of an RGB Plane from Gray Plane + LUT
131 Intended to aware (vtk) users who know how to manage
134 GetLUTRGBA return a R,G,B,A LUT if any
135 lgrTotaleRaw gives the 'Raw' length
136 GetImageDataRaw returns the gray Plane
137 * FIX : no more dirty trick for 'Segmented xxx Palette Color Lookup' images
138 (They stay Grey, just like with other Dicom viewers :-(
140 2003-10-30 Jean-Pierre Roux
141 * FIX : a VC++ intended syntax modif broke the 12/12 Bytes expanding
143 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
144 *ENH: Can be used like this '$vtkgdcmViewer *.dcm' with *.dcm
145 being coherents dicom files.
147 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
148 *FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg,
150 *ENH: Turn it into DOS file type to match libgdcmijpeg8.dsp file type
151 *ENH: Two steps is necessary to please VC++ compiler...
152 *FIX: DOH ! libgdcmijpg8 -> libgdcmljpeg
153 *ENH: Add include dir to medcon lib
154 *FIX: only one function is being exported for now !
155 You should use GLOBAL(return type) see ljpg/jpeg.h for more info
157 2003-10-29 Jean-Pierre Roux
158 * adding gdcmHeader::GetLUTRGBA
159 returns a 4 * 256 Bytes Reg/Green/Blue/Alpha vtk compliant LUT
160 --> Mathieu, the modif u're waiting for is not yet committed
161 * removal of now useless GetLUTRed,GetLUTGreen,GetLUTBlue,GetLUTRGB
163 2003-10-27 Jean-Pierre Roux
164 * adding some xmedcon breaker files (courtesy of Loïc Boussel)
165 . 00191113.dcm DermaColorLossLess.dcm
166 MxTwinLossLess.dcm RadBWLossLess.dcm
167 * ENH: For version prior to vtkImageViewer2 -r 1.19
168 * FIX: avoid pb with xmedcon-breaker CT McTwin Elscint images
170 2003-10-27 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
171 * Removal of ido stuff in CMakeLists.txt
173 2003-10-24 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
174 * ENH: vtkGdcmReader.cxx can now read multiframe dicom
175 * FIX: remove a call to ->Modified ... see comments
176 * FIX: vtkgdcmViewer.cxx was writting ASCII file...this is so slooooooow !
178 2003-10-23 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
179 * FIX: Problem with path for libvtkgdcmPython
180 * ENH: Try adding a search script for python site-package
181 * RMV: Remove some file from medcon lib that are not necessary
182 * FIX: gdcm/Makefile.am fix for generating ljpg medcon
183 * ENH: CMakeLists.txt now generate 'pygdcm.so' instead of 'libpygdcm.so'
184 * FIX: More pragma disable fro VC++,
185 I don't think I break something as it is also disable in VTK/ITK.
186 But it fasten debug compilation time.
188 2003-10-23 Jean-Pierre Roux
189 * gdcm now deals with 16 Bits Run Length Encoded images
190 (they are compressed as 2 planes images,
191 one for the high Bytes, the other for low Bytes)
193 2003-10-22 Jean-Pierre Roux
194 * Now CheckRead takes into account :
195 the bugged 'Leonardo' Siemens images
196 the XA images, sent thru the burning VPRO station
197 * add I9000001.dcm, a GE dlx XA image, thru the VEPRO burning station
200 2003-10-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
201 * FIX: When copying a Makefile.am to CMakeLists.txt
202 one should remove the '\'
204 2003-10-22 Jean-Pierre Roux
205 * in gdcmData adding a bugged 'Leonardo' Siemens image
206 (wrong lengths in header)
207 OK with gdcm, KO with the other viewers :-)
208 * add a GE dlx XA image, thru the VEPRO burning station
211 2003-10-21 Jean-Pierre Roux
212 * in gdcmData add the checkvtkgdcmViewer.sh shell script
213 for a brutal checking of vtkgdcmViewer compliance
215 2003-10-21 Jean-Pierre Roux
216 * add the files for 'xmedcon' Jpeg Lossless library
217 * call of 'xmedcom' Jpeg Lossles libray (instead of the old LibIDO one)
219 2003-10-21 Jean-Pierre Roux
220 * 'Compacted Files' (12 Bits Allocate, 12 Bits Stored) are now dealt with
222 2003-10-21 Jean-Pierre Roux
223 * garbage Siemens 'Leonardo' images dealt with
224 (the patch is easy to remove)
225 * cosmetic changes to avoid warnings
227 2003-10-20 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
228 * ENH: vtkgdcmViewer now autoscale color/window level on start-up,
229 no need to press 'r' now.
231 2003-10-20 Jean-Pierre Roux
232 * upgrade of checkRead.sh checkWrite.sh according
233 to new Jpeg Lossless decompressor
234 * add US.3405.1.dcm, a genuine RGB medical file ...
235 * add gdcm-ACR-LibIDO.acr, unnormalized Rectangular LibIDO format image
236 * add CLIP0001-Sequoia-U11.dcm, US 'Clip', from SEQUOIA machine,
238 2003-10-15 Jean-Pierre Roux
239 * general anonymisation in gdcmData
240 * adding the 'color files' from
241 http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
242 * adding some well knowed bugged-header images
243 * adding checkRead.sk, checkReadColor.sh, checkWrite.sh,
244 waiting for their inclusion in Python testsuite
246 2003-10-15 Jean-Pierre Roux
247 * gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
248 no longer seg faults when file is not found
250 2003-10-14 Jean-Pierre Roux
251 * Emprovement of reading for Dicom encapsulated Jpeg LossLess MultiFrame images
253 2003-10-14 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
254 * TODO: *.in file to genereate a UseGDCM later
256 2003-10-14 Jean-Pierre Roux
257 * Some supposed-to-be Dicom Images have no preamble.
258 OpenFile takes it into account
259 * Jpeg LossLess 24 Bits images doesn't break any longer gdcm
260 * Missing elements added in dicomV3.dic
261 (just to be affraid : have a look at
262 ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
263 and do it again next year ;->
265 2003-10-13 Jean-Pierre Roux
266 * According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of
267 a PALETTE COLOR is stored on 2 Bytes, theese 2 Bytes must be equal.
268 But there are NOT. It's fixed !
270 2003-10-13 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
271 * FIX: "jpeglib.h" was not found on VC++
272 * FIX: vtkgdcm was not being installed
274 2003-10-10 Jean-Pierre Roux
275 * ENH : OpenFile closes the file if it *really* doesn't look like
276 an ACR-NEMA / DICOM one.
277 * FIX : testWrite no longer writes an empty file if the source file
279 * ENH : One more JPEG LossLess type "JPEG Baseline (Process 14)"
282 2003-10-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
283 * FIX: CMake generate now documentation
284 * ENH: out of source doc build !
285 * ENH: Generate both user and dev documentation
286 * ENH: Should work on windows too
287 * ENH: Only one doxygen config.in file is needed
288 * FIX: make install should be ok now on ùnix plateform
289 * FIX: PATH to dictionary was wrong (missing /)
290 * ENH: OpenFile, return true if the file looks like an ACR or DICOM file
292 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
293 * vtkGdcmReader is now able to read rgb dicom file.
294 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
295 * added a gdcmViewer to vtk test, use mouse to control
296 window level & window width
298 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
299 * CMake-ification of gdcm, we have now two build system
300 * FIX: on cygwin Wsock32 doesn't exist
301 * FIX: force jpeg dir to the local one (gdcm/src/jpeg)
303 2003-10-06 Emanuel Ollart
304 * FIX : compilation process wad broken.
305 Changed gdcmViewer_sources to vtkgdcmViewer_sources
307 2003-10-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
308 * change gdcmViewer -> vtkgdcmViewer
309 * change GetXSpacing and GetYSpacing "%f\\%" is parsed backward
311 2003-10-06 Jean-Pierre Roux
312 * FIX :A few nasty patches to allow the reading of a lot of nasty images
313 ( e.g : well known GE images with a wrong elem length,
314 : Philips MRI Images with a wrong Huffman table)
315 * still to be done : allow the reading of bugged LEONARDO Siemens images
317 2003-10-03 Jean-Pierre Roux
318 * Odd length strings are padded with '\0' (not with spaces,
319 to remain compliant with already defined strings,
320 like Transfert Syntax UID and others)
322 2003-10-03 Jean-Pierre Roux
323 * ENH :gdcmHeaderHelper::GetNumberOfScalarComponents() added,
324 to allow displaying RGB images (not only by affim ;-)
326 2003-10-03 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
327 * vtkGdcmReader is now able to read rgb dicom file.
328 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
330 2003-10-03 Jean-Pierre Roux
331 * A few nasty patches to allow the reading of a lot of nasty images
332 ( e.g : well known GE images with a wrong elem length,
333 : Philips MRI Images with a wrong Huffman table)
334 * still to be done : allow the reading of bugged LEONARDO Siemens images
336 2003-10-03 Jean-Pierre Roux
337 * One more JPEG LossLess type "JPEG Baseline (Process 14)" is now decoded.
339 2003-10-03 Jean-Pierre Roux
340 * gdcmHeaderHelper::GetNumberOfScalarComponents() added,
341 to allow displaying RGB images (not only by affim ;-)
343 2003-10-03 Jean-Pierre Roux
344 * gdcmFile::GetImageDataIntoVector now
345 - deals with MultiFrames MultiFragments Run Length Encoded files
346 - deals with YcBcR (YBR_FULL) files
347 - deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
348 WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT, YBR_RCT files.
351 2003-10-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
352 * src/*.cxx removed pragma thingies to src/gdcmCommon.h
353 Two reasons: - clear things
354 - third parties acces gdcm through header files, so won't
355 suffer anymore VC++ complains
356 2003-09-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
357 * add argv[1] in testvtkGdcmReader.cxx
360 2003-09-24 Jean-Pierre Roux
361 * The lines are now eigthy characters long.for
362 gdcmHeader.cxx gdcmHeaderHelper.cxx gdcmParse.cxx
364 2003-09-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
365 * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
366 char* to std::string. Thus, the use of strdup becomes useless. (see
367 previous commis of Malaterre)
368 * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
369 before the last Malaterre's commit.
371 2003-09-19 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
372 * This commit should fix the Debug building under VC++, the problem
373 was mainly a mixture of debug and release lib being loaded at startup.
374 * I also remove a depency to a specific C function: strdup. Because I had
375 to force the link to msvcrtd (whereas strdup is in libc).
377 2003-09-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
378 * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
379 located in the gdcmCommon.h file. All use of reference of tha has been
380 changed to now use the variable GDCM_UNFOUND.
382 2003-09-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
384 - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
385 Dicom dictionary. The test suite can now be run again. Note:
386 I'm note very happy with the " (RET)" changes. I believe this
387 RETAINED comment should be dropped when parsing the dictionary.
390 - AUTHORS updated and now in alphabetical order
391 * Makefile.am now exports gdcm.dsw for Windoze users.
393 2003-09-11 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
394 * cygwin complains about missing std:: in subdir Test/
396 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
397 * remove some methods that are now in gdcmHeaderHelper
399 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
400 * vtkGdcmReader set spacing and origin correctly
402 2003-09-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
403 * Fix a few delete/delete[] mismatch
405 2003-09-08 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
406 * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
407 interpretation to data given by gdcmHeader. For instance there are
408 heuristics to get informations (look at different places).
409 * it also include a specific class: gdcmSerieHeaderHelper devoted to
410 sorting DICOM images based on different strategies.
411 * modified Makefiles accordingly.
413 2003-09-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
414 * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
415 when building in debug mode
416 * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
417 src/win32/gdcmdll.dsp
418 * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
420 2003-08-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
421 * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks to valgrind.
423 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
424 * src/win32/libgdcmjpeg12.dsp was not dos format
425 * src/win32/libgdcmjpeg12.dsp : libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
426 * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
428 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
429 * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
431 * src/gdcmFile.cxx : bug fix in affectation type
432 * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
433 in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
434 * Modifs of MVSC projects to compile them. Not concerning 2 identic
435 symbols... future problem ?
437 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
438 * src/win32/libgdcmijpeg12.dsp was missing
439 * modified gdcm.dsw accordingly
441 2003-07-28 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
442 * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
444 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
445 * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
446 commit of JPR (before his hollidays to facilitate our work).
447 * setup.py : bug fix in code. Modifications made while the last commit
448 of JPR. The code hasn't been tested before the commit... it's so
449 useless to make that (for best programmer that is JPR) !!!
451 2003-07-08 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
452 * tagged the current version as Version0_3 (i.e. version 0.3)
454 2003-07-08 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
455 * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
456 * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
457 * *.dsp : modifications to use new libgdcmijpeg8 library
458 * setup.py : bug fix on VTKPATH variable
459 * PACKAGER : adding all concerning windows
461 2003-07-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
462 * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
464 * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
465 * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
466 test suite reported error.
467 * PACKAGER file added (describes what a packager must do when
468 packaging a new release).
469 * MANIFEST.in, now declares jconfig.linux and jconfig.vc
470 * configure.in: upgraded version number to 0.3.0
471 * fixing build of rpm (through rpm -ta):
472 - Doc/Makefile.am exports proper doxygen files
473 - src/jpeg/libijg8/Makefile.am exports the include files.
475 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
476 * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
477 * src/gdcmHeader.h : formatting code
479 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
480 * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
481 We were obtaining error message from vtk. Now, creation of file list
482 is made in an internal list to prevent this problem.
483 Bug fix when output is empty.
484 Bug fix in update of progress value. Previous commit for this was a bad
486 * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
488 2003-07-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
489 * src/gdcmHeader.h : added method to get the file name
490 * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
491 files. Added method to remove all files on the input
492 Added FIXME comment concerning the bad parsing of header made by
493 ExecuteInformation method (in ExecuteData method)
495 2003-07-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
496 * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
497 when using make instal.
498 * src/gdcmFile.cxx : bug fix under Window after JPR commit
499 RQ : the JPR doesn't appear in the ChangeLog... normal for him
501 2003-07-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
502 * setup.py : adding include dir of jpeg lib to compile all sources
503 * */Win32/*.dsp : JPR fix for windows compilation
505 2003-07-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
506 * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
508 * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
509 * src/win32/gdcmdll.dsp : JPR fix for windows compilation
511 2003-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
512 * setup.py is again effective on un*x (takes into account the
513 addon of the jpeg library)
514 * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
515 * Doc/Doxy* updated (includes above enhancements)
516 * INSTALL now points to web documentation
518 2003-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
519 * src/gdcmHeader.h doesn't make unnecessary reference to
521 * gdcmPython/Makefile.am now avoids calling the wrappers for the
523 * src/gdcm*.[cxx|h] :
524 - to allow compilation with gcc 3.x
525 -- clean up of STL usage (added explicit usage of std::)
526 -- small fixes on exceptions.
527 Note: linking not tested !
528 - clean of doxygen comments to avoid warnings at documentation
530 * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
531 dependent convertion).
533 2003-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
534 * Clean up of previous JPR garbage commit (not even commented in the
536 - Test/Makefile.am removed the reference to unexisting testTS.cxx
537 - moved all jpeg related files from src to src/jpeg/libijg8, with
538 addition/modification of Makefile.am and configure.in.
539 - the testSuite is still brain damage (not guilty).
541 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
542 * WrapVTK.py : modifications to get correctly vtk source files to
544 * vtk/vtkGdcmReader.cxx : modification for an already existing name
545 (FileName -> Filename)
547 2003-06-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
548 * vtk/vtkGdcmReader.[cxx/h]:
549 - UpdateProgress method should now be effective
550 - removed the limitation on having only images loaded (as opposed
552 - when building a stack of images/volume, a lesser number of
553 gdcmHeader and gdcmFile instances should be used (hopefully
554 accelerating things).
555 - when building a stack of images/volumes, files which are not
556 loadable (wrong path-filename, wrong permissions on existing file,
557 or file not parsable by gdcm) are replaced with a black image
558 in the stack (for the caller to notice the problem).
560 2003-06-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
561 * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
563 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
564 * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
565 between standard library (std) and vtk library (problems are found
566 under Windows... thanks Windows !)
568 2003-05-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
569 * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
571 * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
573 2003-05-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
574 * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
576 2003-05-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
577 * When compiling with distutils (see setup.py) the C++ compiler is
578 called with different flags than the default ones (with automake).
579 In order to fix all those warning, I compiled gdcm with the command
580 make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
581 and went for warning fixes:
582 - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
583 up from unused variables.
584 - vtk/vtkGdcmReader.cxx: potential bug fix.
585 * src/gdcmHeader.h: Doxygen warning cleanup
587 2003-05-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
589 - typemaps correction to take into account the systematic replacement
590 of "using namespace std" with std:: prefix e.g. std::list,
591 std::string... (cf changes of 2003-05-21).
592 - gdcmGlob global variable of type gdcmGlobal (defined in
593 src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
594 exported to Python a as cvar.
595 * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
596 and GetPubDictTagNamesByCategory() as a replacement for deprecated
597 gdcmDictSet.GetPubDictTagNames() and
598 gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
600 * gdcmPython/demo/printGroupedPublicDict.py is operational again,
601 with the above changes.
603 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
604 * setup.py, manifest.in : bug fix under linux
606 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
607 * Modification of setup.py to compile vtk part too. Then, we have 2
608 wrappers which must work with same distutils. For that, we have a
609 generic distutils in distusiltsWrapping.py ; with :
610 - build_extWrap class to wrap generically all extensions,
611 - ExtensionWrap base class for all wrapping extension that contains
613 - Wrapper interface which wrap sources
614 + In WrapSwig.py we have extension and wrapper for Swig
615 + In WrapVTK.py we have extension and wrapper for VTK
616 * MANIFEST.in : modifications to consider vtk directory and new python
617 files for compilation
619 2003-05-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
620 * Added python wrappers of vtkGdcmReader vtk class (see the
621 source in vtk/vtkGdcmReader.cxx) :
622 - vtk/Makefile.am now builds a library
623 - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
624 python library (as opposed to _gdcm.so wich are the python
625 wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
626 (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
628 - configure.in has an additional flag --enable-vtk that needs
629 to be set to enable compilation of vtk related code, that is:
630 + vtk/vtkGdcmReader.so and
631 + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
632 + gdcmPython/vtkgdcmPython.so (see above)
633 - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
634 be read when compressed or when HighBit + 1 != BitsStored),
635 - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
636 the usage of the python wrapper of vtkGdcmReader vtk class.
637 * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
638 * src/*.[h] all occurences of stl classes are now prefixed with
639 std::, and all occurences of "using namespace std;" where removed.
640 This is to avoid pollution of global namespace in included files.
641 Apparently vtk does not avoid this pitfall: when using both
642 gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
643 collision of various stl members (principally cout...).
644 * gdcmPython/testSuite.py now cleanly removes temprory generated
646 * gdcmPython/gdcm.i now declares a typemap for std::string (to
647 comply with above changes)
649 2003-05-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
650 * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
651 * vtk/vtkGdcmReader.cxx now properly inports the image in the
652 vtk data structure (an image Flip was required).
653 * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
654 * cosmetic changes in documentation.
656 2003-05-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
657 * src/gdcmHeader.cxx: the constructor no longer exits when an
658 unexisting file is given as argument.
659 * The subdirectory Data (containing all the images used for the
660 test suite) is not part of this repository anymore. A new module
661 containing those images is now available at
662 :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
663 with the name gdcmData.
664 All the python scripts (including the package initialisation file
665 gdcmPython/__init__.py) were adapated to take this change into
666 account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
668 2003-05-5 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
669 * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
670 inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
671 demo of the usage of this class.
672 Compilation of this vtk part is only done when using the --enable-vtk
673 at configure (or autogen.sh) stage.
675 2003-04-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
676 * More memory link related corrections and documentation fixes.
678 - maximum info is obtained with a command of the form:
679 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
680 --show-reachable=yes PrintHeader
681 - the remaining reachable blocks seem to come from the STL
682 allocation scheme through the usage of map and list. It looks
683 like this memory cannot be freed but it is not a memory leak
684 (in fact further invocation to the STL would recollect the
685 unused memory allthough it cannot explicitely be freed).
686 * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
687 of displaying an image parsed with gdcm and displayed with VTK.
688 Note: some images don't seem to work e.g.
689 python vtkGdcmDemo.py ../../Data/US-RGB-8-esopecho.dcm
690 * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
691 Allthough this weakens the semantics, it is a ditch attempt to
692 make gdcm more thread friendly.
694 2003-04-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
695 * Memory link hunt (by using valgrind through the command
696 valgrind --show-reachable=yes --leak-check=yes PrintHeader).
697 - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
698 gdcmHeader::_dicom_vr.
699 - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
700 - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
702 - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
704 2003-04-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
705 * src/Makefile.am now exports all the necessary include files at
709 * UpdateGroupLength replaced by new one
712 * UpdateGroupLength re-written using H-Table
713 (named UpdateGroupLengthNew untill checks are over)
715 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
716 * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
717 * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
719 - gdcmHeader::GetPubElValSet removed.
720 - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
721 UpdateGroupLength, WriteElements, Write.
722 - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
723 doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
724 carried the same semantics.
725 - src/gdcmHeaderIdo.cxx changed accordingly.
726 - gdcmFile::WriteBase now regroups all the codes from previous
727 versions of WriteDcm, WriteDcmImplVR, and WriteACR.
728 - enum FileType moved to gdcmCommon.h
729 * src/gdcmHeader.cxx AddDefault trashed
731 * getimageDataSize now calls gdcmGetXSize
732 * Test/*.cxx changed to agree with above changes
734 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
735 * src/gdcmHeader.h: LoadElements() is not a public method anymore
736 (to avoid double call by end user).
737 * Test/*.cxx LoadElements() doesn't need to be called explicitely
738 by end user, since gdcmHeader::gdcmHeader now handles it.
740 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
741 * gdcm/Doc many doxygen changes:
742 - Doxyfile now has two different versions, DoxyfileUsers that generates
743 the html.users end users oriented documentation and
744 DoxyfileDeveloppers that generates the html.developper developper
745 oriented documentation.
746 - README changed accordingly
747 - requirement.txt removed (old design info moved to TODO).
748 - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
749 DoxyMainPage.txt, DoxyPython.txt provide more information.
750 - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
751 be updated by simply regenerating the docs with doxygen and copying
752 html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
753 * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
754 all the tests in the form "if (<map>.count() >1)" were removed.
755 * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
756 ill-formed documentation sections.
757 * src/gdcmHeader.cxx: ditto
759 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
760 * setup.py fixed for un*x (needed macro for stdint.h)
761 * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
762 un*ces with sh-utils test utility.
763 * gdcmPython/demo/test.py renamed to PrintHeader.py
764 * gdcmPython/demo/ReorganiseFiles.py new demo script added.
765 * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
766 * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
767 * src/gdcm*.cxx JPR's bad inclusion fixed.
769 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
770 * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
771 * gdcmPython/demo/test.py changed accordingly.
773 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
774 * gdcmPython/Makefile.am fixed linking against libstdc++
775 * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
776 * Swig subdir (historical tests of swig version 1.3.17++) removed
777 * Test/testChangeEntete.cxx some lines commented out in order to make
779 * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
780 * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
782 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
783 * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
784 hence the user doesn't need this explicit call.
785 - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
786 i.e. LoadElements() call removed.
787 * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
788 - src/Makefile.am declares the proper flag for g++.
789 * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
790 for adding user defined new tags.
791 - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
792 - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
793 cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
795 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
796 * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
797 Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
798 src/Makefile.am : the project should properly compile and install
799 with the autotools, included the python wrappers part.
800 * gdcm.spec.in : added a spec file for RPM packaging.
802 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
803 * src/gdcmUtils.cxx : redifinition of defaults parameters in code
805 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
806 * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
807 to exported to the environement (see gdcmPython/testSuite.py
809 * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
810 gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
811 ElValue class renamed to gdcmElValue for obvious consistency reasons.
812 * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
813 moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
815 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
816 * gdcmPython/__init__.py doesn't crash anymore when running in
817 in InstallMode or PreInstallMode but with an environement given
818 value of GDCM_DICT_PATH.
819 * src/gdcmDictSet.[cxx/h] coding style.
821 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
822 * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
823 * src/gdcm.h general comments moved to TODO, and README
824 * src/gdcm.h should now be seen as a user commodity (including it
825 should suffice to fully use gdcm). It is nowhere including within
826 any of the kernel files src/*.cxx and src/*.h.
828 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
829 * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
830 gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
832 * src/gdcm*.cxx only include their corresponding include file
833 (as opposed to gdcm.h)
834 * gdcmPython/gdcm.i changed accordingly
835 * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
836 the autogen.sh generated "make snapshot" command to work.
837 * autogen.sh removed history related references to crea package.
839 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
840 * distutilsSwigCPlusPlus.py work around some swig portability
843 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
844 * Eventually, python/gdcmPython was renamed to gdcmPython. This
845 was done in a last ditch attempt to get setup.py _really_
846 operationnal. The python/gdcmPython layaout add the advantage
847 of hidding away the python related distutils specific files
848 (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
849 Alas, the src directory was out of scope (i.e. it's relative
850 position to setup.py was ../src) which made things impossible to
851 handle (see previous version of python/setup.py). Crossing fingers...
853 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
854 * python/setup.py now works on Un*x. (harder than I thougth)
855 * python/distutilsSwigCPlusPlus.py can now have include files
856 among the list of sources.
858 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
859 * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
860 * modifications in MSVC projects
862 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
863 * As stated by the first lines of Test/ExceptionAndPython/README, it
864 looks like we can move back to original usage of exception within
865 src/gdcm* and hence remove the errno stuff that was introduced
866 as a quick and dirty fixture of this problem (added to the TODO).
867 * Doc/Doxyfile configuration file for Doxygen and corresponding
868 README file for usage added.
869 * Test/testWrite.cxx added. This new test comes from a split of
870 test.cxx that is now reverted to its original purpous i.e.
871 testing the proper parsing of a Dicom related file.
872 testWrite.cxx concentrates on testing the IO part of gdcm.
873 * Test/bug1.cxx (containing a bug on WIn32) added.
874 * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
875 - gdcmHeader::GetPubTagNames and gdcmHeader::GetPubTagNamesByCategory
876 whose purpose is to publish the content of the TagNames of the
877 Dicom public dictionnary were not accessible without an
878 instance of class gdcmHeader.
879 - those methods are now static methods of gdcmDictSet and hence
880 require no instances at all to be invocated.
881 - within gdcmDictSet this change required to change some method
882 to class methods (i.e. are now static) among which SetDictPath
883 (renamed to BuildDictPath) and LoadDefaultPubDict.
884 * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
885 the above changes by calling the new method classes of gdcmDictSet.
886 * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
887 the above to be effective.
888 * python/gdcmPython: in order to wrap properly the above changes
889 for Python, swig version now needs to be > 1.3.17.
890 * python/gdcmPython/Makefile fixed to adapt itself to new
891 configure/make shema introduced by Johan Montagnat (thanks for the
892 contribution). Alas this Makefile cannot be turned into a proper
893 Makefile.am without some heavy changes in the configure.in
894 (for python dectection).
895 * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
896 now avoids publishing the empty entries.
898 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
899 * python/setup.py : bug fix concerning install under windows
901 * gdcm.dsw : bug fix concerning path for libraries for python !!!
903 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
904 * Dicts/dicomV3.dic : remove double spaces !!!
905 * src/gdcmElValSet.cxx : bug fix concerning windows compiler
906 * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
909 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
910 * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
911 method. Doxygenation.
912 * src/gdcm.h clean up of JPR spurious comments.
914 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
915 * python/distutilsSwigCPlusPlus.py now properly collects the
916 shadow classes generated by "swig -c++" (gdcm.py in our case)
917 when using "python setup.py install".
918 * python/gdcmPython/__init__.py imports gdcm.py and only manually
919 reexports the working classes.
920 * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
921 by the classical C errno scheme. This is to prevent an obscure
922 behavior of the python wrappers when importing wxPython.wx prior
923 to gdcmPython (which ended up in an abort call). An illustration
924 of this oddity can be found in the Test/ExceptionAndPython
925 subdir (see the README file). This problem probably due to
926 an combination of g++ and dynamic loading.
927 * added Test/ExceptionAndPython (see above)
929 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
930 * Changed the layout of the python part to avoid bloating main
931 directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
932 i.e. the distutils arsenal. All the python related stuff is
933 again in a python subdir, but the package itself is now in
935 * setup.py was cleaned up:
936 - pythonIncludePath removed
937 - python setup.py bdist target is now functional.
938 * gdcmPython/__init__.py doesn't export FileName any more (to avoid
939 collision with other packages). gdcmPython/demo/*.py changed
942 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
943 * python subdir moved to gdcmPython (preparation of distutils packaging).
944 * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
945 distutils installer is operational.
946 * - gdcmPython/__init__.py now properly loads the swig generated
947 shadow classes (from gdcm.py).
948 - gdcmPython/demo/*.py changed to import the package gdcmPython
949 instead of gdcmPython/demo/load.py.
950 - gdcmPython/testSuite.py changed to import the package gdcmPython.
952 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
953 * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
954 GetPubTagNamesByCategory() to gdcmHeader that return a list of the
955 entries within the associated public Dicom dictionary resp. the same
956 information but sorted by the fourth field (PAT, IMG, DIR) of the
958 - Dicts/dicomV3.dic Entries which had and unspecified fourth field
959 are now in the "???" group.
960 - python/gdcm.i changed accordingly,
961 - python/demo/printGroupedPublicDict.py added, that gives an example
962 of the above new functionalities in Python.
964 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
965 * src/gdcm.h, gdcmHeader.cxx:
966 - historic references to glib's g_malloc and g_free (#defined)
967 were definitively removed.
968 - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
969 * src/gdcmElValSet.cxx:
970 - GetElement(guint32, guint32) renamed to GetElementByNumber.
971 - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
972 - GetElValue(string) renamed to GetElValueByName.
973 - Added GetElementByName(string).
974 * src/gdcmHeader.cxx: added
975 - GetPubElValRepByNumber(guint16, guint16)
976 - GetPubElValRepByName(string)
977 - GetShaElValRepByNumber(guint16, guint16)
978 - GetShaElValRepByName(string)
979 - GetShaElValByNumber(guint16, guint16)
980 - GetShaElValRepByName(string)
981 - GetElValRepByNumber(guint16, guint16)
982 - GetElValRepByName(string)
983 - GetElValByNumber(guint16, guint16)
984 - GetElValRepByName(string)
985 * Doc/requirements.txt added.
987 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
988 * Test/Makefile building now depends on the one of libgdcm.so
989 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
990 pixel data) aware which enables finding the address (offset) of
991 the pixel data of JPEG encoded DICOM files. This leaves only a single
992 file in the testSuite whose pixel data address (offset) is unknown.
993 * python/testSuite.py changed accordingly.
995 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
996 * VC++ has some strong limitations when working with the STL, as stated
997 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
998 "Also note that some STL containers (map, set, queue, list, deque)
999 cannot be exported. [...]
1000 Some STL classes contain nested classes. These classes can not
1002 This is caused by a designed limitation that once a template
1003 class is instantiated, it can not be re-instantiated and
1005 Since our usage of map<> is ubiquitous in gdcm, this "designed
1006 limitation" of VC++ is a pitfall.
1007 Hence the Python wrappers of gdcm cannot be incrementally linked
1008 against the c++ dynamic library. The dirty but only workaround is
1009 to forget about incremental link of dynamic libraries and to generate
1010 the Python wrappers library with the inclusions of the underlying C++
1012 The following modifications concern this matter on Win32/VC++:
1013 - wrapping python correct with standalone wrapped dll (don't use separate
1014 dll under windows !!!!)
1015 - python21_d debug mode enabled (ask Frog how to use it :-)
1016 - NO problem with having an STL member of class for example string in C++
1017 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
1018 - Python test of dcmlib in Python is ok under windows on a large set
1020 * removed glib references
1021 * typedef's inserted in gdcm.i for correct swig type management
1023 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1024 * python/demo/*.py load.py extracted from test.py. Added explore.py
1025 that only displays required tags and testAll.py that parses all
1026 the files of the testsuite without using unittest.
1027 * python/testSuite.py other additional test on new files added.
1028 * Data/* new test files added accordingly to the testSuite.
1029 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
1030 the vr in the file differs from the one of the dictionary.
1032 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1033 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
1034 values, but limits itself to values which are below a user specified
1035 size (by default 1024 bytes).
1036 * python/gdcm.i : elements not loaded (because their size is above the
1037 user specified treshold) are exported with their TagKey as key of the
1038 python dictionary. This enables the testsuite to make some checks
1039 on the unloaded elements (since we have their offset and size).
1040 * python/testSuite.py
1041 - now tests for the existence and proper value of the pixel data
1042 - two new examples added.
1043 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
1045 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1046 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
1047 aware. See the strategy comments in gdcmHeader::FindeLength().
1048 * Test/test.cxx now accepts a filename as first argument.
1049 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
1050 * python/testSuite.py changed to integrate test on above files.
1052 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1053 * Dicts/dicomV3.dic removed all the trailing (RET) when the
1054 the vr was also RET.
1055 * python/testSuite.py more tests added.
1057 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1058 * python/testSuite.py unittest test suite added (uses Data)
1059 * Data/* dcm and acr files for the test suite.
1060 * glib dependance removed from un*x version. We now use ISO C99
1061 7.18 Integer types (see stdint.h)
1062 - python/Makefile, src/Makefile src/gdcm.h
1063 * src/ when an explicit vr (like dicom files) suddenly poped an
1064 implicit element we use to mark the underlying DictEntry of the
1065 concerned ElValue with "Implicit". This strategy was damageable
1066 too the public or provite dictionaries, since some of their vr
1067 would be changed. Since Header::FindLength heavily relies on the
1068 detection by Header::FindVR of falsely explicit elements, I
1069 added an extra ImplicitVr member to ElValue (boolean).
1070 The rest of the changes we the necessary adaptations.
1072 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1073 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
1075 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
1077 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1078 * Adaptation for porting to VC++:
1080 o forced to use std namespace (for string to be known)
1081 o all class use __declspec export style on WIN32
1082 - src/gdcmUtil.cxx new Exit method that wraps the exit call
1083 (in stdlib.h on Win32 but in std:: for gcc)
1084 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
1085 variable GDCM_DICT_PATH.
1086 * src/gdcmHeader.cxx verbose comments made discrete.
1088 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1089 * python/gdcm.i: added a typemap that converts a C++ hashing table
1090 to native Python dictionary.
1091 * python/demo/test.py:
1092 - now uses the native dictionary for exploration of gdcmHeader.
1093 - takes an optional filename argument (the file to parse).
1094 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
1095 PubElVals hashing table.
1096 * Dicts/dicomV3.dic removed error prone trailing spaces.
1098 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1099 * Python wrapping process moved away from src/Makefile to
1100 newly created python/Makefile (as well as gdcm.i)
1101 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
1102 * src/gdcmHeader::FindLength only looks for current vr when necessary.
1103 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
1104 from the environement variable GDCM_DICT_PATH (when existing).
1105 * src/gdcmDict::GetTag bug fix.
1107 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1108 * Straightforward temporary fixes for swig to build the python wrappers.
1109 src/Makefile now has a python working entry [by working we mean
1110 that we can import de shadow classes without errors].
1112 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1113 * hashtest.cxx removed (since allready in Test)
1114 * src/gdcmlib.h renamed to src/gdcm.h
1115 * src/dcm.i renamed to src/gdcm.i
1116 * src/Makefile prepared for python wrapping
1118 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1119 * src/gdcmHeader.cxx :
1120 - Parsing of header is now separated from loading of element values
1121 (see gdcmHeader::LoadElements).
1122 - general clean up of hopefully all file access (creation of
1123 ReadInt16 and ReadInt32)
1125 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1126 * src/gdcmHeader.cxx :
1127 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
1129 - SetLgrElem renamed to SetLength
1130 - GetLgrElem renamed to GetLength
1131 - ~gdcmHeader() made virtual to pesky warning messages at compile.
1132 * src/gdcmElValSet.cxx fixed both GetElValue methods
1133 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
1134 due to IdoDude was cleaned out.
1136 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1137 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
1138 concentrates on finding the value representation (when it exists).
1139 RecupLgr now only finds the element value length, and it avoids
1140 returning the unecessary skL (skipped length).
1141 Also, offsetCourant was simply removed (with taille_fich) since
1142 it was redundant with the File position internals (by using
1143 ftell and fseek). This also made skL (see above in RecupLgr) usage
1145 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
1146 on the libido specificities which are handled through class
1148 * Test/implicit_vr.dcm dicom v3 in implicit value representation
1151 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1152 * Truckload of changes. Parsing of header is barely functional
1153 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
1155 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1156 * src/gdcmHeader.cxx many addons of low level methods
1158 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1159 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
1160 and _IdDcmSWAP_LONG.
1162 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1163 * This corresponds to all the changes decided at the meeting of
1164 May 23 2002. Needless to say we are running late...