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