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