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