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