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