1 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
2 * src/gdcmCommon.h, gdcmDicomDir.cxx, gdcmFile.cxx, gdcmHeaderHelper.h,
3 gdcmParser.cxx, gdcmParser.h : bug fix for the Microsoft .Net compilation
5 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
6 * src/gdcmFile.cxx, gdcmHeader.cxx : bug fix for the msvc compilation
7 * Test/ShowDicom.cxx : bug fix for msvc compilation
8 * vtk/vtkgdcmViewer.cxx : bug fix for msvc compilation
10 2004-05-04 Jean-Pierre Roux
11 * ADD Taking into account the 'Dicom Sequences' leads up to introduce
12 new concepts (and new classes) :
13 a 'gdcmDocument' is composed of a set of Doc Entries, that are
14 - elementary gdcmDocEntries (former gdcmHeaderEntries)
15 - Sequence Doc Entries (gdcmSeqEntries)
16 a Sequence is composed of Items.
17 Each item is a set of Doc Entries (this is recursive)
18 The non uniqueness of the 'Dicom tag' is due to this recursivity
19 (never taken into account)
20 Our unability to add a new 'entry' in the header
21 at the proper location (neither in the H-Table (map or multimap),
22 nor in the Chained List is also due to this recursivity.
23 Don't try, right now, to use/modify/compile these new sources :
25 We just commit all the stuff, 'as is', in order not to loose it.
27 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
28 * vtk/vtkGdcmReader.cxx : bug fix in the setting of file name
30 2004-05-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
31 * vtk/vtkGdcmReader.cxx : bug fix when loading a list of files using the
32 file prefix (SetFilePrefix)
34 2004-05-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
35 * Add a new test: ShowDicom, for now this is just the c++ version of
36 checkRead.sh, later it will be able to compare the image read against a
38 * Replace the DEBUG on the stack with a global entry in cmake interface:
39 GDCM_DEBUG, so you can turn verbosity ON/OFF for debug statement.
41 2004-04-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
42 * Add an example subdir, with a real example on how to read + write a
45 2004-04-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
46 * Doc/gdcmUML.xmi added raw UML class view (umbrello format)
47 * Doc/CMakeLists.txt: the main page is now properly differentiated
48 between the developper and user version.
49 * Doc/doxygen.config.in: dropped search related obsolete flags
50 * src/gdcmParser.h, gdcmHeader.h: doxygenation
52 2004-04-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
53 * DEVELOPPER: added some helpfull comments for compile/test/install
56 2004-04-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
57 * ENH: 1. Remove remp solution of gdcmTests.cxx+ gdcmMain directly in
58 src directory, now generated in the build dir.
59 2. Tests as mentionned smarter
61 4. Add a new method in gdcmDict that return the PubDict by name
62 this is interesting for 3rd party lib like ITK,
63 where we could set the institution name / patient name...
65 * ENH: 1. Now the test suite is working for real
66 2. All binaries are now output in the gdcm-bin directory
67 (this was not true before)
69 2004-04-28 Jean-Pierre Roux
70 * ENH add the provisional gdcmHeader::SQDepthLevel to allow
71 SeQuence indented printing of Dicom Header.
72 * ENH merge methods gdcmParser::Parse and gdcmParser::LoadHeaderEntries
73 into the single gdcmParser::LoadHeaderEntries for efficiency purpose.
74 Computation of SQDepthLevel is now part of gdcmHeader constructor
75 * ENH add self defined param 'new' to PrintHeader to 'show' the SeQuence
76 tree-like structure of a Dicom Header.
77 * FIX Test code cleaning
79 2004-04-25 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
80 * ENH: Adding automatic testing
81 1. Need a DartConfig.cmake to submit to public
82 2. Add a test driver gdcmTest.cxx
83 3. gdcmTestMain, an helper for the main test driver gdcmTest
84 4. Files in Test don't have a main anymore, this becomes interesting
85 when we add more and more tests, thus dsw don't have to load
87 * ENH: Adding a GDCM_DATA_ROOT for testing
88 * ENH: Remove redundancie about GDCM_DICT stuff, now we only need to modify
89 one file instead of seven + some small cleanup
91 2004-04-22 Jean-Pierre Roux
92 * ENH Minor changes to the Print() methods.
93 * ADD gdcmParser::PrintEntryNiceSQ() to allow SQ-indented
94 Header printing. Example given with :
95 > PrintHeader fileName 2 new
96 (SQ based tree-like structure still to be done for the Header ...)
98 2004-04-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
99 * ENH: Some cosmetic clean up for compilation with -W -Wall -Werror
100 1. I have added some unsigned where needed
101 2. Some function parameter not used -> (void)
102 3. In gdcmDicomDir.cxx, add GDCM_DICOMDIR_NONE case
103 4. g++ don't like character '\' in comment
104 5. #define jpeg_create_decompress jCreaDecompress
105 this really need to be fixed
106 6. virtualize destructor of gdcmObject ... leakage
107 7. sscanf(g->first.c_str(),"%x",&gr_bid);
108 this also really need to be fixed
109 8. gdcm/src/jpeg/libijg8/CMakeLists.txt,
110 remove compression file
111 (as we only do decompression, right ?)
112 * ENH: Change malloc/calloc/free with c++ equivalent
114 2004-04-21 Jean-Pierre Roux
115 * FIX gdcmHeaderHelper::GetXSpacing
116 when a single value is found (bug ?), xpacing is now
117 defaulted to yspacing
119 2004-04-19 Jean-Pierre Roux
120 * ADD gdcmData/Wrist.pap (PAPYRUS 3.0 -single frame-) for checking purpose
121 * ENH add parameters :
122 bool exception_on_error = false,
123 bool enable_sequences = false,
124 bool ignore_shadow = false
125 to the gdcmFile constructors to be full gdcmParser compliant
126 * FIX vtk/vtkGdcmReader.cxx now uses enable_sequences = true in gdcmFile
127 to allow reading of PAPYRUS 3.0 files
129 2004-04-06 Jean-Pierre Roux
130 * ADD gdcmData/E00001S03I0015.dcm for SQ checking purpose
132 2004-04-02 Jean-Pierre Roux
133 * ADD : Test/checksequence.sh, for a general recap on SQ pb
134 * FIX : gdcmParser::WriteEntryTagVRLength emprovement of special treatement
135 for Philips spurious Tag fffe|0000 while rewritting Dicom files
137 2004-03-30 Jean-Pierre Roux
138 * FIX gdcmParser::ReplaceOrCreateByNumber shouldn't seg fault any more
139 for ACR file, written out as DICOM files (hope so...)
141 2004-03-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
142 * src/gdcmParser.[cxx|h] and gdcmHeader.[cxx.h]: gdcmHeader::Write split
143 in WriteEntryTagVRLength and WriteEntryValue. Those methods were
144 moved to base class gdcmParser and only the specialisation is kept
146 * src/gdcmParser.[cxx|h]: ReplaceOrCreateByNumber(char*, guint16, guint16)
147 trashed out (because ReplaceOrCreateByNumber(string, guint16, guint16)
148 already does the job.
149 * src/gdcmDicomDir.[cxx|h]: WriteDicomDirEntries renamed to WriteEntries
150 (to be consistent with gdcmParser::WriteEntries).
152 2004-03-30 Benoit Regrain
153 * vtk/vtkGdcmReader.[h|cxx] : fix the read of 3 gdcmHeader when making an
154 upate of the object's instance. It's passed to 2 in the unfavorable
155 case : one in the ExecuteInformation, one in the ExecuteData
157 2004-03-29 Jean-Pierre Roux
158 * ENH : Check on file type to be written moved
159 from gdcmParser::WriteEntry to gdcmParser::WriteEntries
160 * FIX : gdcmObject::ResetBoundaries now stops properly
161 when end-of-list is reached
162 : gdcmVersion modified (as Benoit Regrain asked)
164 2004-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
165 * src/gdcmParser.cxx: removal of all TAB character. Indentation fixed.
166 * src/gdcmUtil.cxx: added forgotten iostream include.
167 * src/gdcmCommon.h: FileType enum entry DICOMDIR removed (since
168 equivalent to ExplicitVR in existing code).
170 2004-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
171 * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmGlobal.[cxx|h]
172 now contains all the gdcmGlobal related code.
173 * minor coding style and doxygenation changes.
175 2004-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
176 * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmDebug.[cxx|h]
177 now contains all the Debug related code.
178 * minor clean-up of includes in src/*.cxx
179 * src/gdcmUtil.[cxx|h] _cleanString C style function (replaced with
180 CreateCleanString) removed.
181 * src/gdcmUtil.[cxx|h] _CreateCleanString renamed to CreateCleanString
182 * Doc/DoxyMainPageUser.txt added.
183 * Doc/Doc/DoxyfileUsers updated to version 1.3.4 of Doxygen.
184 * src/gdcmCommon.h now defines getcwd for Win32 (moved away from
187 2004-03-24 Jean-Pierre Roux
188 * FIX a lot of little surface modifications to be doxygen 1.3.6 compliant
190 2004-03-23 Jean-Pierre Roux
191 * FIX Now gdcmFile::SwapZone doesn't seg faults any longer for
192 big endian made volumes
193 * ENH Now gdcmParser constructor and destructor are protected to forbid
194 end user to instanciate class gdcmParser
195 (only gdcmHeader and gdcmDicomDir are meaningfull)
197 2004-03-22 Benoit Regrain
198 * FIX : src/gdcmDicomDir.cxx : make windows compilable
199 * FIX : gdcmPython/gdcm.i : change gdcmStudy to gdcmDicomDirStudy and
200 gdcmSerie to gdcmDicomDirSerie
202 2004-03-19 Jean-Pierre Roux
203 * ENH Now the tree-like structure describing a DICOMDIR comming from
204 an already existing DICOMDIR file is consistent with
205 the home-made tree-like structure build ex-nihilo
206 or build from the files held (recursively) in a Directory
207 functions gdcmDicomDir::CheckBoundaries()
208 gdcmObject::SetBoundaries() added
210 2004-03-17 Jean-Pierre Roux
211 * REM (Eric Boix bug) : removal of meaningless
212 gdcmDicomDirImage::NewImage function.
213 * FIX now file names and directory name are written properly in the
215 * FIX now gdcmDicomDir constructor may be call without any trick
218 2004-03-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
219 * FIX (JPR bug) : src/gdcmDicomDirImage.cxx added missing definition
220 of gdcmDicomDirImage::NewImage as empty function.
222 2004-02-28 Jean-Pierre Roux
223 * ENH add gdcmDicomDir:NewPatient
224 add gdcmDicomDirPatient:NewStudy
225 add gdcmDicomDirStudy:NewSerie
226 add gdcmDicomDirSerie:NewImage
227 to allow making gdcDicomDir object.
228 * ADD PrintDicomDir executable that uses gdcmDicomDir tree-like structure
229 (as opposite to the gdcmHeader chained list)
231 2004-02-11 Benoit Regrain
232 * FIX : memory leaks and the set of ArgDelete methods in gdcmDicomDir
233 when using from python
235 2004-02-10 Benoit Regrain
236 * FIX : bug fix in the gdcmDirList for the recursivity in directories
237 * FIX : in gdcmDicomDir when the directory is empty
238 * ENH : add callback and methods to get the progression of dicomDir
241 2004-02-06 Jean-Pierre Roux
242 * ENH : - now gdcmDicomDir::CreateDicomDir() returns also the meta elements
243 - GDCM_META added to gdcmDicomDirType
244 - class gdcmMeta created
245 * ENH : - A brief summary is now displayed at the beginning of
246 'testDicomDir' to help disaster magnitude estimation
247 * REM : Now useless Test/explDICOMDIR.cxx
249 2004-02-05 Benoit Regrain
250 * ENH : add methods in gdcmObject to get the hash table or the list of
252 * FIX : wrapping python for ListPatient, ListStudy, ListSerie, ListImage
253 * FIX : wrapping python for TagHeaderEntryHT
255 2004-02-04 Benoit Regrain
256 * FIX : even length for some strings when writting the dicom dir
257 * FIX : sort the images in the dicom dir
258 * FIX : Bug fix for python use of dicom dir
259 * ADD : a python demo
261 2004-02-04 Jean-Pierre Roux
262 * FIX : Final solution (?) for icone embedded images
263 * FIX : dicomVR.dic Overlay group is not *only* 6000, but 60xxx
264 (see http://medical.nema.org/dicom/2003/03_06PU.PDF)
265 add groups 6002, 6004, 6006, to allow 'clean' parsing of
266 gdcmData/gdcm-MR-SIEMENS-16.acr1
267 * ENH add gdcmData/checkWriteExplicit.sh gdcmData/checkWriteImplicit.sh
268 to make full checking easier
270 2004-02-04 Benoit Regrain
271 * FIX : WriteEntries : coding style & logic in parameters
272 * FIX : Set the elements to create the DicomDir in a dictionary file
274 2004-02-03 Benoit Regrain
275 * gdcmDirList : to parse a hard drive directory in recursive (or not)
276 * gdcmDicomDir : add the load of directory
277 * Bug fix and print add-on
279 2004-02-03 Jean-Pierre Roux
280 * ENH gdcmParser : allows "DICM" files, with NO group '0002'
281 * FIX handling 'non string elements' unsecure area (LUT, overlays, etc)
282 * FIX Dicts/dicomV3.dic : Add a few missing 'group length' Elements
283 * FIX gdcmParser.cxx : 'group length' elements are now considered
284 as integers, even for shadow groups, when file is Implicit VR
286 2004-02-02 Jean-Pierre Roux
287 * FIX : gdcmWrite : equal_range() for multimap doesn't return a 'second'
289 of the last synonym :-(
290 * FIX : gdcmWrite::WriteBase : method stops if Pixels not yet Read (except
292 * ENH gdcmData/checkWrite.sh :modif for full check of Explicit VR writting
293 * FIX taking into account the possible 7fe0,0010 multiplicity
294 * FIX add GRPixel,NumPixel,countGrPixel (gdcmParser protected members)
295 to allow removal of references to 7fe0,0010, to deal with
296 ACR-NEMA images, when 0028,0200 is meaningfull
298 2004-01-31 Jean-Pierre Roux
299 * FIX gdcmParser::WriteEntries : when a VR is tagged as 'Unknown'
300 no longer writes 'Un' on disk
301 * FIX SQ elements with actual length are now dealt with corectly
302 * FIX gdcmFile::WriteBase make the difference, for color images, between
303 the length (for Palette expanded images)
304 and Raw Length (non expanded image + Palette)
305 * FIX Dicts/dicomV3.dic : removal of 'CTX' (context dependant) VR
306 (that broke Write). Replaced by UL.
307 Aware user will reload the field if he
308 thinks it's necesssary
310 2004-01-30 Jean-Pierre Roux
311 * gdcmParser::CheckSwap() now defaults the filetype to ACR
312 when 'dirty Acr' is found, to be compliant with the new
313 IsReadable() methods.
315 * gdcmHeaderHelper :add Pixel Type 'FD', for dealing with 'double' images.
316 (no DOUBLE images in kosher DICOM,
317 but so usefull for people that miss them ;-)
319 * add Test/testDicomDir.cxx, Test/makeDicomDir.cxx , Test/explDICOMDIR.cxx
320 DICOMDIR related utilities (not checked as Windoze compliant)
322 2004-01-28 Jean-Pierre Roux
323 * upgrade GdcmHeaderEntry Print Method for DICOMDIR
325 2004-01-27 Jean-Pierre Roux
326 * gdcmParser constructor has a new boolean param,'ignore_shadow',
327 to allow skipping the shadow elements, to save memory space.
328 The TRUE value for this param has to be used
329 with a FALSE value for the 'enable_sequence' param.
330 ('public elements' may be embedded in 'shadow Sequences')
331 * gdcmHeader methods now deal with 'embedded icones images' in the header
332 (even when an 'icone image sequence' is announced by the
333 element (0x0088,0x0200), but there is NO icone at all ...
335 * gdcmHeader sometimes Image Location value doesn't follow
336 the supposed processor endianity (see gdcmData/cr172241.dcm).
339 * gdcmHeader add the method
340 IterHT GetHeaderEntrySameNumber(grPixel,numPixel);
341 to get *all* the Header Entries with the same tag.
342 GetHeaderEntrySameName is probabely *useless*
343 (no meaning : Name is *not* an identifier within the Dictionnary)
345 2004-01-26 Benoit Regrain
346 * Bug fix in the print of hexadecimal representations. Remove long fields
347 in the print and add a third level of print to print them
349 2004-01-23 Benoit Regrain
350 * Bug fix on field having a VR = 'UI'. Assume that is a string field
351 * Bug fix on test suite after remove the strip made on not string fields
352 * Split the IsReadable method between gdcmParser which test that the file
353 is dicom and gdcmHeader which test that it's an image file
355 2004-01-22 Benoit Regrain
356 * DicomDir : clean code, add methods, set variables in protected or private
357 * gdcmUtil : bug fix for the clean string method
359 2004-01-19 Benoit Regrain
360 * Add the use of shadow dictionaries
361 * bug fix and coding style
363 2004-01-19 Benoit Regrain
364 * src/gdcmFile.cxx : bug fix concerning the close of file
365 * src/gdcmParser.[h|cxx] : remove obvious Pub informations
366 * Add the update of header entries using the shadow library
368 2004-01-19 Benoit Regrain
369 * removal of file gdcmHeader2.cxx
370 * split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
371 inheriting from gdcmParser. This split is to prepare the integration
373 * bug fix under python
375 2004-01-16 Jean-Pierre Roux
376 * REM removal of class gdcmHeaderEntrySet
377 * REM removal of files gdcmHeaderEntrySet.cxx, gdcmHeaderEntrySet.h
378 * ADD add file gdcmHeader2.cxx
379 * ADD add method gdcmHeader::SetPrintLevel (for PrintHeader)
381 2004-01-15 Benoit Regrain
382 * src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
383 entries created while parsing the header. Thus, they will be destroyed
384 when the gdcmDictSet will be destroyed
385 * src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
388 2004-01-15 Benoit Regrain
389 * vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
390 made a fatal error because of the memory release at the end of program.
391 The problem was in vtkGdcmReader::ExecuteData where we were allocate
392 some memory and vtk seems to have some problems with that.
393 * src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
395 2004-01-14 Benoit Regrain
396 * src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
397 * src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
398 * src/*.[h|cxx] : make changes due to class name changes
399 * gdcmPython/demo/*.py : bug fix due to method names
401 2004-01-13 Benoit Regrain
402 * src/*.[h|cxx] : coding style
403 * vtk/*.[h|cxx] : coding style
405 2004-01-13 Benoit Regrain
406 * gdcmPython/testSuite.py : test the readable flag of file for tests
407 * src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
408 It's lied to the stl compilation by MSVC (windows, always windows...)
409 * src/gdcmIdo.h, gdcmHeaderIdo.cxx : remove the Ido unused files
411 2004-01-12 Benoit Regrain
412 * src/*.h : add comments
413 * src/gdcmDictSet.h : set the method BuildDictPath in public
414 * src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
415 directly setted in the source code
416 * Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
419 2004-01-09 Benoit Regrain
420 * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
421 * setup.py : use a reference to gdcmVERSION
423 2004-01-07 Benoit Regrain
424 * Modification to compile with the distutils.
427 2003-12-10 Benoit Regrain
428 * gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
429 can use a gdcmHeaderHelper to load datas
430 * gdcmPython/testSuite.py : make the testSuite compliant with modifications
431 made in the source code
433 2003-12-10 Benoit Regrain
434 * Update Windows projects and .cvsignore files
436 2003-11-12 Jean-Pierre Roux
437 * ENH gdcmHeader constructor has one more parameter (default value : false)
438 that allows the user to 'go inside' the SeQuences only
440 gdcmElValSet:Print takes it into account
442 2003-11-12 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
443 * ENH: Update gdcmPython/CMakeLists
444 * FIX: (gdcmHeaderHelper) GetRescale and GetSlope
445 * FIX: (gdcmElValSet) char 'tag' was overiding private members (VC++)
447 2003-11-10 Jean-Pierre Roux
448 * FIX : gdcmHeader::LoadElements is now based
449 on the ListTag listElem member,
450 not longer on the TagElValueHT tagHt member
451 * ENH : PrintPubElVal shows (temporarily) both results,
452 with the tagHt member and the listElem member.
453 (it's easier to 'see' the problems when using Printheader)
455 * FIX : old private member LgrElem is now splitted into
456 ReadLength : Length actually found on disk (updated only
457 if bug fixing is necessary), for internal
459 UsableLength : Updated by FixFoundLength, to fix a bug
460 or to allow Parser going on.
461 Will allow to re-write a kosher header when a SeQuence
462 with a length (not 0000) is found
463 Warning : gdcmFile::Write still uses the TagHt (not ListElem)
464 because gdcmElValSet::Add does not update ListElem
467 2003-11-07 Jean-Pierre Roux
468 * FIX misstyping in Transfert Syntax name table
469 * ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
470 when they have an actual length (not 0000 nor FFFFF)
471 (Nobody should care of it, but DICOMDIR explorers)
473 2003-11-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
474 * ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
476 2003-11-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
477 * ENH: vtkGdcmReader now supports LUT !
478 (vtkgdcmViewer for now is not able to use them though)
480 2003-11-05 Jean-Pierre Roux
481 * in testSuite.py : new files names for checking the package
482 * FIX : Forgot to commit gdcmFile::GetImageDataSizeRaw();
483 that returns the pixel area size to the *aware* (vtk) user
484 that DOESN'T want to turn the PALETTE COLOR image into an RGB image
486 2003-11-05 Benoit Regrain
487 * in testSuite.py : Modify the rules for checking the paths
488 : Explicit error messages
489 * in __init__.py : Related modif
491 2003-11-03 Jean-Pierre Roux
492 * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
493 to be used by aware (vtk) users that want to manage
494 LUT (and no to turn the PALETTE image into an RGB pixels one)
495 * GetPixelType now returns 8U for 24 Bits images
496 (vtkGdcmReader compliant)
498 2003-10-31 Jean-Pierre Roux
499 * Removal of *all* gdcmData images and add them again
500 in order to loose the 'history' of un-anonymised images
502 2003-10-31 Jean-Pierre Roux
503 * RMV : removal of useless jBitsInJsample.h
504 for both 8 and 12 Bits JPEG Lossy Libraries
506 2003-10-31 Jean-Pierre Roux
507 * ENH : Add the functions gdcmFile::GetImageDataRaw
508 gdcmFile::GetImageDataIntoVectorRaw
509 that act as GetImageData and GetImageDataIntoVector
510 except the making of an RGB Plane from Gray Plane + LUT
511 Intended to aware (vtk) users who know how to manage
514 GetLUTRGBA return a R,G,B,A LUT if any
515 lgrTotaleRaw gives the 'Raw' length
516 GetImageDataRaw returns the gray Plane
517 * FIX : no more dirty trick for 'Segmented xxx Palette Color Lookup' images
518 (They stay Grey, just like with other Dicom viewers :-(
520 2003-10-30 Jean-Pierre Roux
521 * FIX : a VC++ intended syntax modif broke the 12/12 Bytes expanding
523 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
524 * ENH: Can be used like this '$vtkgdcmViewer *.dcm' with *.dcm
525 being coherents dicom files.
527 2003-10-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
528 * FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg,
530 * ENH: Turn it into DOS file type to match libgdcmijpeg8.dsp file type
531 * ENH: Two steps is necessary to please VC++ compiler...
532 * FIX: DOH ! libgdcmijpg8 -> libgdcmljpeg
533 * ENH: Add include dir to medcon lib
534 * FIX: only one function is being exported for now !
535 You should use GLOBAL(return type) see ljpg/jpeg.h for more info
537 2003-10-29 Jean-Pierre Roux
538 * adding gdcmHeader::GetLUTRGBA
539 returns a 4 * 256 Bytes Reg/Green/Blue/Alpha vtk compliant LUT
540 --> Mathieu, the modif u're waiting for is not yet committed
541 * removal of now useless GetLUTRed,GetLUTGreen,GetLUTBlue,GetLUTRGB
543 2003-10-27 Jean-Pierre Roux
544 * adding some xmedcon breaker files (courtesy of Loïc Boussel)
545 00191113.dcm DermaColorLossLess.dcm
546 MxTwinLossLess.dcm RadBWLossLess.dcm
547 * ENH: For version prior to vtkImageViewer2 -r 1.19
548 * FIX: avoid pb with xmedcon-breaker CT McTwin Elscint images
550 2003-10-27 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
551 * Removal of ido stuff in CMakeLists.txt
553 2003-10-24 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
554 * ENH: vtkGdcmReader.cxx can now read multiframe dicom
555 * FIX: remove a call to ->Modified ... see comments
556 * FIX: vtkgdcmViewer.cxx was writting ASCII file...this is so slooooow !
558 2003-10-23 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
559 * FIX: Problem with path for libvtkgdcmPython
560 * ENH: Try adding a search script for python site-package
561 * RMV: Remove some file from medcon lib that are not necessary
562 * FIX: gdcm/Makefile.am fix for generating ljpg medcon
563 * ENH: CMakeLists.txt now generate 'pygdcm.so' instead of 'libpygdcm.so'
564 * FIX: More pragma disable fro VC++,
565 I don't think I break something as it is also disable in VTK/ITK.
566 But it fasten debug compilation time.
568 2003-10-23 Jean-Pierre Roux
569 * gdcm now deals with 16 Bits Run Length Encoded images
570 (they are compressed as 2 planes images,
571 one for the high Bytes, the other for low Bytes)
573 2003-10-22 Jean-Pierre Roux
574 * Now CheckRead takes into account :
575 - the bugged 'Leonardo' Siemens images
576 - the XA images, sent thru the burning VPRO station
577 * add I9000001.dcm, a GE dlx XA image, thru the VEPRO burning station
580 2003-10-22 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
581 * FIX: When copying a Makefile.am to CMakeLists.txt
582 one should remove the '\'
584 2003-10-22 Jean-Pierre Roux
585 * in gdcmData adding a bugged 'Leonardo' Siemens image
586 (wrong lengths in header)
587 OK with gdcm, KO with the other viewers :-)
588 * add a GE dlx XA image, thru the VEPRO burning station
591 2003-10-21 Jean-Pierre Roux
592 * in gdcmData add the checkvtkgdcmViewer.sh shell script
593 for a brutal checking of vtkgdcmViewer compliance
595 2003-10-21 Jean-Pierre Roux
596 * add the files for 'xmedcon' Jpeg Lossless library
597 * call of 'xmedcom' Jpeg Lossles libray (instead of the old LibIDO one)
599 2003-10-21 Jean-Pierre Roux
600 * 'Compacted Files' (12 Bits Allocate, 12 Bits Stored) are now dealt with
602 2003-10-21 Jean-Pierre Roux
603 * garbage Siemens 'Leonardo' images dealt with
604 (the patch is easy to remove)
605 * cosmetic changes to avoid warnings
607 2003-10-20 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
608 * ENH: vtkgdcmViewer now autoscale color/window level on start-up,
609 no need to press 'r' now.
611 2003-10-20 Jean-Pierre Roux
612 * upgrade of checkRead.sh checkWrite.sh according
613 to new Jpeg Lossless decompressor
614 * add US.3405.1.dcm, a genuine RGB medical file ...
615 * add gdcm-ACR-LibIDO.acr, unnormalized Rectangular LibIDO format image
616 * add CLIP0001-Sequoia-U11.dcm, US 'Clip', from SEQUOIA machine,
618 2003-10-15 Jean-Pierre Roux
619 * general anonymisation in gdcmData
620 * adding the 'color files' from
621 http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
622 * adding some well knowed bugged-header images
623 * adding checkRead.sk, checkReadColor.sh, checkWrite.sh,
624 waiting for their inclusion in Python testsuite
626 2003-10-15 Jean-Pierre Roux
627 * gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
628 no longer seg faults when file is not found
630 2003-10-14 Jean-Pierre Roux
631 * Emprovement of reading for Dicom encapsulated Jpeg LossLess
634 2003-10-14 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
635 * TODO: *.in file to genereate a UseGDCM later
637 2003-10-14 Jean-Pierre Roux
638 * Some supposed-to-be Dicom Images have no preamble.
639 OpenFile takes it into account
640 * Jpeg LossLess 24 Bits images doesn't break any longer gdcm
641 * Missing elements added in dicomV3.dic
642 (just to be affraid : have a look at
643 ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
644 and do it again next year ;->
646 2003-10-13 Jean-Pierre Roux
647 * According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of
648 a PALETTE COLOR is stored on 2 Bytes, theese 2 Bytes must be equal.
649 But there are NOT. It's fixed !
651 2003-10-13 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
652 * FIX: "jpeglib.h" was not found on VC++
653 * FIX: vtkgdcm was not being installed
655 2003-10-10 Jean-Pierre Roux
656 * ENH : OpenFile closes the file if it *really* doesn't look like
657 an ACR-NEMA / DICOM one.
658 * FIX : testWrite no longer writes an empty file if the source file
660 * ENH : One more JPEG LossLess type "JPEG Baseline (Process 14)"
663 2003-10-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
664 * FIX: CMake generate now documentation
665 * ENH: out of source doc build !
666 * ENH: Generate both user and dev documentation
667 * ENH: Should work on windows too
668 * ENH: Only one doxygen config.in file is needed
669 * FIX: make install should be ok now on ùnix plateform
670 * FIX: PATH to dictionary was wrong (missing /)
671 * ENH: OpenFile, return true if the file looks like an ACR or DICOM file
673 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
674 * vtkGdcmReader is now able to read rgb dicom file.
675 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
676 * added a gdcmViewer to vtk test, use mouse to control
677 window level & window width
679 2003-10-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
680 * CMake-ification of gdcm, we have now two build system
681 * FIX: on cygwin Wsock32 doesn't exist
682 * FIX: force jpeg dir to the local one (gdcm/src/jpeg)
684 2003-10-06 Emanuel Ollart
685 * FIX : compilation process wad broken.
686 Changed gdcmViewer_sources to vtkgdcmViewer_sources
688 2003-10-06 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
689 * change gdcmViewer -> vtkgdcmViewer
690 * change GetXSpacing and GetYSpacing "%f\\%" is parsed backward
692 2003-10-06 Jean-Pierre Roux
693 * FIX :A few nasty patches to allow the reading of a lot of nasty images
694 ( e.g : well known GE images with a wrong elem length,
695 : Philips MRI Images with a wrong Huffman table)
696 * still to be done : allow the reading of bugged LEONARDO Siemens images
698 2003-10-03 Jean-Pierre Roux
699 * Odd length strings are padded with '\0' (not with spaces,
700 to remain compliant with already defined strings,
701 like Transfert Syntax UID and others)
703 2003-10-03 Jean-Pierre Roux
704 * ENH :gdcmHeaderHelper::GetNumberOfScalarComponents() added,
705 to allow displaying RGB images (not only by affim ;-)
707 2003-10-03 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
708 * vtkGdcmReader is now able to read rgb dicom file.
709 * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
711 2003-10-03 Jean-Pierre Roux
712 * A few nasty patches to allow the reading of a lot of nasty images
713 ( e.g : well known GE images with a wrong elem length,
714 : Philips MRI Images with a wrong Huffman table)
715 * still to be done : allow the reading of bugged LEONARDO Siemens images
717 2003-10-03 Jean-Pierre Roux
718 * One more JPEG LossLess type "JPEG Baseline (Process 14)" is now decoded.
720 2003-10-03 Jean-Pierre Roux
721 * gdcmHeaderHelper::GetNumberOfScalarComponents() added,
722 to allow displaying RGB images (not only by affim ;-)
724 2003-10-03 Jean-Pierre Roux
725 * gdcmFile::GetImageDataIntoVector now
726 - deals with MultiFrames MultiFragments Run Length Encoded files
727 - deals with YcBcR (YBR_FULL) files
728 - deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
729 WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT,
733 2003-10-02 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
734 * src/*.cxx removed pragma thingies to src/gdcmCommon.h
735 Two reasons: - clear things
736 - third parties acces gdcm through header files, so won't
737 suffer anymore VC++ complains
739 2003-09-30 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
740 * add argv[1] in testvtkGdcmReader.cxx
743 2003-09-24 Jean-Pierre Roux
744 * The lines are now eigthy characters long.for
745 gdcmHeader.cxx gdcmHeaderHelper.cxx gdcmParse.cxx
747 2003-09-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
748 * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
749 char* to std::string. Thus, the use of strdup becomes useless. (see
750 previous commis of Malaterre)
751 * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
752 before the last Malaterre's commit.
754 2003-09-19 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
755 * This commit should fix the Debug building under VC++, the problem
756 was mainly a mixture of debug and release lib being loaded at startup.
757 * I also remove a depency to a specific C function: strdup. Because I had
758 to force the link to msvcrtd (whereas strdup is in libc).
760 2003-09-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
761 * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
762 located in the gdcmCommon.h file. All use of reference of tha has been
763 changed to now use the variable GDCM_UNFOUND.
765 2003-09-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
767 - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
768 Dicom dictionary. The test suite can now be run again. Note:
769 I'm note very happy with the " (RET)" changes. I believe this
770 RETAINED comment should be dropped when parsing the dictionary.
773 - AUTHORS updated and now in alphabetical order
774 * Makefile.am now exports gdcm.dsw for Windoze users.
776 2003-09-11 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
777 * cygwin complains about missing std:: in subdir Test/
779 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
780 * remove some methods that are now in gdcmHeaderHelper
782 2003-09-10 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
783 * vtkGdcmReader set spacing and origin correctly
785 2003-09-09 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
786 * Fix a few delete/delete[] mismatch
788 2003-09-08 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
789 * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
790 interpretation to data given by gdcmHeader. For instance there are
791 heuristics to get informations (look at different places).
792 * it also include a specific class: gdcmSerieHeaderHelper devoted to
793 sorting DICOM images based on different strategies.
794 * modified Makefiles accordingly.
796 2003-09-05 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
797 * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
798 when building in debug mode
799 * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
800 src/win32/gdcmdll.dsp
801 * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
803 2003-08-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
804 * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks
807 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
808 * src/win32/libgdcmjpeg12.dsp was not dos format
809 * src/win32/libgdcmjpeg12.dsp :
810 libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
811 * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
813 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
814 * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
816 * src/gdcmFile.cxx : bug fix in affectation type
817 * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
818 in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
819 * Modifs of MVSC projects to compile them. Not concerning 2 identic
820 symbols... future problem ?
822 2003-07-29 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
823 * src/win32/libgdcmijpeg12.dsp was missing
824 * modified gdcm.dsw accordingly
826 2003-07-28 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
827 * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
829 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
830 * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
831 commit of JPR (before his hollidays to facilitate our work).
832 * setup.py : bug fix in code. Modifications made while the last commit
833 of JPR. The code hasn't been tested before the commit... it's so
834 useless to make that (for best programmer that is JPR) !!!
836 2003-07-08 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
837 * tagged the current version as Version0_3 (i.e. version 0.3)
839 2003-07-08 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
840 * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
841 * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
842 * *.dsp : modifications to use new libgdcmijpeg8 library
843 * setup.py : bug fix on VTKPATH variable
844 * PACKAGER : adding all concerning windows
846 2003-07-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
847 * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
849 * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
850 * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
851 test suite reported error.
852 * PACKAGER file added (describes what a packager must do when
853 packaging a new release).
854 * MANIFEST.in, now declares jconfig.linux and jconfig.vc
855 * configure.in: upgraded version number to 0.3.0
856 * fixing build of rpm (through rpm -ta):
857 - Doc/Makefile.am exports proper doxygen files
858 - src/jpeg/libijg8/Makefile.am exports the include files.
860 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
861 * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
862 * src/gdcmHeader.h : formatting code
864 2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
865 * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
866 We were obtaining error message from vtk. Now, creation of file list
867 is made in an internal list to prevent this problem.
868 Bug fix when output is empty.
869 Bug fix in update of progress value. Previous commit for this was a bad
871 * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
873 2003-07-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
874 * src/gdcmHeader.h : added method to get the file name
875 * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
876 files. Added method to remove all files on the input
877 Added FIXME comment concerning the bad parsing of header made by
878 ExecuteInformation method (in ExecuteData method)
880 2003-07-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
881 * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
882 when using make instal.
883 * src/gdcmFile.cxx : bug fix under Window after JPR commit
884 RQ : the JPR doesn't appear in the ChangeLog... normal for him
886 2003-07-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
887 * setup.py : adding include dir of jpeg lib to compile all sources
888 * */Win32/*.dsp : JPR fix for windows compilation
890 2003-07-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
891 * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
893 * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
894 * src/win32/gdcmdll.dsp : JPR fix for windows compilation
896 2003-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
897 * setup.py is again effective on un*x (takes into account the
898 addon of the jpeg library)
899 * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
900 * Doc/Doxy* updated (includes above enhancements)
901 * INSTALL now points to web documentation
903 2003-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
904 * src/gdcmHeader.h doesn't make unnecessary reference to
906 * gdcmPython/Makefile.am now avoids calling the wrappers for the
908 * src/gdcm*.[cxx|h] :
909 - to allow compilation with gcc 3.x
910 -- clean up of STL usage (added explicit usage of std::)
911 -- small fixes on exceptions.
912 Note: linking not tested !
913 - clean of doxygen comments to avoid warnings at documentation
915 * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
916 dependent convertion).
918 2003-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
919 * Clean up of previous JPR garbage commit (not even commented in the
921 - Test/Makefile.am removed the reference to unexisting testTS.cxx
922 - moved all jpeg related files from src to src/jpeg/libijg8, with
923 addition/modification of Makefile.am and configure.in.
924 - the testSuite is still brain damage (not guilty).
926 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
927 * WrapVTK.py : modifications to get correctly vtk source files to
929 * vtk/vtkGdcmReader.cxx : modification for an already existing name
930 (FileName -> Filename)
932 2003-06-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
933 * vtk/vtkGdcmReader.[cxx/h]:
934 - UpdateProgress method should now be effective
935 - removed the limitation on having only images loaded (as opposed
937 - when building a stack of images/volume, a lesser number of
938 gdcmHeader and gdcmFile instances should be used (hopefully
939 accelerating things).
940 - when building a stack of images/volumes, files which are not
941 loadable (wrong path-filename, wrong permissions on existing file,
942 or file not parsable by gdcm) are replaced with a black image
943 in the stack (for the caller to notice the problem).
945 2003-06-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
946 * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
948 2003-06-02 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
949 * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
950 between standard library (std) and vtk library (problems are found
951 under Windows... thanks Windows !)
953 2003-05-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
954 * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
956 * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
958 2003-05-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
959 * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
961 2003-05-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
962 * When compiling with distutils (see setup.py) the C++ compiler is
963 called with different flags than the default ones (with automake).
964 In order to fix all those warning, I compiled gdcm with the command
965 make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
966 and went for warning fixes:
967 - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
968 up from unused variables.
969 - vtk/vtkGdcmReader.cxx: potential bug fix.
970 * src/gdcmHeader.h: Doxygen warning cleanup
972 2003-05-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
974 - typemaps correction to take into account the systematic replacement
975 of "using namespace std" with std:: prefix e.g. std::list,
976 std::string... (cf changes of 2003-05-21).
977 - gdcmGlob global variable of type gdcmGlobal (defined in
978 src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
979 exported to Python a as cvar.
980 * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
981 and GetPubDictTagNamesByCategory() as a replacement for deprecated
982 gdcmDictSet.GetPubDictTagNames() and
983 gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
985 * gdcmPython/demo/printGroupedPublicDict.py is operational again,
986 with the above changes.
988 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
989 * setup.py, manifest.in : bug fix under linux
991 2003-05-22 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
992 * Modification of setup.py to compile vtk part too. Then, we have 2
993 wrappers which must work with same distutils. For that, we have a
994 generic distutils in distusiltsWrapping.py ; with :
995 - build_extWrap class to wrap generically all extensions,
996 - ExtensionWrap base class for all wrapping extension that contains
998 - Wrapper interface which wrap sources
999 + In WrapSwig.py we have extension and wrapper for Swig
1000 + In WrapVTK.py we have extension and wrapper for VTK
1001 * MANIFEST.in : modifications to consider vtk directory and new python
1002 files for compilation
1004 2003-05-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
1005 * Added python wrappers of vtkGdcmReader vtk class (see the
1006 source in vtk/vtkGdcmReader.cxx) :
1007 - vtk/Makefile.am now builds a library
1008 - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
1009 python library (as opposed to _gdcm.so wich are the python
1010 wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
1011 (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
1013 - configure.in has an additional flag --enable-vtk that needs
1014 to be set to enable compilation of vtk related code, that is:
1015 + vtk/vtkGdcmReader.so and
1016 + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
1017 + gdcmPython/vtkgdcmPython.so (see above)
1018 - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
1019 be read when compressed or when HighBit + 1 != BitsStored),
1020 - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
1021 the usage of the python wrapper of vtkGdcmReader vtk class.
1022 * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
1023 * src/*.[h] all occurences of stl classes are now prefixed with
1024 std::, and all occurences of "using namespace std;" where removed.
1025 This is to avoid pollution of global namespace in included files.
1026 Apparently vtk does not avoid this pitfall: when using both
1027 gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
1028 collision of various stl members (principally cout...).
1029 * gdcmPython/testSuite.py now cleanly removes temprory generated
1031 * gdcmPython/gdcm.i now declares a typemap for std::string (to
1032 comply with above changes)
1034 2003-05-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1035 * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
1036 * vtk/vtkGdcmReader.cxx now properly inports the image in the
1037 vtk data structure (an image Flip was required).
1038 * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
1039 * cosmetic changes in documentation.
1041 2003-05-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1042 * src/gdcmHeader.cxx: the constructor no longer exits when an
1043 unexisting file is given as argument.
1044 * The subdirectory Data (containing all the images used for the
1045 test suite) is not part of this repository anymore. A new module
1046 containing those images is now available at
1047 :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
1048 with the name gdcmData.
1049 All the python scripts (including the package initialisation file
1050 gdcmPython/__init__.py) were adapated to take this change into
1051 account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
1053 2003-05-5 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1054 * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
1055 inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
1056 demo of the usage of this class.
1057 Compilation of this vtk part is only done when using the --enable-vtk
1058 at configure (or autogen.sh) stage.
1060 2003-04-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1061 * More memory link related corrections and documentation fixes.
1063 - maximum info is obtained with a command of the form:
1064 valgrind --leak-check=yes --leak-resolution=high --num-callers=40
1065 --show-reachable=yes PrintHeader
1066 - the remaining reachable blocks seem to come from the STL
1067 allocation scheme through the usage of map and list. It looks
1068 like this memory cannot be freed but it is not a memory leak
1069 (in fact further invocation to the STL would recollect the
1070 unused memory allthough it cannot explicitely be freed).
1071 * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
1072 of displaying an image parsed with gdcm and displayed with VTK.
1073 Note: some images don't seem to work e.g.
1074 python vtkGdcmDemo.py ../../Data/US-RGB-8-esopecho.dcm
1075 * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
1076 Allthough this weakens the semantics, it is a ditch attempt to
1077 make gdcm more thread friendly.
1079 2003-04-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1080 * Memory link hunt (by using valgrind through the command
1081 valgrind --show-reachable=yes --leak-check=yes PrintHeader).
1082 - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
1083 gdcmHeader::_dicom_vr.
1084 - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
1085 - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
1087 - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
1089 2003-04-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1090 * src/Makefile.am now exports all the necessary include files at
1094 * UpdateGroupLength replaced by new one
1097 * UpdateGroupLength re-written using H-Table
1098 (named UpdateGroupLengthNew untill checks are over)
1100 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1101 * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
1102 * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
1104 - gdcmHeader::GetPubElValSet removed.
1105 - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
1106 UpdateGroupLength, WriteElements, Write.
1107 - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
1108 doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
1109 carried the same semantics.
1110 - src/gdcmHeaderIdo.cxx changed accordingly.
1111 - gdcmFile::WriteBase now regroups all the codes from previous
1112 versions of WriteDcm, WriteDcmImplVR, and WriteACR.
1113 - enum FileType moved to gdcmCommon.h
1114 * src/gdcmHeader.cxx AddDefault trashed
1115 * gdcmGetXSize added
1116 * getimageDataSize now calls gdcmGetXSize
1117 * Test/*.cxx changed to agree with above changes
1119 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1120 * src/gdcmHeader.h: LoadElements() is not a public method anymore
1121 (to avoid double call by end user).
1122 * Test/*.cxx LoadElements() doesn't need to be called explicitely
1123 by end user, since gdcmHeader::gdcmHeader now handles it.
1125 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1126 * gdcm/Doc many doxygen changes:
1127 - Doxyfile now has two different versions, DoxyfileUsers that generates
1128 the html.users end users oriented documentation and
1129 DoxyfileDeveloppers that generates the html.developper developper
1130 oriented documentation.
1131 - README changed accordingly
1132 - requirement.txt removed (old design info moved to TODO).
1133 - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
1134 DoxyMainPage.txt, DoxyPython.txt provide more information.
1135 - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
1136 be updated by simply regenerating the docs with doxygen and copying
1137 html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
1138 * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
1139 all the tests in the form "if (<map>.count() >1)" were removed.
1140 * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
1141 ill-formed documentation sections.
1142 * src/gdcmHeader.cxx: ditto
1144 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1145 * setup.py fixed for un*x (needed macro for stdint.h)
1146 * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
1147 un*ces with sh-utils test utility.
1148 * gdcmPython/demo/test.py renamed to PrintHeader.py
1149 * gdcmPython/demo/ReorganiseFiles.py new demo script added.
1150 * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
1151 * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
1152 * src/gdcm*.cxx JPR's bad inclusion fixed.
1154 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1155 * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
1156 * gdcmPython/demo/test.py changed accordingly.
1158 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1159 * gdcmPython/Makefile.am fixed linking against libstdc++
1160 * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
1161 * Swig subdir (historical tests of swig version 1.3.17++) removed
1162 * Test/testChangeEntete.cxx some lines commented out in order to make
1164 * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
1165 * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
1167 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1168 * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
1169 hence the user doesn't need this explicit call.
1170 - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
1171 i.e. LoadElements() call removed.
1172 * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
1173 - src/Makefile.am declares the proper flag for g++.
1174 * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
1175 for adding user defined new tags.
1176 - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
1177 - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
1178 cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
1180 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
1181 * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
1182 Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
1183 src/Makefile.am : the project should properly compile and install
1184 with the autotools, included the python wrappers part.
1185 * gdcm.spec.in : added a spec file for RPM packaging.
1187 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1188 * src/gdcmUtils.cxx : redifinition of defaults parameters in code
1190 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1191 * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
1192 to exported to the environement (see gdcmPython/testSuite.py
1194 * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
1195 gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
1196 ElValue class renamed to gdcmElValue for obvious consistency reasons.
1197 * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
1198 moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
1200 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1201 * gdcmPython/__init__.py doesn't crash anymore when running in
1202 in InstallMode or PreInstallMode but with an environement given
1203 value of GDCM_DICT_PATH.
1204 * src/gdcmDictSet.[cxx/h] coding style.
1206 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1207 * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
1208 * src/gdcm.h general comments moved to TODO, and README
1209 * src/gdcm.h should now be seen as a user commodity (including it
1210 should suffice to fully use gdcm). It is nowhere including within
1211 any of the kernel files src/*.cxx and src/*.h.
1213 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1214 * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
1215 gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
1217 * src/gdcm*.cxx only include their corresponding include file
1218 (as opposed to gdcm.h)
1219 * gdcmPython/gdcm.i changed accordingly
1220 * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
1221 the autogen.sh generated "make snapshot" command to work.
1222 * autogen.sh removed history related references to crea package.
1224 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1225 * distutilsSwigCPlusPlus.py work around some swig portability
1228 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1229 * Eventually, python/gdcmPython was renamed to gdcmPython. This
1230 was done in a last ditch attempt to get setup.py _really_
1231 operationnal. The python/gdcmPython layaout add the advantage
1232 of hidding away the python related distutils specific files
1233 (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
1234 Alas, the src directory was out of scope (i.e. it's relative
1235 position to setup.py was ../src) which made things impossible to
1236 handle (see previous version of python/setup.py). Crossing fingers...
1238 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1239 * python/setup.py now works on Un*x. (harder than I thougth)
1240 * python/distutilsSwigCPlusPlus.py can now have include files
1241 among the list of sources.
1243 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1244 * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
1245 * modifications in MSVC projects
1247 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1248 * As stated by the first lines of Test/ExceptionAndPython/README, it
1249 looks like we can move back to original usage of exception within
1250 src/gdcm* and hence remove the errno stuff that was introduced
1251 as a quick and dirty fixture of this problem (added to the TODO).
1252 * Doc/Doxyfile configuration file for Doxygen and corresponding
1253 README file for usage added.
1254 * Test/testWrite.cxx added. This new test comes from a split of
1255 test.cxx that is now reverted to its original purpous i.e.
1256 testing the proper parsing of a Dicom related file.
1257 testWrite.cxx concentrates on testing the IO part of gdcm.
1258 * Test/bug1.cxx (containing a bug on WIn32) added.
1259 * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
1260 - gdcmHeader::GetPubTagNames and gdcmHeader::GetPubTagNamesByCategory
1261 whose purpose is to publish the content of the TagNames of the
1262 Dicom public dictionnary were not accessible without an
1263 instance of class gdcmHeader.
1264 - those methods are now static methods of gdcmDictSet and hence
1265 require no instances at all to be invocated.
1266 - within gdcmDictSet this change required to change some method
1267 to class methods (i.e. are now static) among which SetDictPath
1268 (renamed to BuildDictPath) and LoadDefaultPubDict.
1269 * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
1270 the above changes by calling the new method classes of gdcmDictSet.
1271 * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
1272 the above to be effective.
1273 * python/gdcmPython: in order to wrap properly the above changes
1274 for Python, swig version now needs to be > 1.3.17.
1275 * python/gdcmPython/Makefile fixed to adapt itself to new
1276 configure/make shema introduced by Johan Montagnat (thanks for the
1277 contribution). Alas this Makefile cannot be turned into a proper
1278 Makefile.am without some heavy changes in the configure.in
1279 (for python dectection).
1280 * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
1281 now avoids publishing the empty entries.
1283 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1284 * python/setup.py : bug fix concerning install under windows
1285 ExtraPath reused :-P
1286 * gdcm.dsw : bug fix concerning path for libraries for python !!!
1288 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1289 * Dicts/dicomV3.dic : remove double spaces !!!
1290 * src/gdcmElValSet.cxx : bug fix concerning windows compiler
1291 * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
1294 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1295 * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
1296 method. Doxygenation.
1297 * src/gdcm.h clean up of JPR spurious comments.
1299 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1300 * python/distutilsSwigCPlusPlus.py now properly collects the
1301 shadow classes generated by "swig -c++" (gdcm.py in our case)
1302 when using "python setup.py install".
1303 * python/gdcmPython/__init__.py imports gdcm.py and only manually
1304 reexports the working classes.
1305 * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
1306 by the classical C errno scheme. This is to prevent an obscure
1307 behavior of the python wrappers when importing wxPython.wx prior
1308 to gdcmPython (which ended up in an abort call). An illustration
1309 of this oddity can be found in the Test/ExceptionAndPython
1310 subdir (see the README file). This problem probably due to
1311 an combination of g++ and dynamic loading.
1312 * added Test/ExceptionAndPython (see above)
1314 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1315 * Changed the layout of the python part to avoid bloating main
1316 directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
1317 i.e. the distutils arsenal. All the python related stuff is
1318 again in a python subdir, but the package itself is now in
1320 * setup.py was cleaned up:
1321 - pythonIncludePath removed
1322 - python setup.py bdist target is now functional.
1323 * gdcmPython/__init__.py doesn't export FileName any more (to avoid
1324 collision with other packages). gdcmPython/demo/*.py changed
1327 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1328 * python subdir moved to gdcmPython (preparation of distutils packaging).
1329 * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
1330 distutils installer is operational.
1331 * - gdcmPython/__init__.py now properly loads the swig generated
1332 shadow classes (from gdcm.py).
1333 - gdcmPython/demo/*.py changed to import the package gdcmPython
1334 instead of gdcmPython/demo/load.py.
1335 - gdcmPython/testSuite.py changed to import the package gdcmPython.
1337 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1338 * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
1339 GetPubTagNamesByCategory() to gdcmHeader that return a list of the
1340 entries within the associated public Dicom dictionary resp. the same
1341 information but sorted by the fourth field (PAT, IMG, DIR) of the
1343 - Dicts/dicomV3.dic Entries which had and unspecified fourth field
1344 are now in the "???" group.
1345 - python/gdcm.i changed accordingly,
1346 - python/demo/printGroupedPublicDict.py added, that gives an example
1347 of the above new functionalities in Python.
1349 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1350 * src/gdcm.h, gdcmHeader.cxx:
1351 - historic references to glib's g_malloc and g_free (#defined)
1352 were definitively removed.
1353 - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
1354 * src/gdcmElValSet.cxx:
1355 - GetElement(guint32, guint32) renamed to GetElementByNumber.
1356 - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
1357 - GetElValue(string) renamed to GetElValueByName.
1358 - Added GetElementByName(string).
1359 * src/gdcmHeader.cxx: added
1360 - GetPubElValRepByNumber(guint16, guint16)
1361 - GetPubElValRepByName(string)
1362 - GetShaElValRepByNumber(guint16, guint16)
1363 - GetShaElValRepByName(string)
1364 - GetShaElValByNumber(guint16, guint16)
1365 - GetShaElValRepByName(string)
1366 - GetElValRepByNumber(guint16, guint16)
1367 - GetElValRepByName(string)
1368 - GetElValByNumber(guint16, guint16)
1369 - GetElValRepByName(string)
1370 * Doc/requirements.txt added.
1372 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1373 * Test/Makefile building now depends on the one of libgdcm.so
1374 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
1375 pixel data) aware which enables finding the address (offset) of
1376 the pixel data of JPEG encoded DICOM files. This leaves only a single
1377 file in the testSuite whose pixel data address (offset) is unknown.
1378 * python/testSuite.py changed accordingly.
1380 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
1381 * VC++ has some strong limitations when working with the STL, as stated
1382 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
1383 "Also note that some STL containers (map, set, queue, list, deque)
1384 cannot be exported. [...]
1385 Some STL classes contain nested classes. These classes can not
1387 This is caused by a designed limitation that once a template
1388 class is instantiated, it can not be re-instantiated and
1390 Since our usage of map<> is ubiquitous in gdcm, this "designed
1391 limitation" of VC++ is a pitfall.
1392 Hence the Python wrappers of gdcm cannot be incrementally linked
1393 against the c++ dynamic library. The dirty but only workaround is
1394 to forget about incremental link of dynamic libraries and to generate
1395 the Python wrappers library with the inclusions of the underlying C++
1397 The following modifications concern this matter on Win32/VC++:
1398 - wrapping python correct with standalone wrapped dll (don't use separate
1399 dll under windows !!!!)
1400 - python21_d debug mode enabled (ask Frog how to use it :-)
1401 - NO problem with having an STL member of class for example string in C++
1402 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
1403 - Python test of dcmlib in Python is ok under windows on a large set
1405 * removed glib references
1406 * typedef's inserted in gdcm.i for correct swig type management
1408 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1409 * python/demo/*.py load.py extracted from test.py. Added explore.py
1410 that only displays required tags and testAll.py that parses all
1411 the files of the testsuite without using unittest.
1412 * python/testSuite.py other additional test on new files added.
1413 * Data/* new test files added accordingly to the testSuite.
1414 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
1415 the vr in the file differs from the one of the dictionary.
1417 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1418 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
1419 values, but limits itself to values which are below a user specified
1420 size (by default 1024 bytes).
1421 * python/gdcm.i : elements not loaded (because their size is above the
1422 user specified treshold) are exported with their TagKey as key of the
1423 python dictionary. This enables the testsuite to make some checks
1424 on the unloaded elements (since we have their offset and size).
1425 * python/testSuite.py
1426 - now tests for the existence and proper value of the pixel data
1427 - two new examples added.
1428 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
1430 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1431 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
1432 aware. See the strategy comments in gdcmHeader::FindeLength().
1433 * Test/test.cxx now accepts a filename as first argument.
1434 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
1435 * python/testSuite.py changed to integrate test on above files.
1437 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1438 * Dicts/dicomV3.dic removed all the trailing (RET) when the
1439 the vr was also RET.
1440 * python/testSuite.py more tests added.
1442 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1443 * python/testSuite.py unittest test suite added (uses Data)
1444 * Data/* dcm and acr files for the test suite.
1445 * glib dependance removed from un*x version. We now use ISO C99
1446 7.18 Integer types (see stdint.h)
1447 - python/Makefile, src/Makefile src/gdcm.h
1448 * src/ when an explicit vr (like dicom files) suddenly poped an
1449 implicit element we use to mark the underlying DictEntry of the
1450 concerned ElValue with "Implicit". This strategy was damageable
1451 too the public or provite dictionaries, since some of their vr
1452 would be changed. Since Header::FindLength heavily relies on the
1453 detection by Header::FindVR of falsely explicit elements, I
1454 added an extra ImplicitVr member to ElValue (boolean).
1455 The rest of the changes we the necessary adaptations.
1457 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1458 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
1460 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
1462 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1463 * Adaptation for porting to VC++:
1465 o forced to use std namespace (for string to be known)
1466 o all class use __declspec export style on WIN32
1467 - src/gdcmUtil.cxx new Exit method that wraps the exit call
1468 (in stdlib.h on Win32 but in std:: for gcc)
1469 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
1470 variable GDCM_DICT_PATH.
1471 * src/gdcmHeader.cxx verbose comments made discrete.
1473 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1474 * python/gdcm.i: added a typemap that converts a C++ hashing table
1475 to native Python dictionary.
1476 * python/demo/test.py:
1477 - now uses the native dictionary for exploration of gdcmHeader.
1478 - takes an optional filename argument (the file to parse).
1479 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
1480 PubElVals hashing table.
1481 * Dicts/dicomV3.dic removed error prone trailing spaces.
1483 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1484 * Python wrapping process moved away from src/Makefile to
1485 newly created python/Makefile (as well as gdcm.i)
1486 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
1487 * src/gdcmHeader::FindLength only looks for current vr when necessary.
1488 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
1489 from the environement variable GDCM_DICT_PATH (when existing).
1490 * src/gdcmDict::GetTag bug fix.
1492 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1493 * Straightforward temporary fixes for swig to build the python wrappers.
1494 src/Makefile now has a python working entry [by working we mean
1495 that we can import de shadow classes without errors].
1497 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1498 * hashtest.cxx removed (since allready in Test)
1499 * src/gdcmlib.h renamed to src/gdcm.h
1500 * src/dcm.i renamed to src/gdcm.i
1501 * src/Makefile prepared for python wrapping
1503 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1504 * src/gdcmHeader.cxx :
1505 - Parsing of header is now separated from loading of element values
1506 (see gdcmHeader::LoadElements).
1507 - general clean up of hopefully all file access (creation of
1508 ReadInt16 and ReadInt32)
1510 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1511 * src/gdcmHeader.cxx :
1512 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
1514 - SetLgrElem renamed to SetLength
1515 - GetLgrElem renamed to GetLength
1516 - ~gdcmHeader() made virtual to pesky warning messages at compile.
1517 * src/gdcmElValSet.cxx fixed both GetElValue methods
1518 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
1519 due to IdoDude was cleaned out.
1521 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1522 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
1523 concentrates on finding the value representation (when it exists).
1524 RecupLgr now only finds the element value length, and it avoids
1525 returning the unecessary skL (skipped length).
1526 Also, offsetCourant was simply removed (with taille_fich) since
1527 it was redundant with the File position internals (by using
1528 ftell and fseek). This also made skL (see above in RecupLgr) usage
1530 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
1531 on the libido specificities which are handled through class
1533 * Test/implicit_vr.dcm dicom v3 in implicit value representation
1536 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1537 * Truckload of changes. Parsing of header is barely functional
1538 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
1540 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1541 * src/gdcmHeader.cxx many addons of low level methods
1543 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1544 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
1545 and _IdDcmSWAP_LONG.
1547 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1548 * This corresponds to all the changes decided at the meeting of
1549 May 23 2002. Needless to say we are running late...