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