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