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