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