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