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