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