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