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