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