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