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