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