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