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