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