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