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