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