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