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