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