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