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