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